General information
Category:
Coding, syntax & commands
Title:
Setting Control Source programmatically
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only