andysgirl8800
Registered User.
- Local time
- Yesterday, 21:06
- Joined
- Mar 28, 2005
- Messages
- 166
Progress:
I've inserted a stopwatch as a subform (frmTimer) on my main form (frmTicket). The subform has three buttons, Start/Stop, Save, and Reset and an unbound field (ElapsedTime) that displays the elapsed time. The Start/Stop and Reset buttons are self-explanitory. The Save button takes the displayed time (formatted as HH:MM:SS:MS) after Stop has been pressed and exports that value into a field (Time) on my main form. That's as far as I've gotten, and now I'm stumped.
Goal:
What I'm trying to set up is a way for a user to track how much time they spend researching a ticket. So each time they open a record, the stopwatch will start running to measure how long they have been working on it. Once they are done with that record for that day, they will hit the Stop button. Because this same record may be accessed any number of times before the ticket is resolved, I need to keep a running total of time that has been spent on this particular record.
Issues:
The stopwatch resets to zero once the record is closed, and is not independently dedicated to each record. The field (Time) on my main form into which I transfer the stopped time recording is bound to my table (tblTicket), but will be repopulated with a new time each time the Save button is clicked.
Question:
How can I store the first time stamp so that each new time stamp can be added to it for a running total? Thanks for any help you can provide!
I've inserted a stopwatch as a subform (frmTimer) on my main form (frmTicket). The subform has three buttons, Start/Stop, Save, and Reset and an unbound field (ElapsedTime) that displays the elapsed time. The Start/Stop and Reset buttons are self-explanitory. The Save button takes the displayed time (formatted as HH:MM:SS:MS) after Stop has been pressed and exports that value into a field (Time) on my main form. That's as far as I've gotten, and now I'm stumped.
Goal:
What I'm trying to set up is a way for a user to track how much time they spend researching a ticket. So each time they open a record, the stopwatch will start running to measure how long they have been working on it. Once they are done with that record for that day, they will hit the Stop button. Because this same record may be accessed any number of times before the ticket is resolved, I need to keep a running total of time that has been spent on this particular record.
Issues:
The stopwatch resets to zero once the record is closed, and is not independently dedicated to each record. The field (Time) on my main form into which I transfer the stopped time recording is bound to my table (tblTicket), but will be repopulated with a new time each time the Save button is clicked.
Question:
How can I store the first time stamp so that each new time stamp can be added to it for a running total? Thanks for any help you can provide!