Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Access Denied error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00188645
Message ID:
00188744
Vues:
27
> Is EXCLUSIVE set on? If so VFP will try to open the database exclusively even if you open the table SHARED.

Josh,

Thanks for the reply. This is whay I thought too, but when I looked in VFP help under the USE command, this is what I found:

SHARED Opens a table for shared use on a network. SHARED allows you to open a table for shared use even when EXCLUSIVE is set ON.

To further test, I set EXCLUSIVE on and then issued the USE lcAlias in 0 NOUPDATE AGAIN SHARED command in the command window twice. When I enter SET and look at my default datasession I see the table opened twice?

I am calling a custom method from the BeforeReadEvents Method of my application class. The strange thing is I can see the standard framework databases (appincl, errorlog ... ) are being opened twice with what appears to be the same command syntax.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform