>>In VFP7, I have a form with a button where the code create a SELECT...INTO CURSOR mycursor READWRITE. How can I take this cursor and put it in a grid that is on the same form ?
>>I know I could use a VIEW but is there a more direct way of feeding a grid from a cursor ?
>>
>>Thanks
>>Eric
>
>try thisform.grd.recordsource=''
> thisform.grd.recordsource='myCursor'
>right after you re-build the cursor.
Thanks Nadya, it worked fine. One problem still remaining: In design mode, I did put the first column as a checkbox but when I change the recordsource of the grid, it doesn't recognize it, it try to put it back as a textbox.
Any suggestions ?
Eric