jasper reports - Print When Expression when column shows certain data -
i have view called vw_print mr, has column called docstatus, there 3 types of values in docstatus, 'co','cl','dr.
i've tried synchronize view jasper report.
how can print "documents approved" when docstatus co , 'document has not approved yet' when 'docstatus' 'dr' ?
i've tried putting $f(vw_printmr_docstatus)='co' in print when expression won't work.
it works! :
$f{vw_printmr_docstatus}.replace("co","document completed").replace("dr","document has not approved").replace("cl","document closed").replace("ap","document partially approved").replace("in","document invalid")
Comments
Post a Comment