Solved

File Server based D2 App with Paradox

Posted on 1998-07-13
5
247 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now