Applies To
Access for Microsoft 365 Access 2024 Access 2021 Access 2019 Access 2016

Returns a String that has been converted to lowercase.

Syntax

LCase ( string )

The required stringargument is any valid string expression. If string contains Null, Null is returned.

Remarks

Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.

Query example

Expression

Results

SELECT LCase(ProductDesc) AS Lower_ProductDesc FROM ProductSales;

Converts the values from “ProductDesc” field into Lowercase and displays in column Lower_ProductDesc.

VBA example

Note: Examples that follow demonstrate the use of this function in a Visual Basic for Applications (VBA) module. For more information about working with VBA, select Developer Reference in the drop-down list next to Search and enter one or more terms in the search box.

This example uses the LCase function to return a lowercase version of a string.

Dim UpperCase, LowerCaseUppercase = "Hello World 1234"    ' String to convert.Lowercase = Lcase(UpperCase) ' Returns "hello world 1234"

String functions and how to use them