Printable Version of Topic

Click here to view this topic in its original format

UtterAccess Forums _ Access Forms _ Combo Box Show Time From 12 Am To 12 Pm In 15 Min Intervals

Posted by: InfoHound Jan 10 2017, 03:45 PM

Currently I'm using a table to display times from 12:00 AM to 12:45 PM.
Is this the correct way to do this ?
I'm trying to make it easier for the user to select the time. Now, if the user wanted to select 3:00 pm the would enter 3 and get 3:00 AM and would then need to scroll down to
3:00PM. This is too slow. So I'm thinking of adding a AM - PM combo box that would speed things up, but, I need the right time of day to make calculations.

If anybody has a better idea I am listening, but, first I have to shovel the driveway!

Posted by: doctor9 Jan 10 2017, 03:58 PM

InfoHound,

Check out the TimePieces demo in the Code Archive - it includes a mini time picker. You can set the interval to 15 minutes, and the user can either use up/down arrows or their keyboard to enter a time. With a little work, you could also disallow times that are outside of your range of midnight to shortly after noon.

Hope this helps,

Dennis

Posted by: InfoHound Jan 12 2017, 05:15 PM

Thank you Doctor.

I found what I was looking for in Time Pieces.