Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Displays Records Before a Selection is Made
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117567
Message ID:
00117587
Vues:
14
It sounds like you do not have a ControlSource set for the combo box. Even though your combo box control isn't displaying a particular record, your obviously on a record in your parent table. The related records are being shown in the grid. If you set the ControlSource property of the combo you will see the parent record.


>I have created a grid populated with fields from Vac. I have provided a combo box for the user to select an employee from. The combo box RowSource is Prlink.nmbr,fname,lname. In the ValidEvent of the combo box I have the code: ThisForm.Refresh(). Also, I have set the following properties in the Grid: ChildOrder: Nmbr; LinkMaster: Prlink; RelationalExpr: Nmbr. I don't know if I did this right, or even if it was necessary after setting the relation in the DE of the form -- would appreciate verification.
>
>How come, when the form is ran, records are displayed in the Grid even before an employee number is selected out of the combo box?
>
>Thanks,
>CWH
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform