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

[sqr-users] Print footer on last page of letter



Hi all,

I have a few set of letters that is required to print footer on every pages 
but a different footer on last page of letter. All footer printed are coded 
in the begin-footing section.

I have searched through the forum and find out the after-report=fin-report. 
But the thing is how can I code in order for this to point to the 
begin-footing 100 name=footerlastPg. Because if I print the details in the 
fin-report procedure. it seems it is printed in the detail section and is 
not aligned with all other pages. I need to standardised all.

The following is my code:

Begin-Setup
Declare-Layout Default
  Orientation = Portrait
  Paper-Size = (A4)
  Top-Margin    = 0.591
  Bottom-Margin = 0.591
  Left-Margin   = 0.591
  Right-Margin  = 0.591
  Line-Height = 1
  Char-Width  = 1
End-Declare

declare-procedure
after-report=fin_report
end-declare

End-Setup


begin-footing 50
Print 'This is the footing' (10,20)
end-footing

begin-footing 100 name=footerlastPg
Print 'This is the footing on last page' (20,20)
end-footing

!******** This procedure does not have effect in the footing section on last 
page**********
begin-procedure fin_report
   alter-report footing=footerlastPg
end-procedure

Will appreciate all of your help. Thanks.

Regards,
Serene

_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage 
http://join.msn.com/?pgmarket=en-sg at only S$36 including GST

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