Information générale
Titre:
What's with error 46?
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
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