Locked Record Issue

Kenneth Brody kenbrody at spamcop.net
Thu Jun 26 11:15:01 PDT 2014


On 6/26/2014 1:35 PM, Nancy Palmquist wrote:
> I put in the
>
> If: locked(file) eq "1"
>
> and I get a syntax error that points at "eq".

LOCKED() returns a boolean, not a number, so it's just:

     If:  locked(file)

[...]
>> You're already 99% of the way there...
>>
>> Add the 'W" flag to the lookup:
>>
>>      Then:  lookup file=myfile k=ke i=e -nxpw
>>
>> Then you can test with:
>>
>>        If:  locked(file)
>>      Then:  ... do something ...

-- 
Kenneth Brody


More information about the Filepro-list mailing list