Prompt API samples
The following reports are some of the reports
found in the Samples_Prompt_API folder.
- Clear prompt selections
This report demonstrates using the prompt API to clear selections from all prompts. - Date prompt presets
This report uses the prompt API to provide the user with a set of prompt selection presets based on today's date. - Display all prompt values ignoring user selections
This report uses the prompt API to display all the values in the prompt, whether they are selected or not. - Display user selected prompt values
This report uses the prompt API to display the prompt values selected by the user. - Filter country by letter
This report uses a custom prompt control to provide parameters to filter the report. - Limit date prompt selection by database value
This report demonstrates limiting the selection of a date to a value less than or equal to a latest date value in a query item. - Limit numeric prompt selection by database value
This report demonstrates limiting the selection of a value less than or equal to a largest value in a query item. - Limit time between two dates
This report demonstrates preventing the user from selecting a date range greater than 10 days. - Limit user selection to two items
This report shows how to validate prompt values to stop the user from selecting more than two items. - Pass parameter via hidden prompt
This report demonstrates setting the value of a hidden prompt. - Personal default prompt selections - set selections
This report allows the user to save a set of default prompt selections for use in subsequent reports. The prompt selections are saved to browser cookies for reuse in other reports. - Personal default prompt selections - use selections
This report shows how to use the personal default prompt selections. - Validate prompt values when button pushed
This sample shows how to validate prompt values when a prompt button is clicked. - Validate type-in postal code values
The report uses the prompt API to validate user input character by character as the user types to ensure that a valid postal code is entered. - Validate type-in product line code
The report uses the prompt API to validate user input as the user types.
Parent topic: Sample Reports and Packages
Related reference: