The information in this article applies to:
SUMMARYData buffering is used in Visual FoxPro to enable edits to be made and verified in memory before they are applied to a .DBF file and to handle some record contention issues in a multiuser environment. There are several ways to use buffering within Visual FoxPro. This article gives you an overview. MORE INFORMATIONThere are two ways to set the buffereing mode. Issue a SET MULTILOCKS ON, or choose the Multiple Record Locks check box in the Data Tab of the Tools, Options dialog to begin buffering data. Use one of the following methods to set the buffering mode. Setting the Buffering Mode Through the Visual FoxPro InterfaceUse any one of the following methods to set the buffering mode through the Visual FoxPro user interface:
Setting the Buffering Mode ProgramaticallyTo set the buffering mode programatically, you can use the CURSORSETPROP() function to enable or disable buffering on an open table. The following line of code sets Optimistic Row buffering:
You must issue this line of code for each open table on which you wish to
enable buffering. This command overrides the default BufferMode property on
a form, or the default BufferModeOverride property for a cursor in the Data
Environment for the Form.
REFERENCESFor more information on the properties and functions used in this article, please see the Visual FoxPro Language Reference. For information on using the Forms Designer, please see the Visual FoxPro User's Guide. Additional query words:
Keywords : kbMAC kbVFp kbVFp300 kbVFp600 FxprgMultiuser |
Last Reviewed: August 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |