Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is error 2005?
Message
De
03/07/2002 14:32:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00673016
Message ID:
00675054
Vues:
133
First off, thanks for the reply!

Probably like user AERRORS() in Error method, check if this error number comes out then show a messagebox stating this form will be unavailable for the time being?


>Contrary to what the help documentation says, error 2005 will arise when there is a problem opening up tables or views in the data environment of a form. I created the situation you created and got the following error message:
>
>The Error Number is '2005'.
>The Error messages are 'Error loading file - record number 5. FrmDocList_grid .Loading form or the data environment : Error loading the data environment. Table is in use'; and 'ERROR LOADING FILE - RECORD NUMBER 5. FRMDOCLIST_GRID .LOADING FORM OR THE DATA ENVIRONMENT : ERROR LOADING THE DATA ENVIRONMENT. TABLE IS IN USE'.
>
>You will have to avoid the situation that is causing you program to fail.
>
>Kevin
>
>
>
>
>Really is odd though... the four forms all were based on my dataentry form class... my app object runs a menu that has options to open those 4 forms. I then intentionally opened another VFP instance and opened the tables concerned exclusively. Now, when I go back to my original VFP instance and chose to run the form this error 2005 comes up.
>
>Let's say Form A opens Table A and so on. Everytime I open Table X exclusively in another instance, running Form X would generate 2005! IF I close Table X which was opened exclusively, Form X would then run OK...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform