I’m a newbie and needed assistance with creating a function (or module) to run Access queries in a specified order. The queries are built to automatically create their own tables, so there is no need to specify output location or work with the queries in any other way. I’d like to be able to do two things:
1) Have the function (or module) run each query from my database (adhocjobs.mdb)*.
Examples of query name & order:
Telephone_number
Email_address
Spouse_info
2) Add this function/module in other databases by copying & pasting it’s code into other dbases--to run independently on each database. (could you give instructions on how to do this?)
I've reviewed a few threads that are related to this, but am not sure how to customize/extact code for my situation. Thank you for any assistance you can lend. So far the threads I've found on this site is a great resource and I greatly appreciate your input.
*NOTES/ADDITIONAL INFO:
I’ve never written a function (or module) before, but don't mind trying if you can give me pointers
Currently running Microsoft Office Professional Plus 2010
If you need it, there is a unique identifier in each table: Dnr_ID;
Database & query environment is an ODBC type where we link to tables & run queries
1) Have the function (or module) run each query from my database (adhocjobs.mdb)*.
Examples of query name & order:
Telephone_number
Email_address
Spouse_info
2) Add this function/module in other databases by copying & pasting it’s code into other dbases--to run independently on each database. (could you give instructions on how to do this?)
I've reviewed a few threads that are related to this, but am not sure how to customize/extact code for my situation. Thank you for any assistance you can lend. So far the threads I've found on this site is a great resource and I greatly appreciate your input.
*NOTES/ADDITIONAL INFO:
I’ve never written a function (or module) before, but don't mind trying if you can give me pointers
Currently running Microsoft Office Professional Plus 2010
If you need it, there is a unique identifier in each table: Dnr_ID;
Database & query environment is an ODBC type where we link to tables & run queries