Answer Posted / vij
Render Variable: - Specify a variable based on which object
can be conditionally rendered.
Example for Render Variable
if the case is like you want to see the particular page in
HTML or PDF or CSV format then
1)Create 3 pages in your report
2)every page conatins some specific data
3)name these pages as HTML PDF CSV
4)create a String vaiable with 3 values as HTML PDF and CSV
5)now in string variable put expression as .....
case
when ReportOutput() 'HTML' then 'HTML'
when ReportOutput() 'PDF' then 'PDF'
when ReportOutput() 'CSV' then 'CSV'
end
6)now go the page named HTML and select page object
7)in properties pane click on Render Variable select that
string variable
8)check only HTML check box value for HTML page
9)repeat step No. 6 to step No.8 for remaining 2 pages.
now run the report :-)
hope it will answer your question .
regards
vij
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Define report item?
Explain the difference between native sql and cognos sql?
How can create users and permissions in cognos?
What is the difference between a cascading report and drill through report?
Write some methods to apply securities in framework manager model?
actually 2 members working in same module.at a time is possible to work on same module? i add some tables,another person also add some tables how the synchronization betn the two in same module? pls ans me and expain to me.....
What is defined as Query studio?
In my report i want display sales rep name, country ,city how to achieve this by using repeater table
how u will design the report if the objects are available
i have one file i saved in csv how can i take these file into framework manager
hi i need to rename a file in cognos8? can anyone help me out how 2 do it? pls suggest some solution such as using a batch file or using a procedure node or anything to rename the file
how to perform back drill through in cognos 8 what is the use of it
What are all types of Batches?
what is power prompt in cognos ep7series?what is the use of this?
Helow, i have a problem with runing-total function when i use it for a calculate row (for example : i need to diplay a running-total of total units ?)