Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / June 2006

Tip: Looking for answers? Try searching our database.

How to convert existing text to proper case

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shub - 25 Jun 2006 04:10 GMT
I created a new table by importing the data. The text in some of the fields
are either in upper case or lower case. How do I convert the existing text to
proper case?
Al Camp - 25 Jun 2006 05:02 GMT
Shub,
  Use the StrConv function.  It converts the first letter of every word in a string to
uppercase.
        StrConv(string, vbProperCase)

  Be aware that strings like macarthur will yield Macarthur... not MacArthur.
  MCADAMS yields Mcadams... etc..

Signature

hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions

>I created a new table by importing the data. The text in some of the fields
> are either in upper case or lower case. How do I convert the existing text to
> proper case?
Duane Hookom - 25 Jun 2006 05:09 GMT
If you are doing this conversion in a query, you need to replace
vbProperCase with 3.
StrConv(string, 3)

Signature

Duane Hookom
MS Access MVP

> Shub,
>   Use the StrConv function.  It converts the first letter of every word in
[quoted text clipped - 10 lines]
>> text to
>> proper case?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.