v processing question

Kenneth Brody kenbrody at bestweb.net
Mon Jun 21 10:54:24 PDT 2004


Greg Widdows wrote:
> 
> Ken,
> 
> If you are running a report with the '-u flag', doesn't the processing
> stop at a record that is currently being modified and continue when the
> modification is finished?

During the output phase, yes.  During the sort/select phase, the records
are not locked, and will not stop at a locked record.  (Just as *clerk
can show a record that someone else is currently updating.)

> So, to update a record using the 'write'
> wouldn't be possible while the record is being modified, but would after
> the modification is finished or am I missing something?

Since you will have read the old version of the record, you will then be
writing a stale version of the record upon WRITE.  As I said, this is
the same thing as modifying an unprotected lookup when someone else is
updating the record at the same time.

-- 
+-------------------------+--------------------+-----------------------------+
| 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