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 / Reports / Printing / December 2006

Tip: Looking for answers? Try searching our database.

Capitalize first letter of each word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Donna - 12 Dec 2006 11:47 GMT
I need the "job location" field to display on a report with the first letter
of each word capitalized.   (Preferably not the entire word) I know there is
a way to do it, just cannot find it in help.  The users that are doing the
data entry are not going to be that careful.
Marshall Barton - 12 Dec 2006 16:57 GMT
>I need the "job location" field to display on a report with the first letter
>of each word capitalized.   (Preferably not the entire word) I know there is
>a way to do it, just cannot find it in help.  The users that are doing the
>data entry are not going to be that careful.  

Check VBA Help for the StrConv function.

Signature

Marsh
MVP [MS Access]

fredg - 12 Dec 2006 17:09 GMT
> I need the "job location" field to display on a report with the first letter
> of each word capitalized.   (Preferably not the entire word) I know there is
> a way to do it, just cannot find it in help.  The users that are doing the
> data entry are not going to be that careful.

If you just wish to do this in the report (not saved to a table), add
an unbound text control to the report.
Set it's control source to:

= StrConv([JobLocation],3)

Be aware that this will not correctly capitalize some words, i.e.
Coeur d'Alene becomes Coeur D'alene, and King of Prussia becomes King
Of Prussia, while N.Y.C. becomes N.y.c.
Signature

Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

 
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.