This error is generated in VFP7 when ALTER TABLE is applied to a cursor with field names longer than 10 characters because field names would be truncated by ALTER TABLE. You can pre-process ESTRUCTURA aray to make sure that all field names do not exceed 10 characters.
>Hello Everyone,
>
>I've Recently migraded and aplication that was compiled in VF6 to VF7, this aplication uses remote views to acces and SQL Server 2000 Database... i started having this problem with some views.. here the code:
>
>Use tablename alias Estructura
>=AFIELDS(ESTRUCTURA)
>CREATE CURSOR TCARTA FROM ARRAY ESTRUCTURA
>select tcarta
>alter table tcarta add column clave n(1)
>index on clave tag xxx
>
>
>I Get in the Alter Table Line "Invalid Operation for the Cursor" can anyone tell me how can i get pass this problem with VF7??
>
>Thanks
--sb--