Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement