Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime Error 2005
Message
From
21/07/2000 11:22:01
 
 
To
06/03/2000 11:24:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00342188
Message ID:
00395460
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform