zero records printing problem
Bob Thomason
roberth at sim-soft.com
Tue Oct 27 09:25:32 PDT 2015
Ken,
Thanks, the FPWGT0 was the missing piece I needed. Works great!!
Bob
On 10/26/2015 2:26 PM, Kenneth Brody wrote:
> On 10/26/2015 2:51 PM, Bob Thomason via Filepro-list wrote:
>> I have a need to print a report and if no records are selected print
>> something like None Selected.
>>
>> I've tried doing do so with @wgt but that does not get processed.
>>
>> I tried with @done. That gets process but does not print. I've even
>> added
>> the print command
>> inside the @done process but still nothing prints.
>>
>> Reading the manual, @done get processed after all printing is done.
>>
>> How do I get a report out of this saying "None Selected"?
>
> As you already noted, @DONE is executed after all printing is done, so
> it's too late to print something there.
>
> Also, @WGT is, by default, not executed if no records are selected.
> However, that default behavior can be overridden by setting "PFWGT0=ON".
>
More information about the Filepro-list
mailing list