Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help! VFP 7 broke my VFP 6 code
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00562021
Message ID:
00562629
Views:
24
Ok, I dug into this a little deeper and I think that I've nailed down the problem. The source table that I'm running AFIELDS() against has 1 field with a field name that is 12 characters long. When the cursor is created, that field name is NOT truncated to 10 chars, as it used to be in VFP6. The cursor still seems to function ok until you attempt to do an ALTER TABLE on it, then boom!

Try this & it should error:

CREATE CURSOR putty (gobberwortz C(5))
ALTER TABLE putty ADD COLUMN turgid C(10)

Looks like a bug that might have been caused by the new ability to have field names in cursors > 10 characters.

Please let me know if you have the same results.

Thanks for you help!

-Matt
Previous
Reply
Map
View

Click here to load this message in the networking platform