Upper Case letters

G

Guest

I use Acc 2003. I pasted an inventory into my fields and they are all upper
case. Is there a way to change these to first letter of each word upper case
without retyping it all? Imported: TOPAZ BRACELET Would like: Topaz
Bracelet
 
G

Guest

Hi Laura,

Try this:

strconv("ABCDE ADFASDF", vbProperCase)

ie: strconv(FIELDNAME, vbProperCase)

Damian.
 
G

Guest

Where do I put this?
--
Thanks,
Laura


Damian S said:
Hi Laura,

Try this:

strconv("ABCDE ADFASDF", vbProperCase)

ie: strconv(FIELDNAME, vbProperCase)

Damian.
 
J

John W. Vinson/MVP

lauras03 said:
I use Acc 2003. I pasted an inventory into my fields and they are all upper
case. Is there a way to change these to first letter of each word upper
case
without retyping it all? Imported: TOPAZ BRACELET Would like: Topaz
Bracelet

Create a Query based on your table. Let's say this fieldname is ItemName;
select only this one field.

Change the query to an Update query using the Query menu option or the query
type dropdown tool.

On the UpdateTo line put

StrConv([ItemName], 3)

Run the query by clicking the ! icon.

Damian's suggestion is the same thing, it's just that vbProperCase is a
Visual Basic constant for the number 3 - and it's not available in queries.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top