Solved

Multi-user Paradox

Posted on 2001-09-04
5
413 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
ID: 6455840
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
ID: 6456014
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
ID: 6456067
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
ID: 6456141
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
ID: 9295344
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
proper way to parse text with delphi 7 121
Send message from delphi to whatsapp, is it possible? 3 1,443
oracle global variables 4 68
Error E2158 compiling with Delphi XE10 Seattle 2 100
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…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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