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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input for a time field using military time? 2

Status
Not open for further replies.

striker73

MIS
Jun 7, 2001
376
US
Is there a way to set the input for a text box so that if a user enters 14.5, the textbox will display 2:30 PM?
 
A quick solution is to open the table that contains the time field in Design view. Change the field type to date/time and specify the field properties to "Medium time". This should give you the desired results.
 
You can put an input mask in the field on the form as 00:00;0;_ and then put an input mask on the field in the table as 09:00\>LL;0;_ and it should do what you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top