Hi Jamie,
I appreciate your quick response. The second OR condition you mentioned is exactly what I need. But the issue is with other {Invoice_Details_Prn.sLineCode} line codes. Invoices that don't have if {Invoice_Details_Prn.sLineCode}=["CL"] appear blank when I print them. In the description of the Detail section, I have the following formula in the @DetailJobNumber section highlighted in the image below:
if {Invoice_Details_Prn.sJobNumber}<>{@fmlJob#} and {Invoice_Details_Prn.sLineCode} in ["1", "2", "6","7","Q","Q1"] then
({Invoice_Details_Prn.sDetail})
else
{Invoice_Details_Prn.sDetail}
Thanks,
Amol