In the text box's AfterUpdate eventHandler, put in code along the lines of
txtMyField = UCase(Left(txtMyField,1)) & Mid(txtMyField,2)
where txtMyField is the name of the text box.
I think the answer might be in the input mask used on that field. Check the
HELP screen for that property and I think you'll find what's needed....
Bob.
In design view, display the control's property sheet.
Click on the Events tab.
On the line that says After update, write
[Event Procedure]
Then click on the button with the 3 dots that appears on that line.
When the AfterUpdate code window opens, the cursor will be flashing
between 2 already written lines of code.
Between those 2 lines, write
Change txtMyField to whatever the actual Name of that control is.
Exit.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.