Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00183883
Message ID:
00183915
Vues:
16
>>Are you sure that the column based on the master table field, and not on related lookup table field? Do you provide alias in column.controlsource?
>
>The grid's RowSource is a view which joins the child code field to the parent table. No, the column's ControlSource doesn't specify the alias, but I know it's getting the view's field, not the child table's, because there are no empty codes in the child table. If I were showing the wrong field, it would have looked right (and wouldn't that have been fun for me to debug!)
>
>Hmm. Bad programmer. I really should supply the alias in the column.ControlSource, shouldn't I? Even though I know this form only uses the one alias and never moves from it...someday that could change.
>
>Thanks,

Rich,
When you populate the view, you make LEFT JOIN (i guess), so you can really get NULLs when right table does not have matches. Try to browse your view from command window to make sure.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform