T
terry w
hi experts - I am quite new to this. I have a txtbox on my bound form called
txWorkCode. It is a required field and duplicates are not allowed. I want
it to accept only digits 0 to 9 (but they are text, not integers). If the
user enters 3 for example, I want a "0" appended to the front. In other
words the underlying table will always be from 00 to 99 whether the user
enters 1 digit or 2.
I don't want the value to just 'look' like "03" for example, but I need
there to actually be "03" in the WorkCode field in my underlying table.
If it's not too much to ask from the experts I'd like to know how to do this
with Input Mask or Format if possible, but I'd also like to learn how to do
it using VBA. very many thanks
Terrance
txWorkCode. It is a required field and duplicates are not allowed. I want
it to accept only digits 0 to 9 (but they are text, not integers). If the
user enters 3 for example, I want a "0" appended to the front. In other
words the underlying table will always be from 00 to 99 whether the user
enters 1 digit or 2.
I don't want the value to just 'look' like "03" for example, but I need
there to actually be "03" in the WorkCode field in my underlying table.
If it's not too much to ask from the experts I'd like to know how to do this
with Input Mask or Format if possible, but I'd also like to learn how to do
it using VBA. very many thanks
Terrance