Solved

BDE problem

Posted on 1999-01-12
6
209 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 50 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
Independent Software Vendors: 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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

687 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