I have a table called Labor with the following fields:
Date
Project
Dept
Hours
Rate
I need a flexible report selection form to allow different department managers to select specifics to print a report. I could manually build some 60 reports and make them all happy but I know there is a way to create a form to allow selection of criteria to fill a single report.
I designed a form with:
StartDate - textbox (I will probably insert a calendar object but for now a textbox will suffice)
Project - combobox
Dept - combobox
And an option group with the following options:
Daily, Weekly, Monthly, Yearly
The option group is to do time-interval grouping. This could either be done on the fly via code or I could just build 4 reports and choose that specific report by the option. Either way would be fine with me.
For starters, seeing some code to pass the first couple selection criteria (StartDate and Project) would probably be enough for me to figure out the rest.
I really want to learn how to do this but don't know where else to start. Any help will be greatly appreciated and save me hours of report design time.
Thanks,
Bruce Brannan
MIS
Date
Project
Dept
Hours
Rate
I need a flexible report selection form to allow different department managers to select specifics to print a report. I could manually build some 60 reports and make them all happy but I know there is a way to create a form to allow selection of criteria to fill a single report.
I designed a form with:
StartDate - textbox (I will probably insert a calendar object but for now a textbox will suffice)
Project - combobox
Dept - combobox
And an option group with the following options:
Daily, Weekly, Monthly, Yearly
The option group is to do time-interval grouping. This could either be done on the fly via code or I could just build 4 reports and choose that specific report by the option. Either way would be fine with me.
For starters, seeing some code to pass the first couple selection criteria (StartDate and Project) would probably be enough for me to figure out the rest.
I really want to learn how to do this but don't know where else to start. Any help will be greatly appreciated and save me hours of report design time.
Thanks,
Bruce Brannan
MIS