subtemplating
Have a look at this,
just adding sub template and calling them based on the concurrent program parameter.
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
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
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
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