Introducing PTWin

Introducing
PTWin32

Support Services
Support
Services

Downloads
Downloads

User Tips
User Tips

Contact Us
Contact Us

Introducing PTWin
Home

  PTWin User Tips / CONFIGURATION  Configuration

Pushing the Post Button

Learning to share
PTWin32 on a network

Local Area Network concerns

Tip #: 4.1.80
Ver(s):PTWin32, V2, V1

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 speaking there are two types of network functions associated with a PTWin32 user. Private functions are those that you are using but that are not critical to network multi-user record sharing. Public functions represent your current status on the network as regards file sharing and record locking.

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.

The location of the Network Control File is set in the BDE Administrator under Configuration | Drivers | Native | Paradox. The NET DIR variable stores the location of the PDOXUSRS.NET file. All users must point to this common location. If only one user points to a different location network errors will begin to occur.

 

 

Configuration Return to Configuration menu