Formatting a List Box for Uppercase

F

FredK

I'm trying to format the data in a List Box to be upper case. I've tried
">" in the field properties, but that doesn't work. Below is the SQL
Statement in my query.
Any idea where I would insert something to make the First_Name and Last_Name
fields to be all upper case letters?


SELECT DISTINCT [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME] AS Expr1
FROM tbl_PMS_Persons
ORDER BY [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME];


Thanks in advance,
Fred
 
G

Guest

Try changing the Row Source of the list box

SELECT DISTINCT UCase([FIRST_NAME]) & " " & UCase([LAST_NAME]) AS Expr1
FROM tbl_PMS_Persons
ORDER BY [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME];
 
F

FredK

That worked great!
Thanks!



Ofer Cohen said:
Try changing the Row Source of the list box

SELECT DISTINCT UCase([FIRST_NAME]) & " " & UCase([LAST_NAME]) AS Expr1
FROM tbl_PMS_Persons
ORDER BY [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME];
--
Good Luck
BS"D


FredK said:
I'm trying to format the data in a List Box to be upper case. I've tried
">" in the field properties, but that doesn't work. Below is the SQL
Statement in my query.
Any idea where I would insert something to make the First_Name and
Last_Name
fields to be all upper case letters?


SELECT DISTINCT [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME] AS
Expr1
FROM tbl_PMS_Persons
ORDER BY [tbl_PMS_Persons].[FIRST_NAME] & " " & [LAST_NAME];


Thanks in advance,
Fred
 

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