Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime Error 2005
Message
De
30/08/2000 23:47:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00341268
Message ID:
00411160
Vues:
19
>I get this error number (2005) but with the message "Error loading file - record number ## - database object is in use by another". This "in use" message is associated with error number 1709. Go figure. And apparently 1709 happens when 2 or more users open a form at the same time where the form has views in the DE. I have read that there is DBC contention between users.
>
>Chris
>
>
>>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 or 7 a day) I am getting an error 2005 (from my error routine). 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

My only experience of this has been in the initialisation of the values of textboxes, and I could ultimately identify the pattern to what appeared to be random behaviour.
I don't remember much of VMP3, but if it doesn't fail immediately, I could imagine that it trips the next error (2005) and trips up popping the error.
What I find more frustrating is that file## is not identified in such messages!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform