Solved

Lock a record...

Posted on 1997-05-15
1
212 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
When I am typing into a TEdit last word repeats 7 158
Working with hours 3 72
Drag & Drop... Data from one grid to another 2 47
Firemonkey Tcameracomponent resultion 1 20
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

713 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