Raymond, I've followed this and finally decided it was time to give it a try myself. I'm a little confused. At what point exactly are you doing step #4?
You can't be doing it in the load of the form since the grid isn't instantiated yet, and you can't do it in the designer since you can't get at the column properties in the grid. That really only leaves the grid's init, but you don't say, so I'm only guessing.
If you are doing it in the grid's init, then I can't reproduce the problem. It works perfectly for me.
If I'm making bad assumptions, let me know. Maybe I'm not really reproducing exactly what you are doing.
Alan
>If you follow the steps I posted yesterday you should be able to reproduce the same error.
>
>1) Create a form class based on form with a grid on it.
>2) create a form based on your form class.
>3) open a table in the load method. ( USE sometable IN 0 )
>4) set the grid RecordSource("sometable") and
> column ControlSource ("sometable.field").
>5) run form
>
>Then take out the use command in the load and open the table in the Data Environment and it should work fine. I think this is a bug.
>
>Thanks.
Previous
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