jomarelectric
IS-IT--Management
i'm trying to create a commissions report. there are two types of invoice in the sales tbl: one begins w/ a 'C' (for cash sales) & the other w/ a "0" (account sales).
the commission amount is different depending on the sales type (i.e., C or 0).
i need two seperate totals in my footer. am i on the right track. something like:
if {INIH.INVOICE} startswith "C" then {SACR.COMPER2};
else
If {INIH.INVOICE} startswith "0" Then {SACR.COMPER1};
any help would be appreciated.
the commission amount is different depending on the sales type (i.e., C or 0).
i need two seperate totals in my footer. am i on the right track. something like:
if {INIH.INVOICE} startswith "C" then {SACR.COMPER2};
else
If {INIH.INVOICE} startswith "0" Then {SACR.COMPER1};
any help would be appreciated.