Solved

File Server based D2 App with Paradox

Posted on 1998-07-13
5
242 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
we have already tried all of those things.
0
 
LVL 2

Accepted Solution

by:
hrizal earned 70 total points
Comment Utility
- 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

14 Experts available now in Live!

Get 1:1 Help Now