
Originally Posted by
June7
Yep, not easy if you are totally unfamiliar with VBA coding. An alternative is a UNION query that will get the data into a normalized structure on which a report with Grouping and Sorting can be built. The data will be vertically arranged but you can group information by residents. There is no wizard or designer for UNION query, must type in the SQL View editor window of the query designer.
SELECT GroupID, GroupName, "Chair" As Position, Chair As ResID FROM Groups
UNION SELECT GroupID, GroupName, "VChair", VChair FROM Groups
UNION SELECT GroupID, GroupName, "Sec", Sec FROM GROUPS
UNION SELECT GroupID, GroupName, "Treas", Treas FROM GROUPS;
Now join to the Residents table to get resident names and use as RecordSource for the report.
SELECT Query1.*, Residents.ResName
FROM Residents RIGHT JOIN Query1 ON Residents.Residents = Query1.ResID;