Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Input mask to capitalize the first letter of each word.

Status
Not open for further replies.

MikeFL

Programmer
Jul 12, 2002
58
US
Is there an Input Mask that I can use in my Table that will capitalize the first letter of each word in a company name or persons name with-out the user having to do this them selves during data entry (e.g., The Work Company Inc., Mc Gregory Inc. Michael Eisner, Tom Mc Crackle, etc.)?

Or do I have to do this in a Query before displaying it in a form?

If it has to be performed in a Query, how would I do it (enter it), and would I put it in the Criteria Field of the name I wanted to change in the Query, or make a new field in the Query?

I'm stumped!
 
Have a look at the StrConv function:

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
The mentioned "StrConv()" function can be used in a query or in the After Update event of a control on a form.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Thanks MVP & Dhookom, your suggestions worked!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top