ImportToTempDatabase.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 01 Aug 2008 at 3:03am |
Please consider donating $1 per sample downloaded, find out why here.
ImportToTempDatabase.mdb This illustrates how to programmatically create a database to hold a temp table for updating. You would want to do this if database bloat is a problem.
Opening "Form1" creates the remote database, copies an empty table to the remote database and re-links the remote table back to the database. The Import button imports the text file into the remote database table. Then there are two Update subroutines. The first uses the Find method and the second uses Seek. They both do the same thing, but there is a performance difference. Closing the database deletes the linked table and erases the remote database from the hard drive. |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |