Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reports-to show members who belong to different committees

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to produce a report that shows each member who belongs to various committees, boken down by committees. Right now my fields include Last Name, First Name and each committee which are Yes/No fields. There are people who belong to more than one committee and there name needs to appear under each. How do I set this up!!!!
 
select "Committee 1",[first name] & " " & [last name] from tbl where ysnCommittee1 = True
union
select "Committee 2",[first name] & " " & [last name] from tbl where ysnCommittee2 = True
union
select "Committee 3",[first name] & " " & [last name] from tbl where ysnCommittee3 = True
;

Add a "union select" line for each committee.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top