Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Control Source programmatically
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setting Control Source programmatically
Miscellaneous
Thread ID:
00709192
Message ID:
00709192
Views:
56
Hi
I am setting control source for a grid row as follows:
Thisform.MyGrid.Mycolumn.ControlSource = Myfile.Balance

This works fine.

But If I want to show a description as in:
Thisform.MyGrid.Mycolumn.ControlSource = Iif(Seek(Myfile.Code,'KMA'),Kma.Description,' ')

I get a --> Data source for this object must be a variable reference.


Anybody know if I can put an indirect refrence into conmtrol source programatically.

Regards,

gerard
Next
Reply
Map
View

Click here to load this message in the networking platform