This interface allows you to change prompt information that has been previously set in the main report and its subreports. Information about each promptfor example, the prompt name and set of valuesis stored in an array on the server; this array is considered to be the prompt set. The prompt set that is retrieved is a union of all report contexts; that is, it contains the prompts from the main report and each subreport.
You can visualize a prompt set in the following way:
A report may have a number of prompts. Each prompt may have one or more prompt values, and each of these prompt values may be discrete or ranged. A discrete value is a single value, and is represented by PromptValue1; a ranged value has two values (an upper bound and a lower bound), which are represented by PromptValue 1 and PromptValue 2 respectively.
Typically, you will want to find the total number of prompts, retrieve the information for each, and then change their values. To retrieve this interface, use the GetInterface Function or the GET_PROMPTSET_INTERFACE Macro.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |