Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql not always rushmore'd
Message
De
03/05/2006 16:42:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01113886
Message ID:
01118920
Vues:
25
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform