CStr

Function that wconverts an expression into a String.

Syntax
      CStr(expression)


Example

Dim strDemo as String

strDemo = CStr("8 St James Street")
strDemo = CStr(Me!txtAddress)

“People have a peculiar pleasure in making converts, that is, in causing others to enjoy what they enjoy, thus finding their own likeness represented and reflected back to them” ~ Johann Wolfgang von Goethe

Related:

CBool - Convert to boolean
CByte
- Convert to byte
CDate
- Convert to Date
CInt - Convert to Integer (number)
StrConv - Convert a string - Upper/lower case/Unicode
Nz - Detect a NULL value or Zero Length string.


 
Copyright © SS64.com 1999-2019
Some rights reserved