I have a simple macro that runs a database backup script via the command line.
I've compiled the macro to run it on another machine.
Everything works fine with the macro itself, but it does not terminate.
I inserted an "Exit" command at the end of the macro and re-compiled. The macro still will only terminate when I manually press Shift-Esc.
Suggestions welcome!
[Update on this. I figured it out. The last line was waiting for a process to complete that had already completed. Removed that and the process terminates on its own.]
Compiled macro will not end
Moderators: JRL, Dorian (MJT support)
Compiled macro will not end
Last edited by montanan on Fri Sep 21, 2007 10:48 pm, edited 1 time in total.
Do have a line like:
Let>RP_WAIT=1
If yes the macro will not terminate until the database backup script terminates, If the backup script runs inside Access for example, the macro may not terminate until Access is terminated.
"I inserted an "Exit" command at the end of the macro"
What do you mean by "an 'exit' command"?
Let>RP_WAIT=1
If yes the macro will not terminate until the database backup script terminates, If the backup script runs inside Access for example, the macro may not terminate until Access is terminated.
"I inserted an "Exit" command at the end of the macro"
What do you mean by "an 'exit' command"?