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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement