pcEars
qryNot_Quite_StoopID
- Local time
- Today, 01:17
- Joined
- Jun 12, 2003
- Messages
- 87
I am seeking advice/ideas before wasting hours working on my own idea [which I am not very confident of]
My goal is to code a timer that logs when a user starts and stops using my application within, say 6 minutes. The point being to track payable time for the user working from home. [dial-up directly to office server, not via internet]
My idea is to open a hidden form [after login] with the code in the OnTimer event. If the app sits idle for more than 6 minutes, all visible forms would reset to Visible=false, a restart form would display, and a stop time and CurrentUser() would be logged to tblUsageLog.
Likewise, When usage activity resumes from the close of the restart form, the process reverses: other forms are reset to Visible=True, the timer event is reset to begin another start/stop record, CurrentUser() and StartTime is logged.
From there I think I can write a query to report the elapsed times and users for payroll.
Again, looking for any ideas as well as answers to the following:
Q- Is there a more graceful way to do this?
Q- How do I reference read/write activity within any [all] parts of the app?
Q- How can I reset the OnTimer event so my hidden form remains 1st opened and last closed?
My goal is to code a timer that logs when a user starts and stops using my application within, say 6 minutes. The point being to track payable time for the user working from home. [dial-up directly to office server, not via internet]
My idea is to open a hidden form [after login] with the code in the OnTimer event. If the app sits idle for more than 6 minutes, all visible forms would reset to Visible=false, a restart form would display, and a stop time and CurrentUser() would be logged to tblUsageLog.
Likewise, When usage activity resumes from the close of the restart form, the process reverses: other forms are reset to Visible=True, the timer event is reset to begin another start/stop record, CurrentUser() and StartTime is logged.
From there I think I can write a query to report the elapsed times and users for payroll.
Again, looking for any ideas as well as answers to the following:
Q- Is there a more graceful way to do this?
Q- How do I reference read/write activity within any [all] parts of the app?
Q- How can I reset the OnTimer event so my hidden form remains 1st opened and last closed?