>OK
>
>When a table has lot of fields is hard task doing it manually
>
>I would like to add it to dataenvironment from a table, and then remove is reference to the table
>
>Is it possible ?
Cursors are temporary objects; by definition, they are not permanent. You do need a command, but it might be something as simple as:
select * from MyTable;
where .F.;
into cursor MyCursor
The "where .F." will produce an empty cursor.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)