Print Report Header, No Records
Bruce Easton
bruce at stn.com
Wed Nov 18 06:18:33 PST 2015
On 11/18/15 12:59 AM, Bruce Easton via Filepro-list wrote:
> On 11/17/15 8:07 PM, Jim Asman via Filepro-list wrote:
>> Is there an easy way to force a report header to print even
>> those no records were selected?
>>
>> I thought that maybe a print command in @done processing might
>> do it, but that doesn't appear to work.
>>
>> I can do this the hard way, but I thought I would ask first.
>>
>> Thanks,
>>
>>
>>
>> Jim
>> --
>> jlasman at telus.net Spectra Colour Services Ltd.
>> Phone: (604)584-0977 Surrey, BC CANADA
>> Cell: (604)619-0977 www.spectracolorservices.com
>>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
> Ken replied to someone recently about this with:
>
> '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".'
>
>
> Bruce
>
>
> _______________________________________________
>
>
Additionally, ever since this came up recently, "@wgt0" kept ringing a
bell (as a label). I don't see anything about it in help anywhere, but
maybe I missed something. It seems I've used it in a number of places.
Also, evidently I've I used it on a system where "PFWGT0" is not set.
It looks like it's a label that filepro respects as a trigger since I
don't see anything on my part allowing flow to the label.
I don't see any examples where I've used it to try to add something to a
print destination. Looks like I've only used it for appending to a file
write via writeline and close; or issuing html commands to wrap
something up. So maybe filepro does see this as a trigger when no
records are selected, but can't use it by itself for appending to print
destination. Granted, this is still BC (before coffee).
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the Filepro-list
mailing list