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

Can I save an SQL statement, created at runtime, as a query ?

Status
Not open for further replies.

DaJoin

Technical User
Sep 15, 2002
9
BE
I'm developing a form in wich I dinamicly create a query.
This query causes me trouble (2001 runtime error : You cancelled last operation) and I'd like to save the query I created at runtime, to find out what's wrong with it in the query window.

I tried to message it, but this way I cannot copy it to the clipboard or something .

Thanks in advance for your golden tips .
 
When you get the error message, click Debug instead of End to see the code window, and then highlight and copy the SQL statement - you'll be able to analyze it then using whatever editor you choose ...

Greg
If you don't understand, just nod and smile ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top