Here's one for you. I know how to do this with a load of IIF statements, but would rather avoid that....
I have 2 tables
- Source
- Enhanced
They both have the same fields (12 in each table), and relate through a field in both called [AccountNumber].
What I want to do is create a query that produces one output (Sort of merging them together) - selecting specific records from each table. The simple logic is - if the Enhanced table has a value in a field (not null) then use that value. If Null, use the Source value for the field
Is there some super cool slick way to do this without 11 different IIF"s?
I have 2 tables
- Source
- Enhanced
They both have the same fields (12 in each table), and relate through a field in both called [AccountNumber].
What I want to do is create a query that produces one output (Sort of merging them together) - selecting specific records from each table. The simple logic is - if the Enhanced table has a value in a field (not null) then use that value. If Null, use the Source value for the field
Is there some super cool slick way to do this without 11 different IIF"s?