Cgrnc
08-19-2001, 03:03 PM
My database is used to enter daily work activity. I'm trying to create queries that will be used for a report with subreports.
The main query\report will show work sorted by ActivityName for a given date range (I'm using a parameter query with a beginning date and ending date to get the date range I want.)
The report must also show employees (hour totals), materials totals and equipment used (hour totals) all of which have a many-to-one relationship with the WorkOrder table. I want to use subreports to show these three things for each ActivityName.
My problem: In order to show info in the subreports for the correct date range (chosen by the user) I must either base a query on the main workorder parameter query OR use a parameter query for the subreport . . . BOTH of which make the user enter the date range twice!!
Help please! I have a feeling I'm thinking inside the box on this one! ANY ideas on how to get what I need without duplicate date entry would be appreciated!!!
The main query\report will show work sorted by ActivityName for a given date range (I'm using a parameter query with a beginning date and ending date to get the date range I want.)
The report must also show employees (hour totals), materials totals and equipment used (hour totals) all of which have a many-to-one relationship with the WorkOrder table. I want to use subreports to show these three things for each ActivityName.
My problem: In order to show info in the subreports for the correct date range (chosen by the user) I must either base a query on the main workorder parameter query OR use a parameter query for the subreport . . . BOTH of which make the user enter the date range twice!!
Help please! I have a feeling I'm thinking inside the box on this one! ANY ideas on how to get what I need without duplicate date entry would be appreciated!!!