Pass selection from form to filter report - Help for novice.
Good afternoon all,
I have just come across AWF while searching the net for help with access 2007 database. Great site btw!
I have the following problem which I need to resolve quite urgently, but I dont have a clue where to start.
Here is my problem;
I am trying to create a report based on users selection from a form and finding it quite difficult.
Here's where I am at so far;
I have a table called incidents. User enters new incidents via 'incidents' form. I have a report which lists all incidents with columns for;
Incident Type
Incident Date
Persons name
Day of week
Action taken
I know that access 2007 has report view which enables the user to filter the report by right clicking a column and selecting a filter criteria but i need it to be more user friendly than that.
I would like there to be a form called 'reports' where the user can select any of the following filter criteria from combo boxes;
Incident type (Choose from available incident types in table 'incidents')
Incident date (2 combo boxes to select from and to dates)
Persons name (Choose from available persons in table 'incidents')
Day of week (Choose from available day of week in table 'incidents')
Action taken (Choose from available action taken status in table incidents)
Once desired filters are selected, the form needs a contol button to pass the selections through to a report and generate the report based on the users selections.
e.g
The user may want to view 'serious incidents' between 01/03/2009 and 20/06/2009 involving 'Jon smith'.
I want the report to output all incidents that match the filter criteria above.
I have no vba knowledge at all (not even sure if i need it or not) I am a total beginner so any advice is very much apreciated.
Thanks in advance
Karl
Good afternoon all,
I have just come across AWF while searching the net for help with access 2007 database. Great site btw!
I have the following problem which I need to resolve quite urgently, but I dont have a clue where to start.
Here is my problem;
I am trying to create a report based on users selection from a form and finding it quite difficult.
Here's where I am at so far;
I have a table called incidents. User enters new incidents via 'incidents' form. I have a report which lists all incidents with columns for;
Incident Type
Incident Date
Persons name
Day of week
Action taken
I know that access 2007 has report view which enables the user to filter the report by right clicking a column and selecting a filter criteria but i need it to be more user friendly than that.
I would like there to be a form called 'reports' where the user can select any of the following filter criteria from combo boxes;
Incident type (Choose from available incident types in table 'incidents')
Incident date (2 combo boxes to select from and to dates)
Persons name (Choose from available persons in table 'incidents')
Day of week (Choose from available day of week in table 'incidents')
Action taken (Choose from available action taken status in table incidents)
Once desired filters are selected, the form needs a contol button to pass the selections through to a report and generate the report based on the users selections.
e.g
The user may want to view 'serious incidents' between 01/03/2009 and 20/06/2009 involving 'Jon smith'.
I want the report to output all incidents that match the filter criteria above.
I have no vba knowledge at all (not even sure if i need it or not) I am a total beginner so any advice is very much apreciated.
Thanks in advance
Karl
Last edited: