Update SQL "my tekst" := "My tekst"

Hi,

Database = MS Access
I want to update a field based on a second field. In the updated field the first character of the string must be changed to UpperCase.

Field1= my tekst
Field2= My tekst
Update Mytabel set Field2 = UppercaseFirstChar(Field1)

Can anybody give me an example on how to do this?
Stef MerlijnDeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jmoss111Commented:
Hello Delphiwizard,

UPDATE MyTable
SET FIELD2 = UCASE(LEFT(FIELD1),1)


Regards,

Jim
0
Stef MerlijnDeveloperAuthor Commented:
Will this copy the whole string from Field1 into Field2 or only the 1st character?
0
Stef MerlijnDeveloperAuthor Commented:
This is the whole SQL statement.
UPDATE Relaties SET Adressering = UCase(LEFT(TAVvoorBrief,1)) & MID(TAVvoorBrief,2,199);
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jmoss111Commented:
Delphiwizard, I was still asleep I guess and I have no objection.

Have a great day,

Jim
0
Stef MerlijnDeveloperAuthor Commented:
You're welcom...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.