Hi all,
After having a lot of help on some other issues yet, I have some "filling in forms" questions.
I have some time fields that are entered. The data is saved as numeric, not as a date field. The data entry person may vary and thus, people will try to enter stuff like 0.1 (for six minutes) and the like. I would prefer to only allow times to be either whole hours, or end in .25, .50 and .75 (for increments of 15 minutes. How do I prevent users from entering other values?
I also find that, when I set a default value (0, in this case, to prevent errors when making calculations based on these fields) that users may enter a single digit number and end up with a double digit number. They type in 3, and end up with 30 in the field, because they do not check to see if they are overwriting the default value already in the field. How do I make sure that any 0 or other value already in the field, automagically gets overwritten.
The same happens with my week numbers. When users enter a 2, for week 2, it automagically goes to 20, in a combo box, instead of defaulting to 02.
Data entry issues galore, I would think.
Any tips or tricks?
Thanks in advance,
Patrick
After having a lot of help on some other issues yet, I have some "filling in forms" questions.
I have some time fields that are entered. The data is saved as numeric, not as a date field. The data entry person may vary and thus, people will try to enter stuff like 0.1 (for six minutes) and the like. I would prefer to only allow times to be either whole hours, or end in .25, .50 and .75 (for increments of 15 minutes. How do I prevent users from entering other values?
I also find that, when I set a default value (0, in this case, to prevent errors when making calculations based on these fields) that users may enter a single digit number and end up with a double digit number. They type in 3, and end up with 30 in the field, because they do not check to see if they are overwriting the default value already in the field. How do I make sure that any 0 or other value already in the field, automagically gets overwritten.
The same happens with my week numbers. When users enter a 2, for week 2, it automagically goes to 20, in a combo box, instead of defaulting to 02.
Data entry issues galore, I would think.
Any tips or tricks?
Thanks in advance,
Patrick