D
Dennis
Hi,
OS - XP Pro SP3
Access - XP Office Pro - SP3
This is a simple issue and I'm embarrased to ask the question, but here it is.
I have a single table called MailingList. There is a text field call
MemberTerm. It has a value of A-Annual, E-Expired, H-Honorary, L-Life, N-New
or nothing. I imported the data from an Excel spreadsheet. Anyhow.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList;
I get 468 records, which is correct.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList
WHERE (((MailingList.MemberTerm)="E"));
I get one entry (which is a blank record), which I guess is technically
correct for a query.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList
WHERE (((MailingList.MemberTerm)<>"E"));
I get 224 records.
I would have thought that since no records have an "E in MemberTerm that I
should get 468 records.
What am I missing here? If the total count is 468 records and no records
have MemberTerm = "E", then all records should be included in MemberTerm <>
"E" set, right? Obviously my logic is faulty here.
I appreciate any help.
OS - XP Pro SP3
Access - XP Office Pro - SP3
This is a simple issue and I'm embarrased to ask the question, but here it is.
I have a single table called MailingList. There is a text field call
MemberTerm. It has a value of A-Annual, E-Expired, H-Honorary, L-Life, N-New
or nothing. I imported the data from an Excel spreadsheet. Anyhow.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList;
I get 468 records, which is correct.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList
WHERE (((MailingList.MemberTerm)="E"));
I get one entry (which is a blank record), which I guess is technically
correct for a query.
When I run the following query:
SELECT MailingList.PostNo, MailingList.FirstName, MailingList.LastName,
MailingList.MemberTerm
FROM MailingList
WHERE (((MailingList.MemberTerm)<>"E"));
I get 224 records.
I would have thought that since no records have an "E in MemberTerm that I
should get 468 records.
What am I missing here? If the total count is 468 records and no records
have MemberTerm = "E", then all records should be included in MemberTerm <>
"E" set, right? Obviously my logic is faulty here.
I appreciate any help.