Prompts Property
The Prompts property returns the collection of Prompt
objects associated with a Query.
Syntax
Query .Prompts
Applies To
Discussion
Use this property to iterate through a Query object’s prompts, add a new prompt, and change or remove a prompt.
A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.
Type
Prompts
Access
Read
Examples
new_report = model.Reports.Add()new_query = new_report.Queries.Add()new_prompt
= new_query.Prompts.Add()