Calling one rdf in another rdf design [message #637300] |
Thu, 14 May 2015 09:05 |
|
ORA2015
Messages: 49 Registered: March 2015
|
Member |
|
|
Hello,
Is there any way, one rdf can call another rdf at the point where the file formats are specified. I would like a report to display a group left format when pdf is selected and a tabular format when the excel is chosen.
|
|
|
|
|
|
|
Re: Calling one rdf in another rdf design [message #637330 is a reply to message #637300] |
Fri, 15 May 2015 02:32 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
ORA2015 wrote on Thu, 14 May 2015 16:05Hello,
I would like a report to display a group left format when pdf is selected and a tabular format when the excel is chosen.
Try to put field (which is used as a GROUP LEFT field) into the "right" repeating frame so that it will be duplicated, something like
DEPT DEPT EMP
10 10 1234
10 3535
20 20 1244
20 2512
20 5435
| |
| duplicated DEPT within the "right" frame
|
"group left" DEPT
You'll then have to create format triggers for both DEPT fields which will (not) display it, depending on requested layout, such as
-- format trigger on "group left" DEPT field:
return (:par_layout = 'PDF');
-- format trigger on "right" frame's DEPT field:
return (:par_layout = 'EXCEL');
|
|
|