Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup form background not loading via code!

Status
Not open for further replies.

Juddy58

Technical User
Jan 21, 2003
176
AU
Hi, I have a Form with listboxes that are requeried after an event(When a certain tab is selected)
Because it can take a while for the queries to run i want a popup to appear (letting them know to wait). Once the queries have run and listboxes requeried i then want the popup to disappear. The problem is when the event occurs the pop up will open but only its frame is visible, the background is transparent. What i think is happening is that the form opens but doesn't have time to completely load before moving on to the next line of code and running the queries.
Just wondering if this has happened to anyone before.
I have tried to have the popup form already loaded and set to invisible and then set its property to
visible when i want it shown but it still does the same thing.
Any help appreciated!
Thanks
Justin
 
Hi

Look at Do Events in help

Alternatively consider using docmd.hourglass true and docmd.hourglass false to show system is busy

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top