C
Claudette Hennessy
I have a field in a Report Footer which should calculate a particular Total
Attendance.
=DSum("[Attendance]","qryDateEventAttendance","[EventDate] >=#1/1/2007# and
[EventDate]<=#6/1/2007#") works fine.
However the report runs off of a dialog form which chooses the dates. I
have not been able to substitute frmEventReportDialog!txtBeginDate for
1/1/2007 and frmEventReportDialog!txtEndDate for 6/1/2007.
For instance,
=DSum("[Attendance]","qryDateEventAttendance","[EventDate] >= #" &
Forms!frmEventReportDialog!txtBeginDate & "# and [EventDate] >= #" &
Forms!frmEventReportDialog!txtEndDate & "#") is one of the many permutations
of &'s and "'s I have tried.
Thank you in advance,
Claudette Hennessy
Attendance.
=DSum("[Attendance]","qryDateEventAttendance","[EventDate] >=#1/1/2007# and
[EventDate]<=#6/1/2007#") works fine.
However the report runs off of a dialog form which chooses the dates. I
have not been able to substitute frmEventReportDialog!txtBeginDate for
1/1/2007 and frmEventReportDialog!txtEndDate for 6/1/2007.
For instance,
=DSum("[Attendance]","qryDateEventAttendance","[EventDate] >= #" &
Forms!frmEventReportDialog!txtBeginDate & "# and [EventDate] >= #" &
Forms!frmEventReportDialog!txtEndDate & "#") is one of the many permutations
of &'s and "'s I have tried.
Thank you in advance,
Claudette Hennessy