>Usually, I define a grid based on an alias which I can see at design and run time. However, I have a form where I am designing a grid but that grid will be bound on a cursor that I am defining in the Init() of the form. So, I have something like this:
Hi, Michel.
In VFP 8 you have the Form's property BindControls. Set it to .f. and set all your ControlSource/RecordSource as usual.
Once you finished setting up your cursor on the Init, switch BindControls = .T.
That will make it.
The older method I used was to leave the grid RecordSource="" until my cursors were properly built, and then bind them.
Hope this helps,