Barry,
Does it help to use
Thisform.Grid1.Column6.controlsource = "tbl.card"
with the table name included?
You have, of course, checked that your object name is correct? I find myself missing the odd pageframe or container when typing this kind of command.
Barbara
>I have a form with a grid control on it that has all of the columns I need already set up. Column 6 of the grid will display information from a field that does not exist in the table yet. The following code adds the field and then sets the control source of the grids column 6 to the newly added field.
>
>ALTER TABLE tbl ADD COLUMN card L
>THISFORM.grid1.column6.CONTROLSOURCE = "card"
>
>When i run this code however I get the error:
>
>Unknown member COLUMN6
>
>Any help or ideas on this will be greatly appreciated.
>
>Barry