I have a macro that is running a series of queries to append order information to an archive table. Since the order info is held in 3 one-to-many tables (Order, Line, Lot), they MUST run in sequence or else there will be a key violation. In other words, the Order must be written to the order table so that the line information can be written to the line table, etc...
Is there a way to create conditions in my macro, so that it will wait to run a query until the previous query is finished? I would greatly prefer this to not involve any user prompts.
Thanks in advance!
Is there a way to create conditions in my macro, so that it will wait to run a query until the previous query is finished? I would greatly prefer this to not involve any user prompts.
Thanks in advance!