Hi Rahul,
Thanks for your post. But it using "previous" won't work. Look at the following details (observe mach1):
5-may-2008 mach1 DO_LATER
5-may-2208 mach3 CALIBRATED
5-may-2008 mach1 CALIBRATING
6-may-2208 mach4 MAINTANCE
6-may-2008 mach1 ALL_DONE
6-may-2008 mach2 ALL_DONE
Once again, I'd like to report on what mach1 did after the "DO_LATER" event. Later on, mach1 calibrated itself and finally did all the jobs it needed to do. Both these eventsI need to report on. The function "previous" will fail.