Hey Team,
Here's one for you all to ponder. In Access 2003, I'm updating a Operations Database for a manufacturing plant. The data is of production runs for the plant. So there are start date's and start times for each run. For example on monday march 10 there could have been entries like 5:00 - 13:00 (..data from shift), 13:00 - 21:00 (data from shift).. etc.
The report that i'm working on displays all production runs between two dates. So all runs for the month of March for example. The report groups the entries by start date. So all runs for the 10th of march are in one group, and at the end of this group there is some vital summaries for the day. Then the next group is of the 11th and at the end of that, vital summaries for that day's runs.
So far pretty straight forward?
Because the plant is run in shifts, a single day (in their minds) runs from 5:00 am on the day of, to 5:00 am on the following day.
So here is my question. Is it possible to set the grouping of the report to group the runs in the manner that I want? Where under March 10th there would only be runs that started after 5:00 am on the 10th and before 5:00 am on the 11th? Right now the report would include a run that started March 10th at 1:00 am and went to 5:00 am, it would include this in the March 10th group. When really this run should be in the March 9 group.
I am aware that you can use expressions to group but would these parameters be too advanced and complex for access to handle? If not then where would I start? I tried to use some "IF" statements but to no avail.
Thanks for all your help in advance. Hopefully this little brain teaser won't prove too exorbitant.