Home » Developer & Programmer » Reports & Discoverer » Calling one rdf in another rdf design (Oracle Reports 10g)
Calling one rdf in another rdf design [message #637300] Thu, 14 May 2015 09:05 Go to next message
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 #637308 is a reply to message #637300] Thu, 14 May 2015 11:46 Go to previous messageGo to next message
Michel Cadot
Messages: 67446
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Don't you see we have a Reports forum? You know the one where you already posted some questions.
And General one is for "General Oracle discussions that don't belong in any other forum.".

[Updated on: Thu, 14 May 2015 11:48]

Report message to a moderator

Re: Calling one rdf in another rdf design [message #637309 is a reply to message #637308] Thu, 14 May 2015 12:00 Go to previous messageGo to next message
ORA2015
Messages: 49
Registered: March 2015
Member
I'm sorry. but i was simply just trying my luck as none were answered yet. Hope that isn't a big thing Smile
Re: Calling one rdf in another rdf design [message #637310 is a reply to message #637309] Thu, 14 May 2015 12:05 Go to previous messageGo to next message
Michel Cadot
Messages: 67446
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

You will less likely have an answer in the wrong forum.
I don't know what is a rdf file and my first answer was to ask you what it is when I saw the end of your title.
Doing so you waste others time and help. The time we spend to manage your posts is time we don't spend to help.

Re: Calling one rdf in another rdf design [message #637311 is a reply to message #637310] Thu, 14 May 2015 12:06 Go to previous messageGo to next message
ORA2015
Messages: 49
Registered: March 2015
Member
I'm sorry again. But thanks
Re: Calling one rdf in another rdf design [message #637330 is a reply to message #637300] Fri, 15 May 2015 02:32 Go to previous message
Littlefoot
Messages: 21610
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
ORA2015 wrote on Thu, 14 May 2015 16:05
Hello,
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');

Previous Topic: Display Dynamic image in report 6i
Next Topic: REP-1258 GROUP G1 has no columns
Goto Forum:
  


Current Time: Thu Oct 22 02:17:20 CDT 2020