jrhessey
IS-IT--Management
- Feb 25, 2005
- 37
I'm connecting to a MAS90 DB and using the following formula in CR 8.5.
if {AR_90_UDF_ARCustomer.Credit_Hold} = "Y" then "CH"
else
if {AR_90_UDF_ARCustomer.Cash_In_Advance} = "Y" then "CIA"
else
if {AR_90_UDF_ARCustomer.Cod} = "Y" then "COD"
else
if {AR_90_UDF_ARCustomer.Credit_Watch} ="Y" then "CW"
else
if {AR_90_UDF_ARCustomer.Do_Not_Sell} = "Y" then "DNS"
I've used a formula like this before for dates on a single field and it's always worked fine. I'm using multiple fields now, and it only returning the first field in the formula, Credit_Hold. If I switch it to COD then the cod text works. How can I get it to return fields that equal yes no matter where they are in the formula? Thanks for any ideas!
if {AR_90_UDF_ARCustomer.Credit_Hold} = "Y" then "CH"
else
if {AR_90_UDF_ARCustomer.Cash_In_Advance} = "Y" then "CIA"
else
if {AR_90_UDF_ARCustomer.Cod} = "Y" then "COD"
else
if {AR_90_UDF_ARCustomer.Credit_Watch} ="Y" then "CW"
else
if {AR_90_UDF_ARCustomer.Do_Not_Sell} = "Y" then "DNS"
I've used a formula like this before for dates on a single field and it's always worked fine. I'm using multiple fields now, and it only returning the first field in the formula, Credit_Hold. If I switch it to COD then the cod text works. How can I get it to return fields that equal yes no matter where they are in the formula? Thanks for any ideas!