As
Operator
Changes the data type of the result of an expression to a given nullable type.
Syntax
expression As type
Parts
expression
- An expression with a data type that can be changed.
type
- A data type.
Instructions
You use the operator As
when you must change the data type of the result of an expression.
If the conversion is not possible, the result is #Null
.
This is different from the usual type-conversion expression, which can cause a run-time error.
Examples
TODO