Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Just one at a time
Message
De
06/08/1998 11:53:07
 
 
À
06/08/1998 09:01:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00124111
Message ID:
00124500
Vues:
22
>>.....I almost forget, I'm trying to implement this feature (one at a timee) on Fox Pro Windows 2.6.
>
>In that case, the old indian trick goes like this:
>
>in config.fpw
>resource=off
>
>In start prg:
>set reso off
>NoGo=.f.
>on error NoGo=.t.
>use (set("resource",1) again excl
>use
>if NoGo
> quit
>endif
>set resource on
>
>Only make sure every instance of your app should attempt to open the same resource file; the easiest way is to have a foxuser.dbf on the local disk, and have a
>resource=c:\MyPath\foxuser.dbf
>in your app's config.fpw. It's a bit hard to provide the same directory and disk for every workstation (if this is a single-machine app, skip this), but it's manageable.
thanks...

I just have a question in this line
-use set("resource",1) again excl
that really works ?
can you use exclusive an already open table?
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform