How would I format the printWhenExpression to print IF NOT "A" or not "B"?

0

My customer is printing a Work Order Traveler that goes from station to station for each Operation Step. The person doing the work initials the Traveler for the number of pieces completed and date completed.

There are two Op Codes that do not require personal signoff's when completed. Currently, ALL Operation Step have signoffs. This has caused a problem for the Auditors when they see Work Order Operations with missing

signoffs.

I'm new to JasperReports and do not know how to correctly format the <printWhenExpression> in this scenario.

Thanks in advance for your help.

 

alan.jacobssmith's picture
Joined: Jul 17 2020 - 7:53am
Last seen: 3 days 17 hours ago

1 Answer:

0

If you are in a current Jasper version, I would assume

<printWhenExpression><![CDATA[IF(OR(NOT(A),NOT(B)),true,false)]]></printWhenExpression>

substituting A and B appropriately.

matthias.budde's picture
Joined: Jul 14 2020 - 4:28am
Last seen: 58 min 44 sec ago
Feedback