Delete command...
Kenneth Brody
kenbrody at bestweb.net
Tue Jul 6 17:56:48 PDT 2004
Nancy Palmquist wrote:
[...]
> DELETE is a peculiar as far as commands go. It is not executed at the
> time it is issued. It is held in reserve and when you finally do an END
> or ESCAPE or whatever makes the end of the record processing happen and
> you are about to go to the next record, then the DELETE is done.
>
> So you could put DELETE on line 1, continue to process for 400 lines and
> when it got to the END of your logic, then the record is DELETED, not
> before.
[...]
Just to further clarify, this applies to DELETE by itself (ie: delete the
current record, which you are currently in the middle of updating) as
opposed to "DELETE lookupname", which will delete the lookup record as
soon as it's executed.
--
+-------------------------+--------------------+-----------------------------+
| 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