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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Get a field in a form to convert to Proper Case? 2

Status
Not open for further replies.

SALEEYOUNG

Programmer
Joined
Jan 19, 2005
Messages
8
Location
US
On my form I would like my fields to display in Proper Case format. I am using Access 2000 and on the help menu there is a worksheet function called Proper (setup: Proper(text)). However, I have no idea how or where to use this function!!I'm still a novice at this!!! Is there anyway I can make several fields display Proper case without having to write code over again for each field (which I also do not know how to write!). Any help in this area would be greatly appreciated. Thank you. Sandra
 
Use the StrConv() function.

In a query, or a form control:

=StrConv([MyField],3)

The same is allowed in VBA but you can also use the enumerated constant vbProperCase.

=StrConv([MyField], vbProperCase)



Stewart J. McAbney | Talk History
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top