access report proper case

%3CLINGO-SUB%20id%3D%22lingo-sub-3365049%22%20slang%3D%22en-US%22%3Eaccess%20report%20proper%20case%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3365049%22%20slang%3D%22en-US%22%3E%3CP%3Ein%20access%20report%20how%20to%20display%20a%20text%20field%20to%20proper%20case%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3365049%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ejhk1941%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3365806%22%20slang%3D%22en-US%22%3ERe%3A%20access%20report%20proper%20case%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3365806%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1388413%22%20target%3D%22_blank%22%3E%40john_h_kraft_1941%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20wrap%20the%20text%20values%20in%20an%20expression%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3FProper(%22PROPER%20CASE%22)%3CBR%20%2F%3EProper%20Case%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%2C%20however%2C%20that%20this%20may%20not%20always%20produce%20the%20results%20you%20expect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3FProper(%22%20Charles%20de%20Batz-Castelmore%20d'Artagnan%22)%3CBR%20%2F%3ECharles%20De%20Batz-Castelmore%20D'Artagnan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20may%20need%20to%20resort%20to%20a%20more%20sophisticated%20VBA%20function%20if%20your%20data%20is%20like%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

in access report how to display a text field to proper case

1 Reply

@john_h_kraft_1941 

 

You can wrap the text values in an expression:

 

?Proper("PROPER CASE")
Proper Case

 

Note, however, that this may not always produce the results you expect.

 

?Proper(" Charles de Batz-Castelmore d'Artagnan")
Charles De Batz-Castelmore D'Artagnan

 

You may need to resort to a more sophisticated VBA function if your data is like this.