Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function in ControlSource
Message
De
01/03/1999 20:23:32
 
 
À
01/03/1999 20:21:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00192952
Message ID:
00192953
Vues:
25
>I create a grid object and using the column control
>
>column1.controlsource="iif(my_field = 1,'One','Not one')"
>it can show the 'One' and 'Not one' in the column. But
>
>column1.controlsource="myfun(my_field)"
>
>function myfun
>paramerer par
>if par = 1
> rtn="One"
>else
> rtn="Not one"
>return rtn
>
>there is not any data show in the grid!
>What's wrong?
>Please Help Me!
>Thank You!

Where are you defining MyFun?

You might want to make MyFun a custom form property.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform