What VFP version is it and how do you create your cursor?
ALTER TABLE will work on the cursor created with CREATE CURSOR command, or with SELECT... FROM... INTO CURSOR READWRITE
>I am trying to remove a field (cexport.fkey) from a cursor. But when I try:
>
SELECT cExport
>ALTER TABLE cExport drop COLUMN fkey
>
>I get an error invalid operation for a cursor. I've tried many vairations with no success.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison