Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Currentcontrol and sparse
Message
 
 
To
08/07/2015 14:30:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01621870
Message ID:
01621880
Views:
49
>Strange, it gives error "The data source for this object must be a variable reference".
>When I do
>THIS.txt.ControlSource = THIS.Controlsource, then it works.
>But
>THIS.txt.ControlSource = THIS.ControlSource + "/10" then it gives the error.

Can you try assigning the controlsource in the property sheet or as 'MyTable.MyColumn/10' if in the code?

Also, check my _Assign method. You can try to do the same thing, have a property for the main value and just set ControlSource to be

tcSource + "/10", don't mention ControlSource in the code the way you do.
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