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

Show query name that is running

Status
Not open for further replies.

jcw5107

Technical User
Jan 31, 2007
66
US
I have a form with a command button - that I use to update tables/records, append data to tables, or make new tables.
My question is...
Is there a way to tell which query is currently running? In the status bar, or a message box...???
The queries are being ran like:
DoCmd.RunSQL ("Delete * From AlternatesMain;")
DoCmd.OpenQuery "11qryAlternatesMain", acNormal, acEdit

DoCmd.RunSQL ("Delete * From AOGMain;")
DoCmd.OpenQuery "12qryAOGMain", acNormal, acEdit

DoCmd.RunSQL ("Delete * From PartTypeMstr;")
DoCmd.OpenQuery "13qryPartTypeMain", acNormal, acEdit

Any suggestions or examples..?
Thanks in advance..!!
jcw5107
 
How are a jcw5107 . . .

Have a look at the [blue]SysCmd[/blue] method . . .

Calvin.gif
See Ya! . . . . . .

Be sure to see FAQ219-2884:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top