Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help! VFP 7 broke my VFP 6 code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00562021
Message ID:
00562629
Vues:
25
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
Fil
Voir

Click here to load this message in the networking platform