Solved

BDE problem

Posted on 1999-01-12
6
208 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

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…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

696 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