Solved

BDE problem

Posted on 1999-01-12
6
207 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
  • 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Mydac connection data base issue 3 166
Delphi : could not find program, '...exe' 2 192
Wincontrol not (correctly) drawn 15 40
firemonkey keyboard covers the controls 1 37
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
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…

838 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