Hi Everyone,
I have only used Access for 2 weeks, but have spent many hours on this forum and throughout the internet reading in order to put together a database that allows users to input labor hours based on activity ID and the associated responsible supervisor. The database currently prints reports (like the one attached) that will group/sort on different fields and then lists hours worked per week. My issue is that I do not know how to allow users to customize the date columns in the reports, in order to choose any of the dates and cooresponding data available in my table. The user should not have to select more than 8 dates for a report.
Currently, I have to go to design view of the report, click add existing fields, and drop in the field with the date I want to show on the report. This will need to be automated so that a user can select a group of dates from a listbox in a form, then have a report generate with only the dates selected. My approach to entering hours in the table may not be the best, with columns for each date stretching out until late 2018. This becomes an issue when trying to create a combo box to show the dates, as they are not data points but column headings.
If anyone has an idea of how I could allow the user to select only a certain group of dates and have it show on the report, the help would be greatly appreciated! This is my last stumbling block before the database can be up and running. Thank you!
Attachments:
Report Screenshot: Shows what I want the report to look like. The user should be able to modify the date columns and change to any other dates available in the table.
My Manual Selection of Dates: Shows how I have to currently modify the date columns in the report by dragging and dropping the correct field into the report. I want to automate this process.
Table Screenshot: Shows how my data is currently being entered, with a column heading for every week from now until 2018.
Report Form Screenshot: This is what the form to create the report SHOULD look like. The list box there is not functional at all, and is not linked to the actual table containing the data. I made this to give an idea of what I want to accomplish. I am expecting I will need some code for the "on click" of the create report button.