Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use message on a regular basis
Message
De
19/11/2008 15:26:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01362879
Message ID:
01362932
Vues:
9
Some commands lock the file header for a millisecond or two. Try to open the table in a Try-catch block, something like
Do while .t.
   try
      USE (tcTable) AGAIN IN 0 ALIAS (lcAlias) SHARED ORDER TAG (tcTag)
   catch
      loop
   endtry
   exit
enddo
>Hi,
>
>I got the "File is in use" errors on a regular basis. What may be a reason for this?
>
>I got an error here, for example.
>
>USE (tcTable) AGAIN IN 0 ALIAS (lcAlias) SHARED ORDER TAG (tcTag)
>
>That table may be involved in havy processing by many users, but I'm trying to open it in shared mode, so why is the error?
>
>The application uses local views and the database is located on the server.
>
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform