Learn how to use the Access Chr function with syntax and examples.
The Microsoft Access Chr function returns the character based on the NUMBER code. See list of ASCII codes.
The syntax for the Microsoft Access Chr function is:
Chr ( number_code )
number_code is the NUMBER used to retrieve the character.
The Chr function can be used in the following versions of Microsoft Access:
Chr (87) Result: "W" Chr (105) Result: "i"
The Chr function can be used in VBA code in Microsoft Access. For example:
Dim LResult As String LResult = Chr (87)
In this example, the variable called LResult would now contain the value "W".
You can also use the Chr function in a query in Microsoft Access.
(scroll to see more)