Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File in use Error (3)
Message
De
20/02/2008 14:34:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
File in use Error (3)
Divers
Thread ID:
01294418
Message ID:
01294418
Vues:
57
I have several forms which are used to remove data and re-index a database. The all have a command of the form
USE &lcTableName IN 0 EXCLUSIVE ALIAS dep_year_a
where &lcUTableName ia "dep_year". The alias changes depending on the form. Preceding the USE command I have commands of the form
IF USED(lcTableName)
	USE IN &lcTableName
ENDIF

IF USED('dep_year_a')
	USE IN 'dep_year_a'
ENDIF
If I use a form to add a record and then immediately invoke the form to remove and re-index the database I get the error message
Error Number: 3
  
    Message:  File in use
   Program Name: Program
     Line:   n
I know for sure if I get out of the application and re-enter it I do not get the error message, it also appears that if I invoke another form I do not get the error message.

Any idea why and how to fix it?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform