Hello All,
Trying to put together a scheduling database for machine in a factory. The machine is operated on a shift pattern. Idea is to create job and for the schedule to work out the jobs start time from the previous job, the job duration derived from no of copies & speed of machine, the job end time based on the job duration and the shift pattern. I have three tables:
tbl_job
tbl_machine_schedule (FK tbl_machine_schedule.job_id -> tbl_job.id)
tbl_machine_shift
Ideally when a job is related to the schedule the schedule should lookup the job end time against the machine shift, if the job end falls in non productive time this time is added to the job duration to get the proper end date and time.
I am not sure the best way to approach this, is this possible using calculated fields & queries alone or will it be best too delve into macros/VBA
All advice welcomed.