N
nh
I am building a process which will ultimately be done in SQL server, but I
am prototyping in Access..
I have a load of tables and a series of action queries which import dats,
manipulate it and the output it.
qry1 - Transfer data into new table
qry2 - Delete old rows
qry3 - Remove commas
qry4 - Add brackets
qry.......
I have writtten a module which runs a them all one after another, but the
problem is that every time I cerate a new query in the process, I have to
add another line to the code to run the new query...
Can someone tell me how to write some code which systematically runs all of
the queries in the database in alphabetical order.. (this would also be
useful for so many other tasks..)
I know there is a system table which hold this information, but I have no
idea how to get a list of queries, and loop through it running each one as
it goes...
Can someone help me?
Thank you
Nick
am prototyping in Access..
I have a load of tables and a series of action queries which import dats,
manipulate it and the output it.
qry1 - Transfer data into new table
qry2 - Delete old rows
qry3 - Remove commas
qry4 - Add brackets
qry.......
I have writtten a module which runs a them all one after another, but the
problem is that every time I cerate a new query in the process, I have to
add another line to the code to run the new query...
Can someone tell me how to write some code which systematically runs all of
the queries in the database in alphabetical order.. (this would also be
useful for so many other tasks..)
I know there is a system table which hold this information, but I have no
idea how to get a list of queries, and loop through it running each one as
it goes...
Can someone help me?
Thank you
Nick