Specifying Runtime Report Parameters
You can let users of your application restrict the data that a Report frame displays. For example, if your Report frame runs a report containing three years' worth of sales results, when a user calls the frame, the user can ask to see the results for the past six months only.
You can specify such runtime data selection criteria in either of two ways:
For example, if you have a Browse frame to display information about sales results, this frame has a Region field whose value indicates a geographic area.
You can pass the current value of Region on the Browse frame to a Report frame. When the user calls the Report frame from the Browse frame, a report is produced with data for that region.
• By letting the user respond to prompts that you include when you specify the report (with either RBF or the Report-Writer)
You can create a form that contains a field for each report parameter. When the user calls the Report frame, Vision displays this form, and the user can enter the values to use to run the report.
You create this form with the VIFRED outside of Vision before you run the Report frame. You specify the name of this form on the MoreInfo about a Report Frame window.
If you do not create a form for the frame, Vision displays your prompts on a blank window when the user calls the Report frame.
Last modified date: 08/14/2024