Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do queries take longer in a private datasession?
Message
De
21/07/1999 16:38:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00244276
Message ID:
00244364
Vues:
17
Oooh, sweet solution! I like it.

>I think you may be making this harder than need be. Try creating a local, parameterized view:
>
>create sql view RptCursor as select * from Imprn where PrintNo = ?nPrintNo
>
>Then in your form DE, you can add this view. Set the NoDataOnLoad to .T. and in the BeforeOpenTables, put set talk off. In the click, put this code:
>
>local nPrintNo
>nPrintNo = thisform.txt_printno.value
>requery("RptCursor")
>
>Add whatever other code you need around this.
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform