Macros that conmntain runapp and it's a command prompt executing batch files

  • Thread starter Thread starter Gary J. Dikkema
  • Start date Start date
G

Gary J. Dikkema

It seems that the command prompt runs along BUT the rest of the macro keeps
executing rather than waiting on the command prompt to finish.

Is there a way to force the command prompt to finish before the rest of the
macro executes?
 
No, Gary, this is not possible.

If the maximum amount of time for the batch file to run is predictable,
you could fudge it by using a form's Timer event to run the remainder of
the macro actions.
 
That's what I thought... had these quirky things 'sometimes happen' and the
base data was always there and nothing had failed.

Finally figured out why! <VBG> I'm a little slow at times. <VBG>

So I shuffled the 'stuff' around inside the macro so that runapps are the
LAST to execute.

That ought to fix it!

Thanks!
 
Back
Top