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

Uppercase to Lowercase

Status
Not open for further replies.
Jul 4, 2004
42
0
0
GB
Hi.

I receive a .csv import file where the text in one column is all in uppercase. e.g

THE HOUSE ON THE HILL

This column is imported into an Access table.

Once in the table I need to convert the words so they appear as follows.

The House On The Hill

Can this be done?


Thanks in advance for any assistance.

John
 
You can use the StrConv function, which takes a format parameter - you can use vbProperCase as that parameter to capitalise each word in your field.

vbProperCase has a value of 3, so if you want to use a simple to query to modify your tabel it would be something like:

UPDATE YourTableNameHere SET YourFieldNameHere = StrConv(YourFieldNameHere,3);

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top