I've created a .bat file to open an MS Access database.....
C:
CD\Program Files\Microsoft Office\Office
Msaccess.exe C:\MMG\ORLCBS11\libinfo_viewer.mdb
But I was wondering if it was possible to open the database and specify a macro to run on startup so to speak i.e. can I pass some sort of parameter that holds the name of a macro which will run when the database is opened?
C:
CD\Program Files\Microsoft Office\Office
Msaccess.exe C:\MMG\ORLCBS11\libinfo_viewer.mdb
But I was wondering if it was possible to open the database and specify a macro to run on startup so to speak i.e. can I pass some sort of parameter that holds the name of a macro which will run when the database is opened?