I am moving an application from VFP 6 to VFP 7. The app has the following code:
USE data\sam EXCLUSIVE
= AFIELDS (temp)
CREATE CURSOR cursam FROM ARRAY temp
ALTER TABLE cursam ADD coup_val C(30)
Everything works fine in VFP 6.
If all the field names in SAM are less than 11 characters in length, this works fine in VFP 7 too. If one or more field names are more 10 characters long the ALTER TABLE fails with the message "Invalid operation for the cursor".
Any thoughts on what the problem might be.
In VFP 6 the ALTER TABLE truncates all of the field names longer than 10 characters to 10 characters.
Tim
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only