Current Military Time to Display

  • Thread starter CDG via AccessMonster.com
  • Start date
C

CDG via AccessMonster.com

I would like to display the current time in military time on a form. I need
to keep the clock running while the form is open.

Any help would be appreciated,
Thank you,
CDG
 
C

CDG via AccessMonster.com

Thanks for the suggestion. I already am using the TimerInterval and Timer
Event. I am using these to automatically refresh the form and keep focus in
the field where the user may be typing at the time of the requery. Do I just
add this to the requery code? It is a bit complicated. Is there another way?


Thanks,
CDG
http://www.mvps.org/access/forms/frm0032.htm at "The Access Web" explains
how to have a time field continually update.

How you format the time is under your control.
I would like to display the current time in military time on a form. I
need
[quoted text clipped - 3 lines]
Thank you,
CDG
 
C

Chegu Tom

On your form in design view, right click the box with the time and chose
properties, choose the Format tab and Format and choose 'Short Time' which
is a 24 hour clock. 'Military Time'


CDG via AccessMonster.com said:
Thanks for the suggestion. I already am using the TimerInterval and Timer
Event. I am using these to automatically refresh the form and keep focus
in
the field where the user may be typing at the time of the requery. Do I
just
add this to the requery code? It is a bit complicated. Is there another
way?


Thanks,
CDG
http://www.mvps.org/access/forms/frm0032.htm at "The Access Web" explains
how to have a time field continually update.

How you format the time is under your control.
I would like to display the current time in military time on a form. I
need
[quoted text clipped - 3 lines]
Thank you,
CDG
 
D

Douglas J. Steele

The only way to have the time update is to do a requery. Sorry.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


CDG via AccessMonster.com said:
Thanks for the suggestion. I already am using the TimerInterval and Timer
Event. I am using these to automatically refresh the form and keep focus
in
the field where the user may be typing at the time of the requery. Do I
just
add this to the requery code? It is a bit complicated. Is there another
way?


Thanks,
CDG
http://www.mvps.org/access/forms/frm0032.htm at "The Access Web" explains
how to have a time field continually update.

How you format the time is under your control.
I would like to display the current time in military time on a form. I
need
[quoted text clipped - 3 lines]
Thank you,
CDG
 
C

CDG via AccessMonster.com

Oh well, thanks anyways.
The only way to have the time update is to do a requery. Sorry.
Thanks for the suggestion. I already am using the TimerInterval and Timer
Event. I am using these to automatically refresh the form and keep focus
[quoted text clipped - 17 lines]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top