Solved

File Server based D2 App with Paradox

Posted on 1998-07-13
5
254 Views
Last Modified: 2010-04-04
What is the method for creating file server based delphi 2.0 application with Paradox table and BDE 4.51 ? We tried using data-aware components for entreing datas from multiple workstations. But it seems that somehow  the paradox tables are getting locked that we are not being able to locate. It might be of help to mention that the application have two  tables in Master-Details relation. So if one user is editing the data, any other user can not use the same table from same/othe module of the same application form any other workstation.
0
Comment
Question by:edpcorp
[X]
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
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:odessa
ID: 1357864
In BDE configuration utility U must supply a "NET DIR" parameter which must be on your file server, some like
NET DIR | k:\db

where k: is connected always to you server e.g. "\\main\data"
Thats all folks
0
 

Author Comment

by:edpcorp
ID: 1357865
We have already tried setting the NET DIR parameter of the BDE to a common directory in the Server. But it is still showing that the file is already locked by a specific user. Although it says which user has locked the file, there is no way we can control the locking/unlocking of the .DB files
0
 
LVL 2

Expert Comment

by:odessa
ID: 1357866
If you are using EXCLUSIVE open on base you'll get Table locked, other way, the share NET DIR must have read/write access to every one, and third if there a *.lck file delete it before start to work.
0
 

Author Comment

by:edpcorp
ID: 1357867
we have already tried all of those things.
0
 
LVL 2

Accepted Solution

by:
hrizal earned 70 total points
ID: 1357868
- dont leave tables in edit mode in not neccesary
- disable auto edit on any data aware such dbgrid, dbedit ... etc
- use ttable.edit or ttable.insert when you need only.


0

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

724 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