The @entsel flag

Kenneth Brody kenbrody at bestweb.net
Sat May 1 15:50:29 PDT 2004


John Esak wrote:
> 
> What are the implications of running two processes on the same file using
> the -xe flag. Both files show 0 when you test to see the record
> 
>     show "@@rn=" < @rn
> 
> Do niether of these or both lock record 0?  It all seems to work always with
> more than one user, but am I missing something?

An @RN of zero means you're not on a record.  (Which is true in this case,
since the "-xe" flag tells filePro to run @ENTSEL before anything else.)

In any case, @ENTSEL is not run in update mode, so the record is not locked.

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody at spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+


More information about the Filepro-list mailing list