subtemplating

Have a look at this,

just adding sub template and calling them based on the concurrent program parameter.


<?param@begin:ReportType;string(‘YS’)?>
<?choose:?>
<?when: $ReportType =’YES’?>
<?call:TC1?>
<?end when?>
<?when: $ReportType =’NO’?>
<?call:TC2?>
<?end when?>
<?otherwise:?>
<?call:TC2?>
<?end otherwise?>
<?end choose?>






Run with ReportType as NO or other than YES.
You should get the result as follows



Run with ReportType YES.
You should get the result as follows

Comments

Anonymous said…
Nice Blog!
I have a situation where in a particular field in my header has to display different strings based on whether the field is empty or not. COuld you explain how it could be acheived using parameters? And how do I assign new value to already declared parameter?
Thanks
Anonymous said…
Nice Blog!
I have a situation where in a particular field in my header has to display different strings based on whether the field is empty or not. COuld you explain how it could be acheived using parameters? And how do I assign new value to already declared parameter?
Thanks

Popular posts from this blog

Repeat Table Header in all pages in BIP

Configure Concurrent Reports to be run

Limit rows per page