Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql not always rushmore'd
Message
From
03/05/2006 16:42:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01113886
Message ID:
01118920
Views:
24
>>>Hi Tamar, thanka again for your assistance.
>>>How exactly does Sys(3092) work.
>>> I have an exe with say 300 forms and 150 prg files. Lets say I switch on this option, then start the app and assume I go into every single form in the app (just go in and out) will I get just a listing of those SQL statements that are not optimised..
>>
>>Nope, you'll get the normal SYS(3054) output for every query (and view) that you execute, so just going in and out of each form probably won't do it.
>>
>>Try code like this:
>>
>>SYS(3092, "SQLLog.TXT")
>>SYS(3054, 12)
>>
>>* Run your app
>>
>>SYS(3054,0)
>>SYS(3092, "")
>>
>>Tamar
>
>How can you prevent output from echoing to the screen?
>
>Thanks.

set console off

PS: I think a better way is to use 3rd memvar parameter.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform