Home page
 
 Home 
 ASP 
 PHP 
 SQL 
 HTML 
 JavaScript 
 Search 
 Contact 
 


Search
or browse popular tags
Got questions?

We got answers.

Ask your question about PHP, ASP, Javascript, HTML, CSS, hosting and get professional help, free of charge.

Access Functions
Subscription

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

Home / SQL / Access Functions

 

 

Access: UCase Function

Print Bookmark and Share


In Access, the UCase function returns a string in which all letters of an argument have been converted to uppercase.

The syntax for the UCase function is:

UCase(String)

The argument string can be any string expression. If String contains Null, Null is returned. Only lowercase letters are converted to uppercase; all uppercase letters and nonletter characters remain unchanged.

Example

UCase("WebCheatSheet")            returns "WEBCHEATSHEET"
UCase("Have a nice day")          returns "HAVE A NICE DAY"

VBA Code

Dim UpperCase As String 
UpperCase = UCase("WebCheatSheet")

This example uses the UCase function to return an uppercase version of a string. Now the Uppercase variable would contain the value "WEBCHEATSHEET".

SQL query

You can also use the UCase function in a query.

SELECT UCase([Item]) AS Expr1
FROM Antiques


If you'd like to see how it works, enter SQL statement and press Execute
 

Need help with ASP, PHP, Javascript?

Let our experts help you.
 
 
PHPRunner. Build great looking PHP+MySQL web sites with no programming
Web hosting from $5/month (PHP,ASP,MySQL,unlimited emails)



Tags: ACCESS FUNCTION UCASE UPPERCASE

Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments





Copyright © 2005-2009             www.WebCheatSheet.com All Rights Reserved.