Home » Developer & Programmer » Reports & Discoverer » Help in Reports... (Report Builder 6i)
Help in Reports... [message #308917] Tue, 25 March 2008 23:24 Go to next message
omarq
Messages: 8
Registered: May 2006
Junior Member
Hello guys.

My problem is that i want to print a multi page report and i want a different title on each page. the problem is that i am using the "System Parameters - Copies" in order to define the number of copies. which means that the number of copies will be defined while printing. so how can i change the title while the report is been send to the "Print Job" ?

Thanks in advance.
Re: Help in Reports... [message #308952 is a reply to message #308917] Wed, 26 March 2008 01:08 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Here's an idea: create a (report) package and package variable which will be used as a page counter. Modify its value in BETWEEN PAGES report trigger and, accordingly to its value, set page title.
Re: Help in Reports... [message #309009 is a reply to message #308917] Wed, 26 March 2008 04:01 Go to previous messageGo to next message
omarq
Messages: 8
Registered: May 2006
Junior Member
Thanks allot....

thats a nice idea, ill try it......

but i think i cant return any value from the TRIGGER(BETWEEN PAGES) SINCE it only returns boolean.

[Updated on: Wed, 26 March 2008 04:03]

Report message to a moderator

Re: Help in Reports... [message #309063 is a reply to message #309009] Wed, 26 March 2008 06:15 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
That's why you should use a package variable, modify its value and check it in order to display a title. Never mind the fact that the function (a trigger, actually) returns Boolean; you don't really use it anywhere.
Re: Help in Reports... [message #309259 is a reply to message #308917] Wed, 26 March 2008 23:02 Go to previous message
omarq
Messages: 8
Registered: May 2006
Junior Member
I almost got you... i will try it.

thanks for the help Smile
Previous Topic: Discoverer eul and 11i business suite
Next Topic: Null Value
Goto Forum:
  


Current Time: Tue Nov 26 22:40:18 CST 2024