Solved

Lock a record...

Posted on 1997-05-15
1
208 Views
Last Modified: 2010-04-04
When using a TTABLE with PARADOX or Dbase, can i "lock"
a specific record (and not the whole table) to prevent
access to my current record from other users ?
0
Comment
Question by:magid
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 50 total points
ID: 1336302
Yes, just use SomeTable.Edit to lock and SomeTable.Cancel when done. While editing other users can only read the record. If you use SomeTable.Edit and the record already is locked, you will get an exception.

Regards,

Erik.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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 …

776 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