I am using a query to pull data from a tbl. In the query I want to update the names in a specific field.
Example Card# 123 to Card and Phone with Cord to Phone
Couple of things I tried to no eval:
Dealer_Name: IIf([Dlr_Name]="Carmax #","CarMax",IIf([Dlr_Name]="DriveTime","DriveTime",[Dlr_Name]))
Dealer_Name: IIf([Dlr_Name] Like "Carmax #","CarMax",IIf([Dlr_Name] Like "DriveTime","DriveTime",[Dlr_Name]))
I am trying to keep from creating a tbl and then updating there, would like to do it all in the select query.
Any help is appreciated.
Example Card# 123 to Card and Phone with Cord to Phone
Couple of things I tried to no eval:
Dealer_Name: IIf([Dlr_Name]="Carmax #","CarMax",IIf([Dlr_Name]="DriveTime","DriveTime",[Dlr_Name]))
Dealer_Name: IIf([Dlr_Name] Like "Carmax #","CarMax",IIf([Dlr_Name] Like "DriveTime","DriveTime",[Dlr_Name]))
I am trying to keep from creating a tbl and then updating there, would like to do it all in the select query.
Any help is appreciated.