tech on the net
Home About Us Feedback Site Map


Access Excel Word


SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker


C Language


ASCII Table Linux UNIX Java Clipart Joke of the Moment
Share this page:

MS Access: Str Function

Learn how to use the Access Str function with syntax and examples.


The Microsoft Access Str function returns a string representation of a number.


The syntax for the Microsoft Access Str function is:

Str ( number )

Parameters or Arguments

number is the value to convert to a string.

Applies To

The Str function can be used in the following versions of Microsoft Access:


Str (12) would return " 12"
Str (450) would return " 450"

Example (in VBA Code)

The Str function can be used in VBA code in Microsoft Access. For example:

Dim LResult As String

LResult = Str (16)

In this example, the variable called LResult would now contain the value " 16".

Example (in SQL/Queries)

You can also use the Str function in a query in Microsoft Access.

Microsoft Access