Use the AfterUpdate event of the textbox control on your form. There you
can perform any kind of "cleanup" operations on the data and change it in
whatever way you like.
For example, the following code will uppercase any character preceded by a
".":
Dim iPos As Integer
iPos = 1
Do
iPos = InStr(iPos, MyTextbox, ".")
If iPos = 0 Or iPos = Len(MyTextbox) Then Exit Do
iPos = iPos + 1
Mid(MyTextbox, iPos, 1) = UCase(Mid(MyTextbox, iPos, 1))
Loop
--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand
eighthman11 said:
Is there a way to uppercase a letter by position. For example I want
to upper case any character that follows a period "." in a field.
Thanks for any help.