Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's with error 46?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
What's with error 46?
Divers
Thread ID:
01076155
Message ID:
01076155
Vues:
59
I am in the middle of converting a financial app written in FPW26 to VFP8 under XP. I made my own library of form classes from the original screens and all that, but sometimes methods don't fire, and some classes even refused to instantiate, throwing up an error 46 dialog ("Expression evaluated to an illegal value").

Through manual editing of individual objects from the class definition in the VCX (and learning along the way that the reserved2 field in the first record of the class definition contains an object count that MUST be updated!), I eventually isolated the cause of the error to something left over from the old screen, an entry calling a nonexistant function in the NumberofElements property of combo boxes.

I would expect this to cause a "function not found," not "illegal value!"

Has anyone else observed problems with VFP 8 returning an error that is less than accurate?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform