G
Guest
I have a table of names and addresses and other info. One filed to designate how they receive the News Letter, is "Type" as in 'S' for single, 'M' for Married, 'MH" married head of household, "E' electronic (E-mail) and another field "STATUS" for "Active", "Deceased", Inquire', "Unknown". I have been using a queri for mail labels, I want all the "S" and "MH" from 'Type" and all the 'Active' and "Inquire" from status. I had used the GUI and criteria set "S" or (next line) "MH" and "Status" set "Active" or (next line) "Inquire". For 2 years this worked, 2 months age it stopped working. I get only the "S" and "Active".
Below is the code, as I said it has worked for the last 2 years. I have no idea why this shouldn't work, it seems simple enough. Thanks for any help you can give.
Br. Dismas.
SELECT [Membership List].Title, [Membership List].Type, [Membership List].[First Name], [Membership List].[Last Name], [Membership List].Address, [Membership List].[Second Address], [Membership List].City, [Membership List].State, [Membership List].[Postal Code], [Membership List].Status
FROM [Membership List]
WHERE ((([Membership List].Type)="S") AND (([Membership List].Status)="Active")) OR ((([Membership List].Type)="MH") AND (([Membership List].Status)="Inquire"));
Below is the code, as I said it has worked for the last 2 years. I have no idea why this shouldn't work, it seems simple enough. Thanks for any help you can give.
Br. Dismas.
SELECT [Membership List].Title, [Membership List].Type, [Membership List].[First Name], [Membership List].[Last Name], [Membership List].Address, [Membership List].[Second Address], [Membership List].City, [Membership List].State, [Membership List].[Postal Code], [Membership List].Status
FROM [Membership List]
WHERE ((([Membership List].Type)="S") AND (([Membership List].Status)="Active")) OR ((([Membership List].Type)="MH") AND (([Membership List].Status)="Inquire"));