TeeSee wrote:
[Quoted Text] >Win XP and Access 2003 >Currently asking user to input a % into a textBox as .25 for example. >How can I code a check that it is input as .25 and not 25? >I think I have to convert the input to a string in order to test it >but can't figure out how to do that. I have searched this "group" for >solution but cannot come up with one. Any guidance would be >appreciated.
Maybe you can use something like this in the text box's AfterUpdate event:
If Me.textbox > 1 Then Me.textbox = Me.textbox / 100
-- Marsh MVP [MS Access]
|