I've been trying different kinds of criteria, but I only ever get ZERO names generated:
Code:
SELECT FirstMember.LastName & ", " & FirstMember.FirstName AS Name
FROM FirstMember, SecondMember
WHERE IsNull(SecondMember.MembershipNum) AND (FirstMember.MembershipNum = SecondMember.MembershipNum)
If I use IsNull(SecondMember.MembershipNum) in the criteria I'm only ever going to get a null result unless I can somehow relate it to a FirstMember.MembershipNum.
I've tested all 3 other queries individually like you suggested and I get the appropriate name types.
I can't figure out what condition will tell the query to get that one name type though.
I WAS THINKING:
Would it be easier to make a simple query of 6 fields (firstID, secondID, firstFirstName, firstLastName, secondFirstName, secondLastName) and then use THOSE fields as a source for my union query instead??? Because then I figure IsNull will actually work.
EDIT: I just used an existing query as a source instead of the tables. It worked out! I'm just curious why I couldn't manage to achieve the result I needed by using the tables directly.
Thanks for all your help!