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!

VFP9sp2: Capture SQL-Select statement

Status
Not open for further replies.

Kurtwood

Programmer
Sep 7, 2002
39
BS
Hi All,

Is there a simple way, like a COMMAND, to capture the SQL-Select statement that was last executed? I would like to save the statement to a memo field. I would also prefer not to save it to a .dbc or class in order to do this.

Most appreciated.

Kurtwood L Greene
The Bahamas
 
There is SYS(3092 [,cFileName [, lAdditive]]) to do that. Set the level of information with SYS(3054), as you want to see the sql commands executed set SYS(3054,2) or SYS(3054,12)

Bye, Olaf.
 
Thank you Olaf,

It is what I am looking for and more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top