>>I am using VFP 3.0 for Windows.
>>
>>How do I create a grid based on a cursor that is created (using an SQL-select) in the form's init method?
>>
>>Is this the best way to display to cursor, should I be using a list or something else?
>
>SELECT.... ....
> TO CURSOR mycursor
>
>Thisform.mygrid.recordsource = 'mycursor'
>thisform.refresh
Evan,
If you put the SELECT... into the LOAD method instead of the INIT method you can set up your grid in advance and there is no need to do it programmatically at run time.
Barbara