PRB: Private Data Session Causes Blank Grid to Appear (132695)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q132695 SYMPTOMS
A blank grid object appears after you drag a grid control onto a form in
the Form Designer, set the Form.DataSession property to 2 (Private Data
Session), and run the form.
CAUSE
This is by design. It occurs if no tables have been added to the data
environment of the form.
If no table is specified in the Grid.RecordSource property, the grid uses
the open table in the current work area. If no tables were added to the
data environment of the form, the private data session has no open tables,
so the grid does not have any data to display.
RESOLUTION
Either use the default data session, or add one or more tables to the data
environment of the form.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | KB132695 |
---|
|