Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Adding Column to Cursor
Message
 
 
To
04/12/2006 11:57:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173581
Message ID:
01174642
Views:
10
>
>You can not alter the cursor's structure once it has been created. The easiest solution, as already stated here, is to add an item into the "orditemfieldarray"

You can ALTER the cursor's structure as long as it doesn't have names longer than 10 characters and new filed names do not exceed 10 characters.
CREATE CURSOR Test (fld1 I, fld2 C(10))
SELECT * FROM Test INTO CURSOR Test READWRITE
ALTER TABLE Test ADD COLUMN Fld3 D
LIST STRUCTURE
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform