When I run just the SQL manually in Access, it works fine. I get the output I want: All "P" transactions for "x" customer.
I am getting this data from a database.
I will try your suggestion to print out the SQL and see what happens from there. Thanks.