Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record is already locked by this session

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I'm working with some code at the moment that runs against Paradox tables making use of standard TTable components along with TQuery components with the RequestLive property set to True.
On occasions we get the error "Record is already locked by this session.". I'm usually able to free this up following some reorgansing of code but I'm curious to know the cause of it. Can anyone enlighten me ?
Steve
 
Try desactive a table in design time and active in event Form.onShow.

It's work fine for me.

[]'s
 
That is being done. The problem lies in the sense that having accessed the record once and worked with it, when we return to it we get the message as indicated above.
Steve
 
You FLUSH and closed the table on exit? (use onClose)
Test that...

And........ Sorry by my BAD english....
I'm don't know write english....

[]'s of Brazilian guy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top