?
Solved

BDE problem

Posted on 1999-01-12
6
Medium Priority
?
210 Views
Last Modified: 2010-05-18
I want to access a database from several computers, what is the simpliest way to do that?
Now, when I start the program on two computers I get an errormessages like: EDBEngineError.. Directory controlled by other .NET file.
0
Comment
Question by:svenj
[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
  • 4
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 200 total points
ID: 1356037
hi svenj,

have you controlled each bde configuration?

if there overall the same netfiledir (called NET DIR in the BDE Administrator by configuration|driver|native|Paradox) entry?

if no the edit it to the same entry

if yes, then if in the DB-Dir *.lck files, delete them (make sure that all are disconnectet before)

meikl
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1356038
hi svenj,

appendix
the NET DIR Entry should pointed to a networkdrive/path the same for all and not local like c:\tmp

meikl
0
 

Author Comment

by:svenj
ID: 1356039
That worked just fine, but how do I prevent other users from editing the same record?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Expert Comment

by:kretzschmar
ID: 1356040
hi svenj,

if you use paradox, the current record will be automatically locked if his state changed to dsEdit. a other User can't edit this record. If the user try to edit the record, which is edited by other a exception is raised. Therefor is nothing to do except to handle the exception, but the default message like "Record is locked by user xy" is good enough.

meikl
0
 

Author Comment

by:svenj
ID: 1356041
Hi kretzschmar,
Ok, many thanks.

Svenj
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 1356042
hi svenj,

not at all

good luck and happy programming

meikl
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

770 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