Subject Re: CHECK FOR OPEN RECORD IN A DBF
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 15 Sep 2017 22:01:15 -0700
Newsgroups dbase.getting-started

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


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm