M mrssevans Registered User. Local time Today, 17:56 Joined Nov 15, 2001 Messages 190 Dec 27, 2001 #1 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
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
David R I know a few things... Local time Today, 11:56 Joined Oct 23, 2001 Messages 2,632 Dec 27, 2001 #2 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).]
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).]
J Jack Cowley Registered User. Local time Today, 17:56 Joined Aug 7, 2000 Messages 2,636 Dec 27, 2001 #3 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)
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)
M mrssevans Registered User. Local time Today, 17:56 Joined Nov 15, 2001 Messages 190 Dec 27, 2001 #4 That worked wonderfully. NOW I WON'T HAVE TO SEE THIS MESS! Thanks