Automating Access from VB and synchronizing

M

Mike

Does anyone know if DoCmd.OpenQuery, DoCmd.RunMacro and DoCmd.RunSQL return
to the calling program (VB6) after completion or do they run asynchronously?

I've inherited a project which uses late binding to automate Access from
VB6. Problem is that a certain routine always worked on a slow PC, worked
intermittently on a faster PC and doesn't work on my PC ... However, if I
step through the debugger, it does work - leading me to believe it's a time
issue involving one or more of the above calls.

TIA,
Mike
 

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