hi,
i am querying a single table that contains card numbers and corresponding transaction codes (amongst other things). a single card number can have multiple transaction codes.
i want to select all card numbers that have both 0100 and 0802 transaction codes.
if i use a select query with
as the criteria, it returns all card numbers that have either 0100 or 0802 transaction types. if i then change the query to crosstab and group by card number, it is clear that some cards have both transaction types.
when i try to change the criteria to
it returns nothing at all.
i'm sure the solution is something really simple - any idea what i'm doing wrong?
i am querying a single table that contains card numbers and corresponding transaction codes (amongst other things). a single card number can have multiple transaction codes.
i want to select all card numbers that have both 0100 and 0802 transaction codes.
if i use a select query with
Code:
="0100" Or "0802"
when i try to change the criteria to
Code:
="0100" And "0802"
i'm sure the solution is something really simple - any idea what i'm doing wrong?