Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple use on the same table
Message
De
27/05/2005 11:47:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01017912
Message ID:
01018169
Vues:
13
A couple of things to check...

- A form will use a private data session and reset SET EXCLUSIVE to default (ON). Make sure you set it again before the tables...and the database...are opened in the form

- Use the AGAIN clause
USE S:\mytable.dbf AGAIN IN 0 ALIAS test2 SHARED


>Hi all,
>
>I have a problem using several time the same table in my form...
>
>SET EXCLUSIVE is OFF
>
>I have the following code
>
>
USE S:\mytable.dbf IN 0 ALIAS test1 SHARED
>.....
>....
>...
>USE S:\mytable.dbf IN 0 ALIAS test2 SHARED
>
>when I open a second time my table, I get a "File is in use" error. I tried to use the "AGAIN", it worked but when using it, my app doesn't seems to update the datas when another application change them.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform