Delay the Call method.

L

Lamar

I want to use the Call method to run a Sub Statement on form when it opens.
The problem is if I use the Load form or Open form method then the Sub
Statement starts running before the form is even opened. I want the form to
open and maximize first. Then I would like the Sub Statement to run.

So how do I delay the Call method? Thanks for any help.

Call cmdImportData_Click
 
T

TonyT

Hi Lamar,

The forms Activate event happens after both the load and open events, and
should occur late enough (after the other 2 events have finished) for you.

hope this helps,

TonyT..
 

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