HiTechCoach,
That's a view that I imported some of the data results from SQL to MS Access in order to get to the report results.
The actual tables are several which include:
1. Person table
2. Address
3. PersonMemberships
4. MemberTypes
It's really irrelevant here with what's going on.
Since it's the links between all these tables that created the detailed information needed on the report in the SQL View that's linked (for here, sample data imported to as a table).
So what you've stated doesn't help here with what's at issue.
The report needs to include the details from all these tables, which is the dbo_v030MembershipsAllDates View. From there these reports are needed.
One I'm struggling with is finding ALL the member info in a given date range BUT to only count it once IF they are in the same household.
Ajax, that is what I thought you're suggesting, however it's not producing the correct as I am still seeing membership info from the same household.
Code:
SELECT DISTINCT dbo_v030ALLMembershipsAllDates.StreetOne, dbo_v030ALLMembershipsAllDates.City, dbo_v030ALLMembershipsAllDates.State, dbo_v030ALLMembershipsAllDates.[USFSA#], dbo_v030ALLMembershipsAllDates.LastName, dbo_v030ALLMembershipsAllDates.FirstName, dbo_v030ALLMembershipsAllDates.ZipCode
FROM dbo_v030ALLMembershipsAllDates
WHERE (((dbo_v030ALLMembershipsAllDates.EndYear) Between Year(Date())+IIf(Month(Date())>=7,1,0) And Year(Date())+IIf(Month(Date())>=7,1,0)+4))
ORDER BY dbo_v030ALLMembershipsAllDates.StreetOne, dbo_v030ALLMembershipsAllDates.City, dbo_v030ALLMembershipsAllDates.State;