Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering Mode Syntax
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00451028
Message ID:
00451029
Views:
25
>Hi!
>
>In the Tools>>Options, you can set the data buffering to a value. What is the syntax to set the buffering mode globally like that?
>
>Evelyn

See CursorSetProp() in VFP help. If you want all views and tables to have a specific buffering mode when you open them, issue the following from the command window:

CursorSetProp("Buffering", x, 0)

where x is any number between 1 and 5. The third parameter is a ZERO which means to set buffering mode for all cursors opened after this point. This does not retroactively set buffering for views or tables already open.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform