Solved

File Server based D2 App with Paradox

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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