Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create cursor from array command doesnt work??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Create cursor from array command doesnt work??
Miscellaneous
Thread ID:
00737698
Message ID:
00737698
Views:
93
I have this line of code which seems to work fine in vfp7, but fails in vfp8.

CREATE CURSOR Fieldnames FROM ARRAY aMapFields

aMapFields looks like this:
[1,1] = 'Field1'
[1,2] = 'N'
[1,3] = 7
[1,4] = 0
[2,1] = 'Field2'
[2,2] = 'N'
[2,3] = 3
[2,4] = 0
...and so on. I'm only using the first 4 pieces of the array. What happens is I get an error saying "Field name is a duplicate or invalid". Well I'm sure there are no duplicated or invalid field names, and as I said it runs fine in VFP7, but I get this error in VFP8. Anyone have any ideas?
ICQ 10556 (ya), 254117
Next
Reply
Map
View

Click here to load this message in the networking platform