Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot ADD COLUMN to a cursor
Message
 
 
To
05/10/2005 11:59:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01056104
Message ID:
01056497
Views:
100
Hi James,

It's documented in VFP9 help for the ALTER TABLE command but not as clearly as I would like it to be:

ALTER TABLE might not produce consistent results when used with Visual FoxPro cursors created by the CREATE CURSOR command. In particular, you can create a Visual FoxPro cursor with features, such as long field names, that are normally available only with tables that are part of a database container. ALTER TABLE saves a temporary copy of the cursor, so the rules that apply to free tables also apply, and any features requiring database support are lost or changed in an unpredictable manner. Therefore, you should generally avoid using ALTER TABLE with Visual FoxPro cursors unless you have tested and understood the outcome.


>
>Your knowledge never ceases to amaze me.
>This was right on the money. Thank you again!
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform