Try putting this code into your Text Box's "On Change" event:
code begins---------------
'Change Text1 to the 'name' of your own text box.
On Error Resume Next
Dim DecPlace As Integer
Dim Check As String
Refresh
DecPlace = InStr(1, Text1, ".", 1)
If DecPlace <> 0 Then Text1 = Left(Text1, DecPlace - 1) & Trim(Right(Text1, Len(Text1) - DecPlace))
Select Case Len(Text1)
Case 1
Text1 = ". " & Text1
Case 2
Text1 = "." & Text1
Case Is > 2
Text1 = Left(Text1, Len(Text1) - 2) & "." & Right(Text1, 2)
End Select
DecPlace = InStr(1, Text1, ".", 1)
If DecPlace <> 0 Then Check = Left(Text1, DecPlace - 1) & Trim(Right(Text1, Len(Text1) - DecPlace))
If IsNumeric(Check) = False Then MsgBox "Not a Number!"
Text1.SelStart = Len(Text1)
code ends---------------
The only downfall with the above code is that you MUST make it accept ALL textual values (not just digits) to allow for the decimal character. So, I have put in a simple check to see if the value is numeric...you could expand on this if desired or completely disregard it - its up to you. You may also have to leave it unbound and simply link it to the original bound field, but that shouldn't be to big a drama.
Hope this is what you're looking for
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)