I have a field in my table which is populated via a record entry form. The field in the table is called DelayTime which can vary from 00:01 (0 hours and 1 minute) to beyond 100:00 (100 hours and 0 minutes) but is never likely to exceed 999:59.
As I am a bit of a novice at Access and forms, I have struggled through and created workaround that sort of works, but now I would like to get input from the more Access able folk to kick it on a notch.
What I have done so far:
Field Properties:
On the form:
I am aware the input masks I have set up are different and that is because I couldn't find a way to solve the question posed in the thread title. As the majority of the delays I am inputting into the database are between 00:00 and 99:59 I have opted to have the mask set at 00:00;0;_ for the form and if I have any delays above 100 hours, I go into the table and enter the time manually there. It is a bit of an annoying and insecure process if I am to roll this database out across my department of non-access savvy users.
Is there a way I can make it so that as I type in the box, it fills the box from right to left? so if I were typing the keys in sequence 1, then 4, then 5, then 3, then 2 (to type 145:32) and I stopped before typing the final 2, it would should 14:53?
If you know anything about masks I would love to have a discussion on how to resolve this problem. It is probably a simple fix and I am just missing it.
I can supply a database example, but it would take time for me to strip back the confidential elements and I don't think it will help too much, but if it is required in order to get help I can do it when I have a break from work.
As I am a bit of a novice at Access and forms, I have struggled through and created workaround that sort of works, but now I would like to get input from the more Access able folk to kick it on a notch.
What I have done so far:
Field Properties:
- DelayTime = Short Text
- Field Size = 255
- Format = Blank
- Input Mask = 000:00;0;_
- Default Value = Blank
- Required = Yes
- Allow Zero Length = No
- Indexed = No
On the form:
- Object Type = Text Box
- Control Source = DelayTime
- Text Format = Plain Text
- Input Mask = 00:00;0;_
- Default Value = Blank
I am aware the input masks I have set up are different and that is because I couldn't find a way to solve the question posed in the thread title. As the majority of the delays I am inputting into the database are between 00:00 and 99:59 I have opted to have the mask set at 00:00;0;_ for the form and if I have any delays above 100 hours, I go into the table and enter the time manually there. It is a bit of an annoying and insecure process if I am to roll this database out across my department of non-access savvy users.
Is there a way I can make it so that as I type in the box, it fills the box from right to left? so if I were typing the keys in sequence 1, then 4, then 5, then 3, then 2 (to type 145:32) and I stopped before typing the final 2, it would should 14:53?
If you know anything about masks I would love to have a discussion on how to resolve this problem. It is probably a simple fix and I am just missing it.
I can supply a database example, but it would take time for me to strip back the confidential elements and I don't think it will help too much, but if it is required in order to get help I can do it when I have a break from work.