Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Using a paradox DB on a network

Posted on 1999-06-23
Medium Priority
Last Modified: 2010-04-04
Hi Experts,

I wrote a small db program that needs to run on a network using windows 95 (Network Neighborhood).

The problem is when 2 people are inserting records into the same Db, from 2 different PCs the program does not update the records and the program locks up.

What am I doing wrong?
I am using a TSession component, and setting the properties as follows.

Session.NetFileDir := (ExtractFilePath(Application.ExeName ))+'Data' ; := true;
Question by:Asw
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1384276
can you post some of the code?

Author Comment

ID: 1384277
Hi ocean9,

My program works great on a single Pc,  but I added this code into the MainForm Oncreate
Session.NetFileDir := (ExtractFilePath(Application.ExeName ))+'Data' ; := true;


Expert Comment

ID: 1384278
Check your BDE configuration... If the BDE is not setup correctly to share the tables you'll get lockups also.

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Accepted Solution

wkhays earned 150 total points
ID: 1384279
Run the BDE Configuration Utility and make sure both users BOTH have READ/WRITE access to the NetShare Directory needed to manage multi-user traffic for Paradox Tables.

Expert Comment

ID: 1384280
Hi Asw,

Just by looking at the above code it's hard to tell, your 2 lines of code looks fine.
If you think that your code is fine there are 3 areas to check for.

1.  Check the BDE config. (as mentioned by kschang).
2.  Check the network rights of the users who are accessing the app.
3.  Check their machines and make sure all DLLs are current (this happened to
     me on my machine, where I couldn't even access the tables).

Author Comment

ID: 1384281
Hi Guys,

Thanks for your help, but I have to give the points to wkhays.

For your Info the problem was as follows.

From BDE Help.

NET DIR      The directory location of the Paradox network control file PDOXUSRS.NET. The active NET DIR parameter is stored in the Paradox section of the BDE configuration file and has precedence over any other NET DIR parameters that may be stored in older 16-bit configuration files, or in the System Init section of the current configuration file, or in the Registry.  These other NET DIR entries will have no effect. To access a Paradox table on a network drive, the active NETDIR parameter in the Paradox section of the BDE configuration file must point to a network drive.


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question