Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blank Grid
Message
De
09/03/2004 16:30:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00884147
Message ID:
00884576
Vues:
11
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
Fil
Voir

Click here to load this message in the networking platform