If we run a report, that has 2 pages, i want to display one
page in HTML format and another page wil display in pdf
format. What is the procedure?

Answers were Sorted based on User's Feedback



If we run a report, that has 2 pages, i want to display one page in HTML format and another page w..

Answer / varun

use report function

case
when report output()='PDF' then 'PDF'
when report output()='HTML' then 'HTML'
end


use this condition in rendor variable then u ll get

Is This Answer Correct ?    11 Yes 0 No

If we run a report, that has 2 pages, i want to display one page in HTML format and another page w..

Answer / lakshmi reddy

drag string variable and write expression like this

reportOutput()
and add html and pdf to string variable

click on page explorer select page1 apply render variable
select string variable allow html and hide pdf next select
page2 allow pdf and hide html and run the report

if u run the report in html it will show page1 only and so
on....

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Cognos Interview Questions

How to do Performence Tunning in Cognos Reports?

0 Answers  


HI,can one suggest best institute for cognos Training in Hyderabad

14 Answers  


how u migrate reports to cognos 8 from previous versions

3 Answers   TCS,


hi guys, i think this would be a simple question but i was asked. what is total time taken to develop a report from getting requirement document from the client? dont reply as it depends,i am expecting something else.

2 Answers   WNS,


What is render variable?Where do you exactly use in developing a report?

3 Answers   IBM,






what is hints in cognos and where we use it.

0 Answers   Satyam,


-------------How to do Bursting a Report?

1 Answers   Cap Gemini,


Hi All, Is there any way to check whether a value is selected in a Multi-select tree prompt? I have a tree prompt and want to get to know whetehr which values user has selected,i want to so that values on the top of the report. I Have used that paramDisplayValue('paramername'),But it will display only last selected value. For Example i have tree prompt with one level Region- >country->states If user select region Asia it will dislay the all the Countries in that region and then if user select India it will display the states related to india only Suppose Hierachy look like this: Asia->India->Andhra Pradesh. I want to show this hierachy on the top of the report How it is possible? Can you please help me?

0 Answers   IBM,


What is snapshot ?

4 Answers   IBM, TCS,


what is catalog and types of catalogs in cagnos and which is better?

0 Answers   IBM,


What project,model,parameter maps,namespace and database definitions....... what these are all contains? what are differences b/w them?

0 Answers   IBM,


What is the function of model design accelerator?

0 Answers  


Categories