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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement