|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using ADO to duplicate records.I need to know the best way to code using vba to read a few records from an
Sql database(one table), modify these records then add them as new records to the same table. Thanks, If VBA supports accessing a database, then you can read the records from the
table into a record set and then iterate over the record set and make your changes. Finally, you can then insert each of these records into the table again. There are 100's of examples of using ADO and RecordSet that you can search for. -- Show quoteHTH, SriSamp Email: sris***@gmail.com Blog: http://blogs.sqlxml.org/srinivassampath URL: http://www32.brinkster.com/srisamp "iftbill" <u17341@uwe> wrote in message news:59ee1038a99ec@uwe... >I need to know the best way to code using vba to read a few records from an > Sql database(one table), modify these records then add them as new records > to > the same table. > > Thanks, |
|||||||||||||||||||||||