I am not able to add NO DATA FOUND condtion in my report, i am repeating the line group for each section of the header, but when i am placing the no data found condtion it is not working please help me on this.
<?if@section:count(G_HEADERS)=0 or not(INVOICE_NUMBER)?>NO DATA FOUND <?end if?>
My header data
Please help me on this.
Sri , please find the sampll XML file, i think it is causing problem with the for each section clause in RTF.
please find the sample XML.
<?xml version="1.0" encoding="UTF-8"?>
Thnaks AlexAnd for the reply,
Actually i need to use @section because i am getting dynamic data in the header and for each header section i need to repeat, so is ther any solution to handle it by using @section
try to use subtemplate
check have you data or not
if have then call subtemplate with @section if haven't then call subtemplate without @section
Sri S asked sample xml, so for your sample no need section context
Thanks AlexAnd for the details, what ever i tried was correct only, but forgot to add a section break after the below code
<?if@section:count(G_HEADERS)=0 or not(INVOICE_NUMBER)?>NO DATA FOUND <?end if?> at top of my RTF, now it is working fine.