Solved

Multi-user Paradox

Posted on 2001-09-04
5
411 Views
Last Modified: 2010-04-06
Hi,

We have a single user desktop application using Paradox as database. Now we want to convert that application as multi-user application but using Paradox itself, can any one assist me in doing the same. What all the things I need to consider both from coding perspective and database perspective. Thanks in advance.

Regards
Y.Rammohan
0
Comment
Question by:splram
5 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
Comment Utility
hi,

nothing else to do (except you have special codings),
except to configure the bde properly for each client,
whereas the net-dir entry must be pointed to a shared network-drive (exact the same entry for each client)
in the paradox-driver tab of the bde-admin
and the dbdir must be pointed to a shared dir (exact the same entry for each client) in the alias defintion.

meikl ;-)
0
 

Author Comment

by:splram
Comment Utility
Thanks meikl for your inputs, my concern is about handling multiple database updates, i'm using locktable, but when more than two people are accessing the database, clients are getting stucked. What I've done is, wrote to functions one to lock and another to unlock the table.

If suppose say two users are trying to update database, whoever gets the lock will continue with database updatations, other users will wait until lock is realsed. When the first user releases the lock using unlocktable, other waiting users get their chance to update the database.

But the above logic is working fine for two users, but when the users are more than two, all clients are stuck.

can u please guide me in this regards

Regards
Y.Rammohan
0
 
LVL 2

Expert Comment

by:PeterLarsen
Comment Utility
If you don't know how to configure a bde client on another pc, you should try InstallShield Express - shipped with delphi.

And a second thing - Remember to use 'transaction' - otherwise the database may get corrupted very easily !!

Regards
Peter
0
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
hi again,

u do not need to use locktable,
because the paradox-engine does automatically a
record-locking. so that users are able to edit records in the same table but not the same record.

meikl ;-)
0
 
LVL 17

Expert Comment

by:geobul
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept kretzschmar's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video discusses moving either the default database or any database to a new volume.
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…

762 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

6 Experts available now in Live!

Get 1:1 Help Now