General information
Title:
Closing a .dbf File
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?
Mike Smith
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only