force uppercase in part of expresssion

M

Marie

I want to combine fields first name and last name, but I want Last name in
upper case. The last name field in the table is forced to upper case with
">", but that does not work in the expression (well I can't get if to work.
Probably a super simple question, but thanks.
M
 
W

Wayne-I-M

Hi Marie

Use
CorrectedName: [TableName]![1stName] & " " & UCase([TableName]![2ndName])


or the sql would look something like
SELECT [TableName]![1stName] & " " & UCase([TableName]![2ndName]) AS
CorrectedName
FROM TableName;
 
K

Keith Wilby

Marie said:
I want to combine fields first name and last name, but I want Last name in
upper case. The last name field in the table is forced to upper case with
">", but that does not work in the expression (well I can't get if to
work.
Probably a super simple question, but thanks.
M

Use the UCase function.

Keith.
www.keithwilby.co.uk
 
M

Marie

Hi Wayne, Thanks from Australia.M

Wayne-I-M said:
Hi Marie

Use
CorrectedName: [TableName]![1stName] & " " & UCase([TableName]![2ndName])


or the sql would look something like
SELECT [TableName]![1stName] & " " & UCase([TableName]![2ndName]) AS
CorrectedName
FROM TableName;


--
Wayne
Manchester, England.



Marie said:
I want to combine fields first name and last name, but I want Last name in
upper case. The last name field in the table is forced to upper case with
">", but that does not work in the expression (well I can't get if to work.
Probably a super simple question, but thanks.
M
 
Top