BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Yes, Lock Time Out question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
srdaniel
Guest





PostPosted: Wed Mar 02, 2005 5:26 pm    Post subject: Yes, Lock Time Out question Reply with quote



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





PostPosted: Wed Mar 02, 2005 6:34 pm    Post subject: Re: Yes, Lock Time Out question Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.