In reference to the timer control in this article:
https://help.k2.com/onlinehelp/k2appit/userguide/current/default.htm#timer_control.htm
it states that "The Timer control can be used for example to keep track of the time spent on a specific Form, i.e. counting the seconds lapsed once the Form is run."
It then goes on to provide little to no help on exactly how to do this.
What I'd like to do is have the timer control start when a subform initializes and then stop when the subform closes and store the number of "ticks" (even better, the number of seconds" in a parameter or datafield that I can then write back to the database with the amount of seconds the form was open total.
So, I'm thinking you'd have a rule to execute the timer's start method when the form initializes...and run the timer's stop method when the subform closes...but does anyone have any idea how you could have the number of ticks (or preferable seconds) record somewhere that can be written back also at the time the subform closes? I expect I'll need to have a datafield or two and an operation within that datafield to add up the number of ticks...but I'm not seeing how to do it.
Help is appreciated.