Hi Moises,
>Is it not possible to have a cursor with the same name of the table as I do in DE interactive cursor creation ?
No. To stress the point that Hilmar made, though: If you're existing code is using the cursor in the dataenvironment you must replace it with
USE consultas
You cannot replace it with a query in a new cursor. Even though the read part would work, you would still have to rewrite all of your update routines. Changing a cursor in VFP does not change the underlying table.
--
Christof