Hi,
I have a tablular form that lists all the records in the table. I added some combo boxes to filter some data using this code:
Me.Filter = "[Action]='" & Me.cboAction.Column(1) & "'"
Me.FilterOn = True
Everything is working just fine, all combo boxes are working and filtering records.
What I want is to add something to this code to count the number of filtered records. If I select an action from the combo box I get the right result of the action. But I want a field on the form that says, 35 records were filtered.
How to count the number or filtered records and save it in a variable.
Thanks
Paulin
I have a tablular form that lists all the records in the table. I added some combo boxes to filter some data using this code:
Me.Filter = "[Action]='" & Me.cboAction.Column(1) & "'"
Me.FilterOn = True
Everything is working just fine, all combo boxes are working and filtering records.
What I want is to add something to this code to count the number of filtered records. If I select an action from the combo box I get the right result of the action. But I want a field on the form that says, 35 records were filtered.
How to count the number or filtered records and save it in a variable.
Thanks
Paulin