Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF as controlsource in Column
Message
From
23/06/1998 01:04:57
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00108111
Message ID:
00110817
Views:
24
>Hi Dave,
>
>>The function call works just fine in the load event.
>Finally Dave, you found the answer. It is so funny that we were looking into grids and columns and the solution came from something totally in a different direction.

Oh no - I haven't found the answer at all. I just found that the S2ms() function works fine in the Load event. That is, the function is visible to the form at all times.

Now if I set the controlsource of column3 at design time to be simply...
smdrday.duration
The grid fires up just fine.
If I have a button on the form which does
THISFORM.grd1.column3.controlsource= "s2ms(smdrday.duration)"
I get error ... "variable is not found" !!!
What variable could it be talking about??
Even though a call to s2ms(smdrday.duration) works fine!

Still no closer :-((
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform