Detect if linked table is available
I am working with an external vendor that provides a "window" into their DB2 mainframe that is updated nightly. I have a gazillion automated reports that need to run as soon as that window is updated. Currently, they maintain a table that holds information on when each table was last updated, but they want to get rid of it. Instead they propose to make the "window" tables temporarily unavailable while they are being updated each night. Then they will be available as soon as the update is complete. They suggest that we just check to see if the tables are available and kick off the reports as soon as they are. We currently link to the tables via ODBC. Can someone please provide some sample code to check to see if a linked table is available? VBA is perfectly fine, but I'm currently limited to Access/VBA in Access.
Thanks!!
Grant
|