Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calulated ControlSource
Message
From
13/08/2001 14:13:56
 
 
To
13/08/2001 13:57:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00543139
Message ID:
00543169
Views:
27
Hi!

Thanks that worked.

Sarosh

>VFP seems to choke if expressions for ControlSource gets too complex. Just how complex is too complex, I've never figured out.
>
>One way to get around it is to use a UDF:
ThisForm.TxtFileName.ControlSource = "MyUDF(filename)"
>
>FUNCTION MyUDF
>LPARAMETERS tcFileName
>
>RETURN juststem(tcfilename) + '.'+ justext(tcfilename)
Previous
Reply
Map
View

Click here to load this message in the networking platform