 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
srdaniel Guest
|
Posted: Wed Mar 02, 2005 5:26 pm Post subject: Yes, Lock Time Out question |
|
|
I have one customer that has had our software (BDE, Delphi 6). They have
recently started getting a lock time out error on one particular table
(Users.db). All our paradox tables reside on a file server and this
particular table is used pretty much by all the .exe's in the system.
The customer says it pretty much happens when they are idle for a ~15
minutes.
What are some causes of the lock time out error or what should I be
looking for? Mers.com seems to be down again.
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Wed Mar 02, 2005 6:34 pm Post subject: Re: Yes, Lock Time Out question |
|
|
Lock timeout occurs when one client tries to place or release a lock and
another client already has the lock file locked so it can place or release
a lock. In your main form's OnCreate event handler call:
DbiSetLockRetry(3);
This will cause each client to retry the lock for three seconds before
timing out.
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|