SessionVar.Set

SessionVar.Set ( 

string VariableName,

string Value )

Description

Sets the given session variable to the specified value.

Note: Session variables used on screens must be set prior to the screen's displaying and all of its events, such as a previous screen, or project event. Setting a session variable on a screen's event will have no effect on the current screen unless the screen control text is updated using the appropriate Dlg***.SetProperties action.

Parameters

VariableName

(string) The name of the session variable whose value you want to set.

Value

(string) The value you want to set the session variable to.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions