Changing Case

mrssevans

Registered User.
Local time
Today, 15:37
Joined
Nov 15, 2001
Messages
190
I have users that use their caps button all the time and I wondered if there was code that I could use to change the case of the text afterupdate. I would like the first letter cap and the rest lower case. Can anyone help? Thanks
 
Look at the Proper function, it should do what you want.
(use Propercase in the search window of Help from a VBA window)

HTH,
David R


[This message has been edited by David R (edited 12-27-2001).]
 
Assuming the field they are entering data into is called LastName then this code in the After Update event will do the trick:

Me![LastName] = StrConv(Me![LastName], vbProperCase)
 
That worked wonderfully. NOW I WON'T HAVE TO SEE THIS MESS!
smile.gif
Thanks
 

Users who are viewing this thread

Back
Top Bottom