Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changed Behaviour or Bug ? .... think the second one ...
Message
 
 
To
22/05/2006 11:34:05
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01123963
Message ID:
01123969
Views:
17
Starting with VFP7, the ALTER TABLE command will generate error 1115 if there are field names longer than 10 characters in the cursor because those names will be truncated. Unfortunatelly, the error message description was never updated.

>The following line of code emit an error on VFP 7, 8, 9 but not with vfp 6 sp3:
>
>
>Create cursor BaseCursor(longfieldname Integer)
>
>** Create cursor BaseCursor(ShortField Integer)
>
>ALTER TABLE BaseCursor ADD COLUMN NewField C(8)
>Use In BaseCursor
>
>
>Seems that the alter table don't work with long field name in the cursor.
>
>The Error don't explain the real cause:
>Invalid operation for the cursor (Error 1115)
>An attempt was made to use the PACK command on a cursor.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform