G
Guest
Hello
TIA. I have a report that I want to open from a form called atnMEETINGATTENDANCE. The form has a field called txtCOMMITTEE. This field hold a Committee ID, and the form is bound to a committee table. So basically, when the person presses on the button to create the crosstab report, the RecordSource of the report must use that field information. The query is
TRANSFORM Count(atnMEETINGATTENDANCE.[ID#]) AS [CountOfID#] SELECT atnMEETINGATTENDANCE.[ID#
FROM atnMEETING LEFT JOIN atnMEETINGATTENDANCE ON atnMEETING.MeetingID = atnMEETINGATTENDANCE.MeetingI
WHERE (((atnMEETING.CommitteeID)=[forms]![atnmeetingattendance]![txtcommittee]) AND ((atnMEETING.MeetingDate)>Date()-365)) GROUP BY atnMEETINGATTENDANCE.[ID#] PIVOT atnMEETING.MeetingDate
Thanks for you help!
Eri
TIA. I have a report that I want to open from a form called atnMEETINGATTENDANCE. The form has a field called txtCOMMITTEE. This field hold a Committee ID, and the form is bound to a committee table. So basically, when the person presses on the button to create the crosstab report, the RecordSource of the report must use that field information. The query is
TRANSFORM Count(atnMEETINGATTENDANCE.[ID#]) AS [CountOfID#] SELECT atnMEETINGATTENDANCE.[ID#
FROM atnMEETING LEFT JOIN atnMEETINGATTENDANCE ON atnMEETING.MeetingID = atnMEETINGATTENDANCE.MeetingI
WHERE (((atnMEETING.CommitteeID)=[forms]![atnmeetingattendance]![txtcommittee]) AND ((atnMEETING.MeetingDate)>Date()-365)) GROUP BY atnMEETINGATTENDANCE.[ID#] PIVOT atnMEETING.MeetingDate
Thanks for you help!
Eri