I have a crystal report that I need to exclude data if condition is met. My formula looks like this but of course does not work. Can you assist me?
{AR_InvoiceHistoryDetail.ItemType} <> "4" and
{AR_InvoiceHistoryHeader.InvoiceDate} = {?Invoice Date Range} and
{AR_InvoiceHistoryDetail.UDF_CC_CODE} = {?CC Code} AND NOT{AR_InvoiceHistoryDetail.UDF_CC_CODE}="OTH")IF (sum({AR_InvoiceHistoryDetail.ExtensionAmt}>0.00)
{AR_InvoiceHistoryDetail.ItemType} <> "4" and
{AR_InvoiceHistoryHeader.InvoiceDate} = {?Invoice Date Range} and
{AR_InvoiceHistoryDetail.UDF_CC_CODE} = {?CC Code} AND NOT{AR_InvoiceHistoryDetail.UDF_CC_CODE}="OTH")IF (sum({AR_InvoiceHistoryDetail.ExtensionAmt}>0.00)