A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Changing existing data in database to title case



 
 
Thread Tools Display Modes
  #1  
Old February 7th, 2010, 12:50 AM posted to microsoft.public.access.queries
Jack
external usenet poster
 
Posts: 463
Default Changing existing data in database to title case

I have a nonprofit database that I am trying to change cities names to title
case instead of all caps. I was sent an empty database that has a an update
query that I can run to convert the case in tblCities. I tried to save this
database to my hard drive and go through the backdoor privileges to Import
the query into bearbase. I have no idea how to do this. The query doesn't
even show up. Any help would be appreciated.
  #2  
Old February 7th, 2010, 05:31 AM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Changing existing data in database to title case

On Sat, 6 Feb 2010 16:50:01 -0800, Jack
wrote:

I have a nonprofit database that I am trying to change cities names to title
case instead of all caps. I was sent an empty database that has a an update
query that I can run to convert the case in tblCities. I tried to save this
database to my hard drive and go through the backdoor privileges to Import
the query into bearbase. I have no idea how to do this. The query doesn't
even show up. Any help would be appreciated.


If the fieldname is City, create a Query based on tblCities; change it to an
update query; and put

=StrConv([City], 3)

on the Update To line under City. Run the query by clicking the ! icon.

The SQL would be

UPDATE tblCities SET City = StrConv([City], 3);

and it's surprising that someone would send you an entire database to do this!
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.