Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Default Buffering Mode for DataSession
Message
De
29/12/1999 14:00:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00309883
Message ID:
00309995
Vues:
29
>>>If I create another Data Session, I can switch between the default DS and the new DS, and independently set the default buffering mode for each DS with the Tools:Options:Data:Buffering setting.
>>>
>>>I know how to use CursorSetProp('buffering', 4) to change the value once the table is opened, but I can not figure out how to set the default buffering mode programmatically so the table opens in buffering mode 4, for example.
>>
>>CURSORSETPROP("Buffering",0) will set the default for all future cursors/tables buffering mode to be 4.
>
>That command gives an error.

Whoops, that's because it's not right! ;)

It should be CURSORSETPROP("Buffering",4,0).

Sorry about that. :(
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform