Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function in ControlSource
Message
From
01/03/1999 20:23:32
 
 
To
01/03/1999 20:21:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00192952
Message ID:
00192953
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform