Printing Header/Title Lines Only One Time on a report
Scott Walker
ScottWalker at RAMSystemsCorp.com
Sat May 29 15:49:49 PDT 2010
Bruce,
Thanks for the idea. I'd given it some thought and if I since I've used the
method John describes before I'm going to go that way. It's a lot of work,
but it's a known entity....I'm positive it will work. The way you're
describing might work but since I've never done it that way, it's an
unknown...there may be a show stopper somewhere that I won't find until I'm
hip deep.
Thanks again.
Regards,
Scott
-----Original Message-----
From:
filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com
[mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.
com] On Behalf Of Bruce Easton
Sent: Saturday, May 29, 2010 5:14 PM
To: filepro-list at lists.celestial.com
Subject: Re: Printing Header/Title Lines Only One Time on a report
I've always used the techniques that John described. But I've been
wondering if you could also employ the PFONEHEAD env. var at the same
time - keeping your 32-line main heading as-is in the heading section,
and putting your three-line header into dummies in the data section - so
that filepro w/PFONEHEAD controls only your larger heading appearing on
just the first page. I've never tried this combination, but maybe
someone else has and can comment. Of course anytime you start using the
data section for conditionally outputting all/part of heading, your
processing should decide when to page-break and make a new heading vs.
when to squish away and make the real 'data' lines.
Bruce
Bruce Easton
STN, Inc.
On 5/29/10 2:45 PM, John Esak wrote:
> Hate to say it, but I've been doing exactly that foerever... Not just
> putting all the header into variables (as well as data, subtotals and
totlas
> area), but also working for a living. :-)
>
> Unfortunately, that is the only way, but it gets easier and easier. The
two
> methods are to put each thing into a variable of its own, or put one
> variable per line and construct the variables in processin.
>
>
> ABC Company 10/23/10
> 123 Street Page: 31
> Report of Invoicews
>
> Date Inv# Client Amount
> ----------------------------------------------
> *d *I *c *a
>
>
> Could be done either as:
>
> *aa *@td
> *bb *pn
> *cc
>
> *dd *ii *cu *am
> ----------------------------------------------
> *d *I *c *a
>
> Or sometimes it's easier to do:
>
> *a
> *b
> *c
> *d
> *e
> *f
> *d *i *c *a
>
>
> And you just concatenate/build the variables for each line of the header
> that you want. Even the line of dashes, and blank lines... Clear these
> variables on the pages you don't want them... The above method leaves the
> data line in separate variables. This is sometimes useful to make use of
> the filePro =subtotal and =total feature. If you carry your own toatals
in
> the processing, you can make these single line variables as well.
>
> HINT: If you have certain lines n the data area that have to be lear
> sometimes and filled at others, and you want those lines to remain
blank...
> If you use the close up blank lines function, they will close up when you
> don't want them to because filePro will see them as empty. Just fill
lines
> you want to stay blank with a chr("13"). This will just be a carriage
> return and do nothing but keep the line empty. FilePro wqill not close it
up
> because it thinks there is something there.
>
>
>> -----Original Message-----
>> From: filepro-list-bounces+john=valar.com at lists.celestial.com
>> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
>>
> m] On Behalf Of Scott Walker
>
>> Sent: Friday, May 28, 2010 11:55 PM
>> To: filepro-list at lists.celestial.com
>> Subject: Printing Header/Title Lines Only One Time on a report
>>
>> I have a report format.
>>
>>
>>
>> The heading/title lines section has about 32 lines. On the
>> first page of
>> the report I want to print all of them. On subsequent pages
>> of the report I
>> only want to print the first 3 lines of it.
>>
>>
>>
>> I know a heading this big does not make sense, but it's grown
>> over the last
>> 20 years to take so many lines. I would not have designed it
>> this way it I
>> was doing it from scratch.
>>
>>
>>
>> The only way I can think of to do this is to stuff everything
>> into dummy
>> variables for the first page, and only stuff a few things into dummy
>> variables for subsequent pages. I'll have to put the field
>> labels and the
>> data into the dummy variables& I think this is going to be a
>> real pain to
>> get everything lined up. Then I'll tell fp to remove
>> unwanted blank lines.
>>
>>
>>
>> Is there an easier way or do I actually have to work for a living?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Scott
>>
>>
>>
>>
>>
>> Scott Walker
>>
>> RAM Systems Corp
>>
>> (704) 896-6549
>>
>> ScottWalker at RAMSystemsCorp.com
>>
>>
>>
>
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list