Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AM/PM how to determine using check box

Status
Not open for further replies.

FeS2

Technical User
Aug 16, 2002
82
US
I have a form that has a time field that shows a median time. when you don't type in am or pm it assumes am automatically, i didn't program it like that, it just is. The form works fine but the users are rebelling, they don't like having to remember to type in pm for the afternoon work. I thought i could just add a check box and have it to where if the checkbox is checked it will change the time to pm. I have not figured out how to do that. I have tried just adding pm to the text box on the after update event but that didn't work. I looked into the MSDN website and found no help. Can this be done simply?
 
How are ya FeS2 . . . . .

Hmmmmmmmm . . .

[blue]Ctrl[/blue] + [blue]Shift[/blue] + [blue];[/blue] will insert the current [purple]Time[/purple].

[blue]Ctrl[/blue] + [blue];[/blue] will insert the current [purple]Date[/purple].

Calvin.gif
See Ya! . . . . . .
 
And why not simply use military format ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top