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

2. We have asked to create a repots showing sales by region in order to determine which regions are generating the most revenue and highest sales volume. The report needs to include the revenue and quantitiy sold of each subcategory with in category.

0 Answers   HCL,


how to handle multifact?

2 Answers   IBM,


what are the errors faced while bursting the reports and how to solve those errors?

0 Answers   EDS,


what is the difference between application based and web based in cognos?can you please give a example from out of EP 7 series and 8 series?genrel exampel please?

2 Answers   HCL,


actually my qus is i used some tables in my model,i published that to connection i use that one.at the same way my team member added some new tables and again he published how can i get my model in connection pls pls explain me..........

1 Answers  






how to create average on totals of different departments employees salary...? consider we have 3 dept and in each dept 10-15 workers i need to get the totals separately for each dept and average of there totals..help me pls

2 Answers   Patni,


what are determinants?

4 Answers   Dominion,


HOW TO DEVELOPE THE DRILLTHROUGH REPORTS?

4 Answers   IBM, TCS,


----------How to cretae a Template?

4 Answers  


What is Merging, Segments and porting in Framwork Manager?

3 Answers   Nike,


What is power prompts?Can somebody explain me.

2 Answers  


how can I test reports in cagnos?

0 Answers   IBM,


Categories