Home Privacy Policy Feedback Link to us Site Map

Access: CStr Function


Question:  How do I convert a value to a string?


Answer:  To convert a value to a string, use the "CStr" function. The syntax for the CStr function is:

CStr( expression )

For example:

Dim LValue As String

LValue = CStr(8)

The LValue variable would now contain the string value of "8".