Hi Everyone,
I need some help counting records displayed in a report.
I have a search form that has two text boxes, txtStartDate and cmbCourseName. These values are passed into a search filter built in VBA which then passes everthing to a blank query that the report is built from. All this works ok.
But I would like to display how many records it returns in the footer of the report. I have tried =Count(*) and =Count([ContactID]) but both just return errors at the bottom of the report. Can anyone explain how to count the number of records returned in a report.
Thanks in advance,
Steve
I need some help counting records displayed in a report.
I have a search form that has two text boxes, txtStartDate and cmbCourseName. These values are passed into a search filter built in VBA which then passes everthing to a blank query that the report is built from. All this works ok.
But I would like to display how many records it returns in the footer of the report. I have tried =Count(*) and =Count([ContactID]) but both just return errors at the bottom of the report. Can anyone explain how to count the number of records returned in a report.
Thanks in advance,
Steve