|
|
|||||
Introducing PTWin32 |
If
you are using PTWin32 on a local area network in either a peer-to-peer or file
server configuration then you will be subject to some situations that
single-user installations never face. Primarily, you can’t let more than one
user change a record simultaneously. What
happens when two different users ask for the same record at the same time? How
does one keep track of what records a user or users have open at any given
moment? These
types of questions and their solutions are carried out in a variety of complex
ways that are transparent to most users. There are however some things that
cannot be done automatically. Mostly this involves pointing to drive locations
where network functions can be run. Generally Private network functions
are carried out in the \PTWin32\PTWPRIV directory of your local hard drive. You
can however, configure PTWin32 to use any location you want. Each user’s Private
directory stores the results of queries, temporary tables, etc. Public network functions are
carried out using two different types of files that you should know about. The first type is a Lock File.
These files are created to temporally track your position. As you move from one
position to the next in the shared PTWin32 files The Lock Files are
deleted. If for some reason, like a power failure, the Lock Files are not
deleted before a forced reboot then incorrect information about the status of
open records is retained. If you receive a file locked error
you know to be untrue then search the hard drive of the Server/Master for
files that have an extension of “.lck” and delete them. The second Public file you should
know about is the Network Control File, usually called PDOXUSRS.NET. The
location of this file can be set to any location you wish as long as every
network client has full access to that location. We recommend you use the
\PTWin32 directory on the Server/Master.
|
||||