Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / dhanu

Render Variable: - Specify a variable based on which object can be conditionally rendered.

Style Variable: - Specify a variable based on which object can be conditionally styled.

Example for Style Variable

In a report in a list if u want to display every alternate row with particular color
in this case
1) create a data item with name running-count with function "running-count" on particular unique column
2) now create one more data item as mod with functon "mod" on that running-count data item
3)create a boolean varibale with expression mod 1
4)go to the page select List column Body style
5)In properties pane select Style Variable as boolean variable
6)click on YES variable and set its Foreground color as RED
7)click on No variable and set its Foreground color as Yellow
now run the report



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.

Is This Answer Correct ?    6 Yes 0 No

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

Answer / srini madhala

When you hide an object, the
object exists but is transparent. If an object is not
rendered, it is not in the report.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / the_xxx

Render variable is used to conditionally hide particular
part of the report like column, Summary, footer, header
e.t.c. By using Style variable also we can achieve this, By
setting the property Box Type to 'None' for a particular
part of the report after selecting a condition variable (
Boolean or String) as Style variable. And we can perform
conditional formatting by using Style variable for Report
columns and this cannot be achieved by using Render
variable. For both Render and Style variable we have to
define and use either Boolean variable or String variable in
Conditional Explorer. I hope you understand the difference.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Cognos Interview Questions

suppose if u r report having 1000 tables i want to dispaly alternate rows means 1,3,... how we specify that pleaes ans me

2 Answers  


How to find out OLTP data OLAP data ? i.e 5 years data is OLTP or OLAP. please anybody help me...

2 Answers   HCL, IBM,


It is possible to select more query items in value prompt? i.e when i use drag down i want to display these items like customerid in customer query subject, employeeid in employee query subject and orderid in order query subject..?becoz i want u display when i select a value(ex:customerid)in value prompt ,i need to display another report for all details customer.So, i need how to link for that process...? pls tel me any one knows ,i want to create that report..? thanks , basha

0 Answers  


what is cardinality that you can give to employee and department query subjects in framework manager?

2 Answers   HCL,


how can we Upgrad the reports from version Impromptu 6.0 to 7.0 and Power Play from version 6.6 to 7.0 ?

0 Answers  


where do we see the run time of the report ?

2 Answers  


Report studio has two SQL tabs one native SQL and another one cognos SQL which one is get more preference? which one we need to consider?

7 Answers   Blue Cross Blue Shield Association, TCS,


How to create users and permissions in cognos?

4 Answers   IBM,


what is report burn and where it occurs

3 Answers   IBM, Target,


16. How can we create top 10 and bottom 10 records in the same list?

9 Answers   TCS,


How to do Performence Tunning in Cognos Reports?

0 Answers  


if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used in report, what is the sql code? give me example?

3 Answers   ComNet,


Categories