Printing Header/Title Lines Only One Time on a report

John Esak john at valar.com
Sat May 29 11:45:58 PDT 2010


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
> 
>  
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> http://mailman.celestial.com/pipermail/filepro-list/attachment
s/20100528/e7659c2f/attachment.html 
> _______________________________________________
> 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