Temporary data storage

L

LucB

When my application
- starts up, the paths to all linked backend databases are checked/renewed;
- shuts down, all linked backend databases are compacted.

Assuming I don't want to lookup the paths again at shutdown, which is the
more efficient way to preserve the path strings between startup and
shutdown:
- storage in a globally declared public array;
- storage in a temporary table (TableDef created in VBA);
- output to a temporary .txt-file?

I was thinking 'efficient' both in terms of memory usage and speed, but
other considerations welcome.
 
A

Allen Browne

The simplest way to get the linked path of an Access (Jet) table would be:
Mid(CurrentDb().TableDefs("Table1").Connect, 11)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top