Printing Field Values only on last page

pfaloney

Well Known Member
One of the requirements I am trying to deal with on invoices is that a certain field only prints in the header section of the last page of an invoice. Normally, for US invoices this is not an issue. However, many of our European offices have invoices that go over 1 page (some US invoices too).

I am trying to figure out how to print the value of a field on that last page.

One thing I tried is to use Page and NumPages in a formula like this:

<?if:pAGE=NUMPAGES?><item><?end if?>

Anyone have an ideas on how to do this?
 
Use the following tags after one another

<?start@last-page:body?>
<?end body?>

Place a section break just before these tags of the type “next page” . BI Publisher will recognize all items below these tags as footer and places them on the last page
 
<?start@last-page:body?> is the best way to do this.. I tried creating a variable and incrementing it on everypage and conditionally controlling it, but in vein.
 
Did you ever get this to work? Im trying to print a variable in the header section of the RTF if its the last page. I keep getting error messages when using the <?start@last-page-first:body?><?end body?> tags. Help would be much appreciated
smile.gif
 
Back
Top