Information générale
Catégorie:
Codage, syntaxe et commandes
I saw your posting on the error 2005 when you call one form from the click method on another form. I'm afraid I don't have any help, but I do have the exact same problem with a particular form calling another form. Can I ask if you ever figured out the problem?
>I have an app in which I am creating several individual forms -- one form calling another until finished -- then it starts over. Of the more than 150 times a day this process repeats, at random times (6 to 7 a day) I am getting an error 2005 (from my error prog). VFP error 2005 says "You have attempted to set a property to an illegal value through the language". The error message I capture is "Error loading file - record number ##", which is associated with frmmyform.cmdbutton.click at line ##. It looks like frmmyform.cmdbutton.click is calling another form, and VFP has some sort of problem setting a property (ex: fontbold=.t.) for an object being created on the form. If this error occurs, I release all forms and begin again. However, sometimes I must exit the app back to Windows, then get back in. Any ideas?
>
>TIA
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