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:
00562185
Views:
27
>I think this may be a bug in VFP 7, but I was wondering if anyone else has run into it?
>
>Try this in VFP 7:

>(From the command window)
>CREATE CURSOR binky (field1 C(10))
>ALTER TABLE binky ADD COLUMN field2 C(15)
>(should work fine)
>
>Now try this:
>DIMENSION laStru[1]
>USE anytable
>=AFIELDS(laStru)
>CREATE CURSOR newCursor FROM ARRAY laStru
>ALTER TABLE newCursor ADD COLUMN NewField C(8)
>(boom!)
>This last statement generates the error "Invalid operation for the cursor". It worked fine in VFP 6.
>

I just tried it with foxpro sample table Samples\Data\products and didn't get any errors.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform