FIX: TABLEREVERT() with Table Buffering Results in Page FaultLast reviewed: October 29, 1997Article ID: Q174530 |
The information in this article applies to:
SYMPTOMSClosing a form containing a grid with two or more related record sources and table buffering enabled results in an Windows Application Error or Macintosh error type 11 and termination of Visual FoxPro. Under some circumstances, closing a form containing a grid with multiple record sources and table buffering enabled, results in an application error and abnormal termination of Visual FoxPro. This article describes the conditions under which an application error may occur and a workaround that resolves the problem.
CAUSEThe occurrence of an application error and abnormal termination of the Visual FoxPro session, under these conditions, is dependent on a specific sequence of events. This behavior occurs only under the following circumstances:
RESOLUTIONMultiple workarounds are available for this condition:
Insert ThisForm.Grid.RecordSource="" before releasing the form or issuing a 'CLOSE TABLES' command. -or- Use a view or SQL Cursor as the record source for the grid. -or- Base Grids with multiple record sources on the parent table. -or- Instantiate cursors for parent tables prior to instantiating cursors for child tables. -or- Use row buffering instead of table buffering. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual FoxPro 5.0.
MORE INFORMATIONThis behavior is not observed in Visual FoxPro 3.0. It is evident in Visual FoxPro 3.0b only when table buffering is enabled.
Steps to Reproduce Behavior
|
Additional query words: Grid Column ControlSource RecordSource Buffering
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |