VB6 Change all records in specific table
- From: "Josh" <hype8912@xxxxxxxxx>
- Date: 6 Jan 2007 22:47:06 -0800
I am pretty good with VB, but I don't understand how to use databases
with VB yet. I prefer to use VB6 over 2003 or 2005 because I don't have
to worry about the bloated permissions.
I am trying to access an MS Access 97 database called "DB.mdb" with
multiple tables in it. In the "Links" table, field called "Type" I need
to change all the "T"s to "R"s. This field only contains one letter at
all times. There are over 300 thousand records in this table.
I usually do the replacement of the Ts to Rs manually but I would like
to programmatically do this from a single script.
I have a System DSN connection already setup called "DBConn" pointing
to the access database.
The user name is "admin" and the password is "db0102"
How do I setup a connection in VB6 to use the DSN connection already
setup to change all the records in the specific table field? I would to
prefer to see code as thats how I've learned anything so far.
Any books or links would be useful too.
.
- Follow-Ups:
- Re: VB6 Change all records in specific table
- From: Douglas J. Steele
- Re: VB6 Change all records in specific table
- Prev by Date: VB6 Modify MS Access 2003 Field Names
- Next by Date: Re: VB6 Change all records in specific table
- Previous by thread: VB6 Modify MS Access 2003 Field Names
- Next by thread: Re: VB6 Change all records in specific table
- Index(es):
Relevant Pages
|