Wednesday 22 April 2020

Null condition in rtf template

Null condition in rtf template

In this post , We will be discuss about Null condition in rtf template.if we want to null conditions in the rtf template , then we can use if condition in rtf template. if condition in rtf template is the syntax provided by oracle , which we can use in the rtf template to conditionally display the layouts and handling the null conditions in rtf templates. Using if condition in rtf template we can can check null condition in rtf templates. IF condition helps to meet the conditional business layout requirements in rtf template. Here below we will be discuss in more about Null condition in rtf template.
Null condition in rtf template
Null condition in rtf template

Complete syntax about Null condition in rtf template

Here below is the syntax provided by oracle to check not null in rtf

These are the below , two tags provided to use the if else in rtf template

<?IF?>

<?END IF?>

Example using Null condition in rtf template

Here in the below Example , P_FLAG is the XML attribute. Whose value is changing as per the report output. 

Here we can trying to put condition if _FLAG<>'' then 'Error' will print

 <?if:P_FLAG<>''?>Error <?end if?>

xdofx syntax for Null condition in rtf template


<?xdofx:if element_condition then result1 else result2 end if?>

Example for Null condition in rtf template

<?xdofx:if PO_STATUS<>'' then 'No Approval Status'
else
if PO_STATUS ='Y' then 'Approved'
end if?>


Null condition in rtf template
Null condition in rtf template


0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *