Reset @pn

Nancy Palmquist nlp at vss3.com
Fri Nov 3 12:07:08 PST 2006


GCC Consulting wrote:
> I have a report which does a form feed when the name code changes.  This is
> at break 3
> 
> I want to reset the page number for each person the report print for.
> 
> When I tried 
> 
> @wbrk3  if:
> 	then: Print
> 	  if:
> 	then:reset @pn
> The last page to print # for this person was reset to 1.
Richard,

I would execute the reset with logic like this:

@rs eq "1"
reset @pn

Put at top of processing - assumes @wbrk3 is the most significant sort.

Nancy

> 
> I then changed the programming to
> 
> P_num ne number
> Reset @pn;p_num=number
> 
> When the report runs, the starting page number for this person is 2.
> 
> Any suggestions as to how to get the first page to be 1 and not 2?
> 
> Richard Kreiss
> GCC Consulting
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 
> 


-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com


More information about the Filepro-list mailing list