WOWO10:
Correct me if I'm wrong, but wouldn't the most recent Process_Date be the determining factor here?
If your Process_Date is a timestamp for the status, then when the status is recorded the Process_Date is set to the current date. So when the process is completed, it might be before, on, or after the end date. But the process date would still be the determining factor, because when the status is changed to complete, the Process_Date is set to current, regardless of the End_Date.
Does your input overwrite the Process_Date and Status for a given record, each time it's updated? Or do you keep historical records of when each Status level was reached?
Sorry for asking more questions. I should have been more thorough the first time.
Could you give examples of the records you're dealing with? That may avoid the need to keep asking questions.
Vic