Read current count value (TimerInterval property

The TimerInterval property setting is a Long Integer value between 0
and whatever you set it to. The countdown starts when the form loads
and that is what I would like to read. Any way to read an open form's
current countdown value from another module?
MLH [ Sa, 29 März 2008 12:04 ] [ ID #1931583 ]

Re: Read current count value (TimerInterval property

And please, I'm looking for a way to read the current
countdown value directly - dunno if an undocumented
method even exists. I already have work-a-rounds. One
approach is to place a hidden textbox control on form
named OpenTime and write the value of Now() to it
when the form opens. You can then use that base
value to compute the current countdown value. So
don't go there. I know that. Looking to read the value
directly from the clock itself.
MLH [ Sa, 29 März 2008 12:10 ] [ ID #1931584 ]

Re: Read current count value (TimerInterval property

On Mar 29, 7:10=A0am, MLH <C... [at] NorthState.net> wrote:
> And please, I'm looking for a way to read the current
> countdown value directly - dunno if an undocumented
> method even exists. I already have work-a-rounds. One
> approach is to place a hidden textbox control on form
> named OpenTime and write the value of Now() to it
> when the form opens. You can then use that base
> value to compute the current countdown value. So
> don't go there. I know that. Looking to read the value
> directly from the clock itself.

As a work around you could set the timer-interval to a small value
such as 10 and on each timer event increment a modularly-scoped
variable, test that variable and use its value in whatever way you
wanted. Of course, this would work best on a sub-form named Molasses
residing in a main form named January.
lyle [ Sa, 29 März 2008 17:35 ] [ ID #1931593 ]

Re: Read current count value (TimerInterval property

Yep
MLH [ Mo, 31 März 2008 01:04 ] [ ID #1932869 ]
Datenbanken » comp.databases.ms-access » Read current count value (TimerInterval property

Vorheriges Thema: How can I force qry field to display Yes/No or True/False?
Nächstes Thema: Very newbie: how to put data in form? Access 07