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

Access: LCase Function

Print Bookmark and Share

In Access, the LCase function returns a Variant in which all letters of an argument have been converted to lowercase.

The syntax for the LCase function is:

Lcase ( string )

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

Example

LCase( "Hello World" )      returns "hello world"
LCase( "TEST123" )          returns "test123"

VBA Code

Dim UpperCase, LowerCase
Uppercase = "Web CheatSheet"
Lowercase = Lcase(UpperCase)

This example uses the LCase function to return a lowercase version of a string. Now the variable called LowerCase would contain the value "web cheatsheet".

SQL query

You can also use the LCase function in a query.

SELECT LCase([ItemDesired]) AS Expr1
FROM Orders


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

Free Contact Form

Need help with ASP, PHP, Javascript?

Let our experts help you.
 
 
ASPRunner Professional - Web Developer's Nirvana
Web hosting from $5/month (PHP,ASP,MySQL,unlimited emails)



Tags: ACCESS FUNCTION LCASE LOWERCASE VARIANT CONVERT

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.