Hi How can I capitalise data entered into a form field during entry? Thanks Regards
J John Feb 23, 2009 #1 Hi How can I capitalise data entered into a form field during entry? Thanks Regards
D Damon Heron Feb 23, 2009 #2 In the format property of the textbox, put a > This only works if you don't have some other code that modifies the text after entry. Damon
In the format property of the textbox, put a > This only works if you don't have some other code that modifies the text after entry. Damon
J Jerry Whittle Feb 23, 2009 #3 Put something like this in the input mask of the form or table. CCCCCCCCCCCCCCCCCCCCC Click to expand... The > converts letters to upper case. The C's mean that any character or a space can go there. Entry is optional; however make sure that you put in enough C's to fit the longest amount going to be typed theere..
Put something like this in the input mask of the form or table. CCCCCCCCCCCCCCCCCCCCC Click to expand... The > converts letters to upper case. The C's mean that any character or a space can go there. Entry is optional; however make sure that you put in enough C's to fit the longest amount going to be typed theere..
P Peter Hibbs Feb 23, 2009 #4 In the KeyPress event enter the following code like so :- Private Sub YourFieldName_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) End Sub where YourFieldName is the name of your text box control. HTH Peter Hibbs.
In the KeyPress event enter the following code like so :- Private Sub YourFieldName_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) End Sub where YourFieldName is the name of your text box control. HTH Peter Hibbs.