ImportToTempDatabase.mdb (intermediate)

Please consider donating $1 per sample downloaded, find out why here
Download
ImportToTempDatabase.zip
Access 97 (240 KB)

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.

 

Feedback

 

Need Winzip?

Return to Main Page