Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00167429
Message ID:
00167434
Vues:
30
If you change the line inside of your IF...ENDIF to "USE skaset!keys IN 0 AGAIN", it should work.

Randy

>I have a table of valid keyvalues called "keys" in my database "skaset". When adding records, I open the keys table with this:
>
>
>IF !USED("keys")
>    USE skaset!keys IN 0
>ENDIF
>
>
>but if it has already used and later is closed, it sometimes (with a certain table) gives me "Error 3 - file is in use". How can I be getting that error? The debugger says that USED("keys") = .F. when I get the error. Is there a problem with opening, closing, and opening a table again?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform