To create a boilerplate object for text that displays every other page:
Create a boilerplate text object where you want it to appear on the page, either in the margin, or in a repeating frame (expand the repeating frame to make room for the boilerplate text, below the fields in the repeating frame).
Double-click the boilerplate text object to display the Property Inspector. Under the Advanced Layout node, set the Format Trigger property by typing the following code in the PL/SQL Editor:
function XXX_FormatTrigger return boolean is page_num number;
begin
srw.get_page_num(page_num);
if mod(page_num, 2) = 0 then
return(false);
else
return (true);
end if;
end;
Run the report to see the boilerplate text appear every other page.
About Parameter Form boilerplate
Creating a boilerplate object for text
Referencing a field in boilerplate text
Linking a text object to a file
Copyright © 1984, 2005, Oracle. All rights reserved.