-RO causes an error

John Esak john at valar.com
Fri Jun 3 12:01:23 PDT 2005


> I personally think it is bad form to do any writes
> from automatic processing.
>
> Jeff Harrison
> jeffaharrison at yahoo.com

<beating a dead horse department>
Actually, it is not just bad form... it is bad programming, period. By the
time you are on the automatic table for _any_ reason... the record is
*unlocked*. Therefore, doing any kind of assignment to a real field
*in-the-current-file*, with or without a WRITE statement... is just plain
bad programming and since the record is not locked, niether are the
indexes... and everything is just doubly wrong for "writing to the curent
record on the automatic table".

Writing to another file other than the current file while on an automatic
table is *bad form*. :-)

John Esak

</beating a dead horse department>



More information about the Filepro-list mailing list