Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force entry to lower case

Status
Not open for further replies.

gripper111

IS-IT--Management
Jun 28, 2011
15
0
0
US
I have a db and I have a particular field on a form that I copy and paste into. Sometimes what I paste is all uppercase and other times not. I would like to force all entries in the cell to automatically convert to lower case.

I have tried a couple things but it is not working. I know this is simple but I am over looking something.

I appreciate any assistance
 
If the text box you are updating is named txtField1, on the afterupdate event of that control you could use the following code.

Code:
Me!txtField1 = lcase(Me!txtField1)
 
How are ya gripper111 . . .

Try [blue]lameid[/blue] code in the [blue]On Exit[/blue] event of the control ...

See Ya! . . . . . .

Be sure to see faq219-2884 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top