Link to home
Create AccountLog in
Avatar of trman
trman

asked on

MS Access change case

Hi

What is the best way to change the case of the data in the records of a db?

For example, much of the data I need to convert is now in uppercase, but I would like to change it to first letter capital of each word only (sentence case?)

Thanks
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

update table
set [field]=strconv([field],3)  


the option 3 is vbPropercase
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Why not leave the data as-is?

Certain Names, in certain situations are case sensitive, so changing them in the raw data may cause issues.

You can change the case for display purposes in your forms and reports.


If you feel confident that you must change the case globally, please make a back up of the data in it's original state.

JeffCoachman