Sure. But you have a coupla different things going on, so let's take one at a time. In the future I suggest you list sample data as well as what your desired output is for that sample data. It's also a good idea to list the data type along with your field names (i.e. Text, Date/Time, Integer, etc).
So, one thing is that you do not need 5 queries. A better idea would be to launch your queries and reports from your form where you/the user picks a day of the week from a combo box, hits a button, and opens the query/report. In the query/report, instead of the criteria saying "Like Monday", you'd put for example:
Code:
[Forms]![frmReportSelection]![cboDayOfWeek]
where "frmReportSelection" is the name of the form, and "cboDayOfWeek" is the name of the combo box.
Ok, I know you didn't ask for that, but I couldn't help myself....that being said, here's some questions:
1) why do you have in minutes? Why not the integer 3, which means 'weeks'? Is it because the project time may be different time periods, such as 'days', or 'months'? Do you convert weeks, days and months to minutes before entering it into the database?
2) You say that is working business days...how are you calculating that from minutes? Do you also have a table which records your company's holidays?
I think I understand the calculation you have, so if you answer these questions I'll get back to you on it.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244