Dear members of the board,
Helen Feddema discusses in her Access Archon Column #63 the programmatic creation of the required links to linked tables at the opening of a database. Now I wonder…
Instead of linking them in code one by one, why not use a table with source data info and loop through its records instead:
e.g. tsysSourceData =
TableName +
Description (could be added as property while linking) +
Format +
Database file +
Fields for further description +
Fields storing values for the parameters used in the code.
Optional: subfolder and/or full path field in case one would like to store the data sources in more than one subfolder and/or other locations.
As such you have less code (and more universal if combined with the table), you can use the table to describe/document the source data inside the application and it might (?) be more easily managable. On the other hand, their occurs maybe a minor slow-down…
Could you agree, or do you see other reasons why better (not) doing so?