Basically, I am trying to sum a field in Crystal and it is not working. I am placing it in the Report Footer. If the groupname SalespersonNo is not like ZZ* then sum the extension amount.
if not ((GroupName ({AR_Customer.SalespersonNo})like "ZZ*")) then Sum ({AR_InvoiceHistoryDetail.ExtensionAmt}, {AR_Customer.SalespersonNo})
Can someone tell me what is wrong please?
Thanks so much.
if not ((GroupName ({AR_Customer.SalespersonNo})like "ZZ*")) then Sum ({AR_InvoiceHistoryDetail.ExtensionAmt}, {AR_Customer.SalespersonNo})
Can someone tell me what is wrong please?
Thanks so much.