Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid problem - ControlSource issues
Message
De
21/09/1998 10:09:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139015
Message ID:
00139019
Vues:
34
>I have a grid that is based on a parameratized view. The grid has 10 columns, 8 of which have a view.field as a ControlSource. The last 2 columns are calculated values and have no ControlSource. VFP however, insists on showing 2 of the views fields in these columns instead. I found in help that this is a "Feature" of ControlSource for a Column in a grid. Any suggestions on how to work around this would be greatly appreciated. TIA

You should use controlsource:
Grid.ColumnX.Controlsource="thisform.getcolumnX()"
GetcolumnX is form's custom method where you will put your calculations. If calculation code is not complicated (e.g. IIF...) then you can type it directly to property sheet.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform