Time Entry

  • Thread starter Thread starter Mark S
  • Start date Start date
M

Mark S

Looking for some code that will allow a user-freindly time entry.
Seems like I have seen this somewhere recently either in a newsgroup
or at a website. The code I saw would interpret the entry based on
the digits or characters entered. Does anybody know where I may have
seen this? Thanks in advance.
 
Looking for some code that will allow a user-freindly time entry.
Seems like I have seen this somewhere recently either in a newsgroup
or at a website. The code I saw would interpret the entry based on
the digits or characters entered. Does anybody know where I may have
seen this? Thanks in advance.

Ummm... what's "user friendly" in this context?

An input mask of 00:00 will allow entry of time to the minute in
military time - typing 0330 will enter 3:30am, 15:30 3:30pm.

An input mask of "90:00\ aa" will allow the user to type "330pm" and
get 3:30 pm.

Is this user hostile in your view? IF so, what would be friendly?

John W. Vinson[MVP]
 
I was considering using an InputBox for the entry, so it would have to
take any numerical input and try to configure it to a proper time
entry. The code that I saw did that, but now I can't find where I saw
it at.

The reason for using an InputBox is because there will be 3 separate
time entries on the form along with several other fields. Because of
space constraints, I was going to take advantage of the Prompt and
Title to clarify to the user exactly what the entry was for.

I may be backing off from that idea though. The basic form will have
three pairs of unbound text boxes for date and time entries. On
changes these will combine into a date/time field. For the date entry
I think I will be using a DatePicker popup calendar. I have it pop up
when the box is selected. The box will also default with the current
date, which will be correct most of the time.

I will probably then go with your idea of the input mask, but I have
to make sure it is idiot proof. If you have any other suggestion, I
would appreciate them.

Thanks for your feedback and help.

Mark
 
Back
Top