Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - controlsource secondary table don't works
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00307064
Message ID:
00307103
Vues:
25
>Where and when are you opening the Coutnry table and is Country its alias name?
>
>If you are not using teh DE to open teh country table then that explains your error, when the gird is created the count5ry table is not open yet. So leave teh controlsource for that column blank in teh deigner and set it in the form's inti with;
>
>Thisform.Grid1.Column(#).Controlsource = "country.Name"

GOOD! Works! A can of beer for you!

I tried and work, and them I decide to put this in the grid's init (could be a better place?), like:

this.column5.controlsource = "country.name"

Why is this? can you explain me?

Thanks a lot.
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform