I have a subform that is in single form view; it updates a table that shows workorder statuses. Each record has the status, a start date, and an end date. The way I would like it to work is the user selects a status, then the start date is set to Now(), and the end date is left blank until the next status change. I can't seem to find a way to edit the previous record end date when the new record is added for the next status.
Example:
Record 1 - Status: A, Start: 14 FEB 2007 7:00AM, End: 15 FEB 2007 3:45PM
Record 2 - Status: B, Start: 15 FEB 2007 3:45PM, End:
Notice the End date for record 1 and the Start date for record 2 match becuase they were updated at the same time. The most current end date is left blank until a new status is added.
The goal is for the user to only have to select the appropriate status from a combo box and have the dates fill automatically.
Thanks
Jeff
Example:
Record 1 - Status: A, Start: 14 FEB 2007 7:00AM, End: 15 FEB 2007 3:45PM
Record 2 - Status: B, Start: 15 FEB 2007 3:45PM, End:
Notice the End date for record 1 and the Start date for record 2 match becuase they were updated at the same time. The most current end date is left blank until a new status is added.
The goal is for the user to only have to select the appropriate status from a combo box and have the dates fill automatically.
Thanks
Jeff