Subject |
Re: CHECK FOR OPEN RECORD IN A DBF |
From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
Date |
Sat, 16 Sep 2017 19:06:09 +0530 |
Newsgroups |
dbase.getting-started |
On 16/09/2017 10:31, Ken Mayer wrote:
> On 9/15/2017 7:04 PM, Akshat Kapoor wrote:
>> On 15/09/2017 22:02, ED FURCHE wrote:
>>> ANY WAY TO CHECK FOR A RECORD BEING OPEN BEFORE I TRY TO UPDATE IT???
>>>
>> Check for value of rowset.state
>> it should be able to give you the value you require.
>>
>> See OLH for state property of rowset under rowset class.
>
> State only works for the current user, it doesn't check for a record
> lock if another user has it open ...
>
> Ken
Locks on a network are a tricky issue.
Will beginedit() work. It will try to place locks and return true of
successful.
It seems I will have to revisit chapter 10 on working in shared
environment Book 1.
I went through it once found what was of my use and left the rest.
Regards
Akshat
|
|