[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Page numbering in report



Thanks for your prompt reply.
   But I figure out how to do it. Here is the sample:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Footer Section
!       Prints Page X of Y
Begin-Footing 2
        Print 'Page ' (1,1)
        Print #page-count (, +25) Edit '99'
        Print ' of ' (, +10)
        Print #lastPage (,+20, 400)  delay edit '99'
        if $lastRec = 'Y'
                set-delay-print #lastPage with #page-count
                let #page-count = 0
        End-if  
End-Footing

begin-procedure ReadInput
!  Here Goes another code
        let $lastRec = 'N'
        Do Report($arg1,$arg2)
        let $lastRec = 'Y
!Here goes another code
End-Procedure   !ReadInput
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I checked it and its working fine.

Once again thanks to all of you and Sorry if I have
bothered you.

D Patel
Consultant
--- NEDOLPH@aol.com wrote:
> are the reports always 2 pages long?
> if not, is there any contextual way of knowing
> BEFORE you print them, how 
> long they will be?
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users