Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank Grid
Message
From
09/03/2004 16:30:40
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00884147
Message ID:
00884576
Views:
10
Hi Steve.

I have placed a " close data and use myTable" in the form's load. This is a child form ,
however. I call this form from a parent form, the child's grid still shows up
blank?? (For a moment, I see the data on the grid but then it goes away.)


I assume the child form is modal. If it is using the default data session, it "shares" the datasession of its parent form. So if the alias you want to use as the recordSource of your grid is open in the parent form, you do not need to do anything else in the hild form.

However, from the behavior you are decribing, it sounds like you are doing something to close the grid's RecordSource some time after the grid is instantiated. Just out of curiosity, are you by any chance PACKing the table being used as the grid's RecordSOurce? PACKing the table closes it behind the scenes and would cause the grid to go blank.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform