What I am trying to accomplish is to sum all credit card
types into one field, when I use the formula it also
included checks which I do not want. Each field(custivn.MethPay1) can have a different type of payment,.
IF {custinv.MethPay1} = "Amex" or {custinv.MethPay1} = "Master Card" or {custinv.MethPay1} = "Visa" or
{custinv.MethPay2} = "Amex" or {custinv.MethPay2} = "Master Card" or {custinv.MethPay2} = "Visa" or
{custinv.MethPay3} = "Amex" or {custinv.MethPay3} = "Master Card" or {custinv.MethPay3} = "Visa"
THEN Sum([{custinv.InvPaid1},{custinv.InvPaid2},{custinv.InvPaid3}])
ELSE 0
types into one field, when I use the formula it also
included checks which I do not want. Each field(custivn.MethPay1) can have a different type of payment,.
IF {custinv.MethPay1} = "Amex" or {custinv.MethPay1} = "Master Card" or {custinv.MethPay1} = "Visa" or
{custinv.MethPay2} = "Amex" or {custinv.MethPay2} = "Master Card" or {custinv.MethPay2} = "Visa" or
{custinv.MethPay3} = "Amex" or {custinv.MethPay3} = "Master Card" or {custinv.MethPay3} = "Visa"
THEN Sum([{custinv.InvPaid1},{custinv.InvPaid2},{custinv.InvPaid3}])
ELSE 0