Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

using coding proper case

Forum home » Delegate support and help forum » Microsoft Access Training and help » Using Coding Proper Case (Title Case) on Forms

Using Coding Proper Case (Title Case) on Forms

ResolvedVersion 2007

Katrina has attended:
Access Introduction course
Access Intermediate course

Using Coding Proper Case (Title Case) on Forms

Hi, I want to use a code on my form so that after entering, it automatically goes from 'text' to 'Text'. What code would I use and where is it entered?

Thank you

RE: Using Coding Proper Case (Title Case) on Forms

Hello Katrina,

Hope you enjoyed your Microsoft Access courses with Best STL.

Thank you for your question regarding converting lowercase text into Propercase in Access.

This can be done through the use of VBA code in modules which can then be applied to the After Update property of the text field in question.

It is recommended that you attend an Access VBA course which will help you with understanding how this could be done.

You can of course use an Update query to fix data using the StrConv function as follows:

StrConv([FieldName],3) which is placed in the Update To: row of the query.


I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

Fri 19 Apr 2013: Automatically marked as resolved.

Access tip:

Prefixed Autonumbering

When using Date Type = Autonumber as a primary key, clients may require autonumbering to be prefixed with a letter.

For example, P001, where P is the prefixed letter

Instructions
Step 1. Create Field Name
Step 2. Set Data Type to Autonumber
Step 3. Within Field Property General tabsheet,
enter Format property as [backslash]P000



View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.