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

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?
 
S

Steve Schapel

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.
 
G

Gary J. Dikkema

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top