This is an odd one. I have always achieved this by somewhat less than graceful means. I suspect there is a better way to do this. I am wondering if it can be done in a single query versus creating multiple queries and then bringing together into the final product.
generically speaking: I have a table with three fields: policy1, policy2 and policy3. Any of the fields can have the same value for any one of the records on the table. Meaning: I might have two records like this:
Account#----policy1-----policy2-----policy3
25642---------null---------DI--------null-----(note: null is no value in field)
25643----------DI--------null--------null
What is the correct way to query this table to find all accounts that have policy DI in any of the three policy fields? If I query on parameter DI for field policy1 I won't see the 25643 account. What am I missing??
generically speaking: I have a table with three fields: policy1, policy2 and policy3. Any of the fields can have the same value for any one of the records on the table. Meaning: I might have two records like this:
Account#----policy1-----policy2-----policy3
25642---------null---------DI--------null-----(note: null is no value in field)
25643----------DI--------null--------null
What is the correct way to query this table to find all accounts that have policy DI in any of the three policy fields? If I query on parameter DI for field policy1 I won't see the 25643 account. What am I missing??