Print Page | Close Window

ImportToTempDatabase.mdb (intermediate)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
Printed Date: 26 Sep 2020 at 4:56pm
Software Version: Web Wiz Forums 12.03 -

Topic: ImportToTempDatabase.mdb (intermediate)
Posted By: Roger Carlson
Subject: ImportToTempDatabase.mdb (intermediate)
Date Posted: 01 Aug 2008 at 3:03am

Please consider donating $1 per sample downloaded, - find out why here .


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.
Access 97 (240 KB): - uploads/5/
Access 2000 DAO (229 KB): - uploads/5/

Consider donating $1 per sample downloaded," rel="nofollow - find out why here .<

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 -
Copyright ©2001-2019 Web Wiz Ltd. -