General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only