>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