Solved

BDE problem

Posted on 1999-01-12
6
204 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

11 Experts available now in Live!

Get 1:1 Help Now