I have a table of customers. This table has their name, an address 1 field, a check payable to field, and more. To preface this question, we got the data from other people and just have to get the answers out of the data for the time being.
I am trying to query the following:
1) All records where the "check payable to" field does not = the customer's name.
2) All records where the "check payable to" field does not = the customer's name&" "& the "address 1" field
3) All records where the "check payable to" field contains "*&*"
4) All records where the "check payable to" field contains "*and/or*"
5) All records where the "check payable to" field contains "* and *"
Some things I have found. If the customers name doesnt match the check payable, but the customer's name and their address 1 field matches, I don't need them.
Also, number 5 is because a lot of people have "and" in their name. (Anderson)
I would so appreciate any help. I have tried this many ways without much of any luck!
Thanks,
misscrf
It is never too late to become what you could have been ~ George Eliot
I am trying to query the following:
1) All records where the "check payable to" field does not = the customer's name.
2) All records where the "check payable to" field does not = the customer's name&" "& the "address 1" field
3) All records where the "check payable to" field contains "*&*"
4) All records where the "check payable to" field contains "*and/or*"
5) All records where the "check payable to" field contains "* and *"
Some things I have found. If the customers name doesnt match the check payable, but the customer's name and their address 1 field matches, I don't need them.
Also, number 5 is because a lot of people have "and" in their name. (Anderson)
I would so appreciate any help. I have tried this many ways without much of any luck!
Thanks,
misscrf
It is never too late to become what you could have been ~ George Eliot