PRB: Private Data Session Causes Blank Grid to AppearID: Q132695 3.00 5.00 WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSA 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.
CAUSEThis 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.
RESOLUTIONEither use the default data session, or add one or more tables to the data environment of the form.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Open a table in the current work area:
2. Create a new form, and drag a grid control from the Forms Control
3. Set the Form.DataSession property to 2 - Private Data Session.
4. Save and run the form. A blank grid object appears. Close the form. 5. Modify the form in the Form Designer. Set the Form.DataSession property Additional reference words: 5.00 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes
|
Last Reviewed: October 31, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |