Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inline in grid editing
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01532229
Message ID:
01532297
Views:
38
>>Is there a way to dynamically assign textbox controlsource to be substr(myField,1,240)?
>>
>>I tried txt.ControlSource = '(substr(' + myField + ')1,240))'
>>
>>but got an error.
>>
>
>txt.ControlSource = '=LEFT(' + myField + '),240))'
>
>
>BTW you missed a comma[)1] -> [),1]

It does let me use it, but doesn't seem to work. E.g. the value is not showing.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform