I am tracking due date progress and need to calculate the current status. Here are the givens:
There are 18 Milestone Due Dates
There are 18 Milestone codes (Actual, N/A or Forecast)
There are 18 Milestone Completion Dates
There are 3 overall Statuses (Red, Yellow and Green)
– To be coded as Green, due dates prior to today must be coded as Actual or N/A.
– If all prior due dates are coded as such, then the due date prior to today must have been completed on or before the due date.
– If the prior due date was missed, the database should look at the next due date to see if it was completed early then code the status as Green if it was completed early (this enables the user to switch from Red to Green by completing a future due date).
– If these conditions are not met, the part is coded as Red (one or more prior codes Actual or N/A or the most recent Milestone was completed late and the next due date was not completed early).
– The last code impacts a Green status…if a status is Green and the next due date is within 10 days and is not complete, the status should switch to Yellow.
– This enables the user to get a warning before it changes to Red.
I had an old database dealing with only Red and Green statuses and used a series of IIF( statements to complete the logic. The addition of Yellow status leads me to believe a function would work better. If this is confusing, the attached database might help (open the form – Part_ProgramTiming_sf)
At the very least, it is a challenge.
Thanks!
Andrew