Wednesday 22 April 2020

How to check not null in rtf

How to check not null in rtf



In this post , We will be discus about how to check not null in rtf. if we want to check not 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 the texts in the rtf templates. Using if condition in rtf template we can can check not 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 how to check not null in rtf.

How to check not null in rtf
How to check not null in rtf

Complete syntax about how to check not null in rtf

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 if 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 how to check not null in rtf


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

Example Using the xdofx syntax to check not null in rtf


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

How to check not null in rtf
How to check not null in rtf





0 comments:

Post a Comment

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

Name

Email *

Message *