Change field from UCase to LCase

R

Rick Dunmire

Hello,

I have been looking for a query to change a field from uppercase to
lowercase and then make the first letter in that field UCase. It's a
lastname field and everything in the database is ucase.

Can anyone help with this?

Rick
 
J

John Spencer (MVP)

UPDATE yourTable
SET YourField = Left(YourField,1) & LCase(MID(YourField,2))
WHERE YourField is not null
 
R

Rick Dunmire

Thanks John,

Thats what I needed.

Rick

John Spencer (MVP) said:
UPDATE yourTable
SET YourField = Left(YourField,1) & LCase(MID(YourField,2))
WHERE YourField is not null
 

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