Bug in @DONE?
Kenneth Brody
kenbrody at bestweb.net
Wed Feb 21 07:35:47 PST 2007
Quoting Fairlight (Tue, 20 Feb 2007 22:12:46 -0500):
> fP 5.0.14D4, SCO 5.0.6
>
> Weirdest thing. Using rreport, someone had a problem with their code
> not working correctly for an empty output format. And I do mean
> empty...no characters in any section. Here's how I understand it
> (roughly):
>
> There was a processing table being run for sort/selection, and it was
> very simple, just a select;end.
>
> For the output processing, they had a table that had an @DONE section.
> This whole thing worked fine when there were records selected. However,
> if no records were selected, they were getting the error "lp: no printer
> specified".
[...]
> Turns out, if I set PFWGT0=ON and changed @DONE to @WGT, it miraculously
> started working in both cases, not just the one case. The problem
> entirely went away, rreport started exiting with proper 0 exit code.
[...]
What is in the @DONE (now @WGT) event?
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list