A
Annelie
What you are posting on your website is what I have been looking for as a
user very poor in knowledge of VBA
I followed your instructions for limiting a report to a date range and it
worked perfect.
I can now filter for dates in a report for dates using a formatted date.
You added to your instructions that it is now easy to add a combo box to
filter for more items.
My next step was to filter that form by other criteria, like employee name
or job number. I used your example and replaced customberID with EmployeeID.
Now I am trying to add the combobox to filter an employee name, replacing
your instructions for customerID with EmployeeID. All I keep getting is
error messages.
After many trial and errors, now I get an error on:
Dim rs As DAO.Recordset
I tried totally recreating your instructions from scratch, but I can't get
anywhere. Somehow, when I tried to create your combo with the using the same
name , just replacing customer with employee and going to the employee
table, it keeps opening the FrmWhatDate that I previously created which
pulls the info for dates from a query not the employee table.
Did thing change is since your instructions. I am now using Access 2003 (I
like it a lot, finally a backup feature) in 2002 format. Help, I am so close
to being able to filter reports by not only dates, but employee Name. Once I
master that I can filter anything.
This is obviously not an easy item, people in the newsgroups keep asking for
filtering reports by pulling info of combo boxes, but responses never
precise. Obviously, it is not an easy problem to solve. Your website
explains things for the not so experience user quite well. I can follow to a
certain extend how this is all supposed to work.
If you reply I post the codes.
Pleeeeeease ,
Annelie
For anyone who is interested the website address is:
http://users.bigpond.net.au/abrowne1/tips.html
user very poor in knowledge of VBA
I followed your instructions for limiting a report to a date range and it
worked perfect.
I can now filter for dates in a report for dates using a formatted date.
You added to your instructions that it is now easy to add a combo box to
filter for more items.
My next step was to filter that form by other criteria, like employee name
or job number. I used your example and replaced customberID with EmployeeID.
Now I am trying to add the combobox to filter an employee name, replacing
your instructions for customerID with EmployeeID. All I keep getting is
error messages.
After many trial and errors, now I get an error on:
Dim rs As DAO.Recordset
I tried totally recreating your instructions from scratch, but I can't get
anywhere. Somehow, when I tried to create your combo with the using the same
name , just replacing customer with employee and going to the employee
table, it keeps opening the FrmWhatDate that I previously created which
pulls the info for dates from a query not the employee table.
Did thing change is since your instructions. I am now using Access 2003 (I
like it a lot, finally a backup feature) in 2002 format. Help, I am so close
to being able to filter reports by not only dates, but employee Name. Once I
master that I can filter anything.
This is obviously not an easy item, people in the newsgroups keep asking for
filtering reports by pulling info of combo boxes, but responses never
precise. Obviously, it is not an easy problem to solve. Your website
explains things for the not so experience user quite well. I can follow to a
certain extend how this is all supposed to work.
If you reply I post the codes.
Pleeeeeease ,
Annelie
For anyone who is interested the website address is:
http://users.bigpond.net.au/abrowne1/tips.html