AddPrompt method: Query class
Syntax
AddPrompt(PromptName)
Description
The AddPrompt method adds a prompt with the given name to the query definition. This method returns a new QueryPrompt object that you can then use to specify details about the prompt.
Note:
Prompt names are not checked for uniqueness. Each new prompt is just added to the list of prompts.
Parameters
| Parameter | Description |
|---|---|
|
PromptName |
Specify the name of the new prompt with a string. The length of this parameter is 30 characters. |
Returns
A reference to a QueryPrompt object.