Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capitalize column in listbox generated from query

Status
Not open for further replies.

CantDo

Technical User
Jun 5, 2005
48
CA
Hi. I have a listbox on a form generated from a query that is working properly. However, despite the fact that the table field has an input mask forcing all caps, the query returns first cap only. Unfortunately, I am also forcing all caps in the data entry section so I get mixed results in the list box depending on how the data was entered.

Anyway, what I want to achieve is consistency -- all caps everywhere. As stated, I have an input mask on both the table field and on the input form field. However, the list box still shows initial cap only. I tried to put an input mask on the query field, but it doesn't seem to work. Anyone have any ideas?

FYI, the input mask I'm using is >LCCCCCCCCCCCCCCCCCCCCCCCCC

Thanks in advance for any advice.
 
Why not using the UCase function in your query ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks anyway, PHV, but I just had to put > int he format field of the query column and that seemed to do the trick. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top