Browsing a Table While Using Row Buffering in a FormLast reviewed: October 18, 1996Article ID: Q131711 |
The information in this article applies to:
SUMMARYIf a form uses row buffering, a table that is browsed from the Command window may display uncommitted changes. This article describes factors involved in browsing buffered data.
MORE INFORMATIONWhen buffering is enabled, data is copied to a cursor. All the editing takes place in the cursor. With row buffering, data is committed when the record pointer moves, or when a TABLEUPDATE() function is issued. In particular, data is written to disk when a SKIP command is issued, another work area is selected, or the table is closed. The BufferMode property of a form determines the buffering mode if the BufferModeOverride property of a cursor is set to 1 (Default). If the BufferMode property is set to 1 or 2, any cursor used by a grid control is enabled for table buffering. Any other control bound to data uses row buffering. Buffering can also be set in the BufferModeOverride property of a cursor in the data environment. For example, consider a form that contains a text box control bound to a field in the table. If the BufferMode property is set to 2 (Optimistic), optimistic row buffering is enabled. If a BROWSE command is issued from the Command window while the form is running, the following can take place:
For more information about buffering, search for "Buffering Access to Data" in the Visual FoxPro Help menu.
|
Additional reference words: 5.00 3.00 VFoxWin lan network multi-user
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |