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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Ready

Status
Not open for further replies.

matrixknow

IS-IT--Management
May 3, 2007
78
Hallo,

I activate a maketableqeury with
Code:
Docmd.OpenQuery

While running you see automatically the progress bar on your status bar.

However to make it even more user friendly I need to know when the maketable action is complterly finished(then I can set a textbox background value to vgGreen for example).

How can you dedect this ?
 
matrixknow,
The code to change the color shouldn't run until after [tt]matrixknow[/tt] has completed so you should be able to do this:
Code:
Docmd.OpenQuery
Me.Text1.BackColor = vbGreen

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top