Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with ControleSource
Message
From
24/03/1999 09:32:12
 
 
To
24/03/1999 09:29:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00201411
Message ID:
00201412
Views:
33
>Hello,
>
>I have a problem with the ControlSource. Why the Column.ControlSource and the TextBox.ControlSource don't do the same thing.
>
>If I write:
>
>Thisform.grid1.Column1.ControleSource = "ATable.AColumn + ATable.OtherColumn"
>
>Or
>
>Thisform.grid1.Column1.ControleSource = “UPPER(ATable.Acolumn)”
>
>
>This works.
>
>If I do the same thing with a TextBox.ControleSource I receive an error message.
>
>Why?
>
>It's there a solution to avoid the error message or a function that do the same thing as a Column.ControlSource.
>
>Thank you for the answer.

VFP expects to have the same controlsource for both column and its control. When you set column.controlsource you actually set it for both. Why is column.controlsource not sufficient for you?
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform