Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a .dbf File
Message
From
27/09/2004 12:49:35
 
 
To
27/09/2004 12:35:45
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00946324
Message ID:
00946332
Views:
16
>I am now realizing that my current code will not work on a Network with multiple users.
>
>i.e. Suppose I need exclusive access to a .dbf file that could be shared by other users.
>
>I would normally write:
>
>if used("MyFile")
> select MyFile
> use
>endif
>
>use MyFile excl
>
>I now realize that used("MyFile")
>returns .t. if I am using it
>but returns .f. if somewone else is using it on the same Server.
>
>Is there some way of taking over a file exclusively that someone else is already using non exclusively over a Network?
>
Hello Mike,

Even in a good French or Portuguese EXCLUSIVE means exclusive :P

To control over network you can trap it on the ON ERROR issue..

Can you be a little more specfic on what exactly are you trying do to ? Maybe we can help you..

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform