PRB: Grid Becomes Empty When Changing DataSession (260048)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q260048 SYMPTOMS
When programmatically changing the DataSession property of a form, all rows of the grid become empty and appear deleted. This behavior can occur with a Private or Default data session form.
CAUSE
When programmatically changing a DataSession property on a form containing a grid, the grid loses its RecordSource property.
STATUS
This behavior is by design.
REFERENCESFor additional information on problems with grids, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
131836 PRB: Grid Not Refreshing Displaying a Cursor from Query
140653 PRB: Cursor-Based Grid Goes Blank If SQL SELECT Resets Cursor
140306 HOWTO: Change a Grid's RecordSource Property Programmatically
Modification Type: | Major | Last Reviewed: | 5/10/2003 |
---|
Keywords: | kbCodeSnippet kbContainer kbCtrl kbprb KB260048 |
---|
|