I created an MS Access Database that consists of about 25 ODBC Database Links that are connected to one table on each of these databases. Each of these tables have the same structure, but different data. Then, I Union these tables with a query so that I can have all the data available in one view.
The problem that I'm having, is that every time I try to use the query from a reporting software (Crystal Reports), I have to manually connect to all 25 databases, which is very tedious.
I made a VBA connection Script that connects to each of the databases using its log information, however I don't know how to trigger this code from an event like Opening the Query or something like that.
Any ideas?