SET LOCAL WITH VALUES command

The SET LOCAL WITH VALUES sets the values that can be specified for local variables.

SET LOCAL WITH VALUES works like LIMIT LOCAL but the Prompt Variables dialog allows you select one of specified values or enter another value.

Syntax

>>-- SET LOCAL WITH VALUES ( VariableName = Value, ... -----<<

Parameters

Parameter Description
VariableName The name of the local variable to set or create. Local variable names can be from 1 to 17 characters long. Variables whose names begin with DSQ are restricted, and can not be created or deleted.
Value

The value or list of values to give the local variables. The value(s) specified will be available to choose from in the Prompt Variables window.

The value can be from 1 to 55 characters long. The values of variables whose names begin with DSQ are restricted.

Example

SET LOCAL WITH VALUES (Var1=abc