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!

Query Randomly Opens During Runtime

Status
Not open for further replies.

Bonediggler1

Technical User
Jul 2, 2008
156
US
Hi-

I built an app that processes customer payment files. Part of the code runs 5 queries in sequence via "docmd.openquery" i.e.:

DoCmd.OpenQuery "Query1"
DoCmd.OpenQuery "Query2"
DoCmd.OpenQuery "Query3"
DoCmd.OpenQuery "Query4"
DoCmd.OpenQuery "Query5"

Everything works fine, except the 1st query in this sequence actually opens in a new window and stays open after the code stops running.

This query is not called from any other part of the project - I have no idea why this is happening.

Any insight?

Thank you!!
 
dhookum:

That's a great question. I really don't know. But I'm pretty sure I can go without it!


Thanks for being the sounding board I needed here...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top