I am looking for some help to solve an issue with duplicates being pulled from the ODBC tables that I am using. Just as some background, our database has the option for multiple salutation codes on a single account. Not all of the accounts that I need to pull have the preferred salutation that I need.
The end product that I would like to show is:
IF "Preferred" exists, show that salutation,
if "Preferred" does not exist, show "default".
At the moment, I am getting the default for all accounts and duplicates for those with a preferred salutation using this statement:
=IIf([SALUTATION_CODE]="PREFERRED","PREFERRED","DEFAULT")