Hi everyone... i have these codes
IF DTOC(Start) = " / / "
REPORT FORM TransReport FOR Details.TransCode = tipis TO PRINTER PROMPT PREVIEW
ELSE
REPORT FORM TransReport FOR Details.TransCode = tipis AND SUBSTR(DTOC(details.deyt),1,10) => DTOC(start) ;
AND SUBSTR(DTOC(details.deyt),1,10) =< DTOC(ind) TO PRINTER PROMPT PREVIEW
ENDIF
its working fine... but i want to put a message when nothing meets the criteria or nothing is to be displayed... How would i do it? Please help... Thanks...
IF DTOC(Start) = " / / "
REPORT FORM TransReport FOR Details.TransCode = tipis TO PRINTER PROMPT PREVIEW
ELSE
REPORT FORM TransReport FOR Details.TransCode = tipis AND SUBSTR(DTOC(details.deyt),1,10) => DTOC(start) ;
AND SUBSTR(DTOC(details.deyt),1,10) =< DTOC(ind) TO PRINTER PROMPT PREVIEW
ENDIF
its working fine... but i want to put a message when nothing meets the criteria or nothing is to be displayed... How would i do it? Please help... Thanks...