>Thank you
>
>I worked.But when I execute the line all fields of the cursor
>are showed in the grid. How can I show only the fields I want ?
Make sure that the cursor ALWAYS exists, meaning never delete it or recreate it. Instead you do like this:
Select whatever into cursor curdummy
Select GridCursor
ZAP
Append from dbf('curdummy')
Yourgrid.refresh()