VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Find linked tables in other Access mdbs

Andy_in_nc  (1 Submission)   Databases/Data Access/DAO/ADO   Intermediate   Wed 3rd February 2021

This is an Access mdb (in Access 2000 format) that searches a directory path for all mdbs with linked tables.
There is a two-step process:

1) After selecting the search path, the code searches through all subdirectories building a collection of found mdbs.

2) The collection of found files is opened and each table in the mdb's TableDef collection (yes, this uses DAO, not ADO) is checked for the Connect property. If a value is found, it is added to the list box.
In the event there is an error (the mdb cannot be opened, the version is incompatible, etc), the error is noted and the file can be checked later.

Inputs
NA

Assumes
This applet only looks for linked tables; it does not change the links. Additionally, this searches for hard links only, not search through any links made in the code.

Returns
NA

Side Effects
None that are obvious.

API Declarations
NA

Rate Find linked tables in other Access mdbs (2(2 Vote))

Download Find linked tables in other Access mdbs

Find linked tables in other Access mdbs Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters