Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Other Preprogrammed SmartScript Methods >

GetQuestion


GetQuestion returns a question of the script by name.

Syntax

GetQuestion(name)

Argument
Description

name

The name of a SmartScript question, as a string

Returns

A question of the script, as a SmartScriptQuestion.

Usage

This method returns a question of the script by name. This name is the non-translated name set during authoring, not the question text displayed for a particular language. GetQuestion is declared as a SmartScriptQuestion.

Siebel VB Example

Dim ContactQuestion as SmartScriptQuestion

Set ContactQuestion = GetQuestion("First Name")

See Also

GetQuestionEnable.

Siebel SmartScript Administration Guide