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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting text to uppercase in a column

Status
Not open for further replies.

lchiav

Technical User
Mar 31, 2000
10
US
I need to convert only the last name field in my database to uppercase. Is is possible to do so?
 
You could write a one time use update query that uses the UCASE() function.&nbsp;&nbsp;&nbsp;After that, I believe you can use the function on the field of the form to force it that way.<br><br>Hope this helps... <p>Terry M. Hoey<br><a href=mailto:th3856@txmail.sbc.com>th3856@txmail.sbc.com</a><br><a href= > </a><br>
 
Thank you for the info. I am familiar with update query but am unfamiliar with the Ucase () function. Do I write:<br><br>UCase (lastname) in the Update To line?
 
UPDATE tablename <br>SET tablename.fieldname = UCase(tablename.fieldname);<br><br>That should do it... <p>Terry M. Hoey<br><a href=mailto:th3856@txmail.sbc.com>th3856@txmail.sbc.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top