>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?
It works. Would you provide exact code that's not working.
Cetin