Share via


SysQuery::literalFilterValue Method [AX 2012]

Transforms a non-literal filter value that contains special values into a String with all special characters escaped.

Syntax

client server public static str literalFilterValue(str nonLiteralFilterValue)

Run On

Called

Parameters

  • nonLiteralFilterValue
    Type: str
    The non-literal filter value that must have special characters--such as operators--escaped.

Return Value

Type: str
The literal filter value with all special characters escaped.

Remarks

Use this method to prevent user-entered data from being handled as an operator when the user's data is applied as a filter.

See Also

Reference

SysQuery Class