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

Error message 1

Status
Not open for further replies.

mannah07

IS-IT--Management
Dec 23, 2003
18
DE
The error below pops up after closing a query I run in my menu, when I attempt to open the form of the table on which the query is running.

Error: Table in use. The table may already be opened exclusively.
 
Is it possible that the form has it open already, or opening, exclusively in a private data session?

If the form is opening that way, make sure you add some code in the menu or form to check and see if it is open first and close it.

LOAD EVENT
* Close it if necessary
IF USED('myTable')
SELECT myTable
USE
ENDIF



Jim Osieczonek
Delta Business Group, LLC
 
A SQL command leaves the source table open. You'll have to add code to close it or otherwise account for this.

Brian
 
Please use the "?" icon when you post a question.
The 'bulb' is for tips.
Thanks,
Rajesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top