Integrating Reports with Applications
|Visual FoxPro 9.0 SP2|
|Integrating Reports with Applications|
After you finish developing reports for your application, you can integrate them with your application. The following illustration shows some ways you can add reports to your application.
Options for Integrating Reports
You have several options for integrating reports into your application:
Add code that can run and display reports to the following objects:
Form controls. For more information about forms and buttons, see.
Toolbar buttons or menu commands. For more information, see.
For example, if you want to make it possible for the user to run the report and produce a printout only, you can add the REPORT FORM command to a control on a form, menu command, or toolbar button. For more information, see.
If you want to make it possible for the user to enter some variables used in the report, you can collect those values from the user just as you can for queries.
For example, the user can enter a specified date range for the report, which you use to run the report. For more information, see.
If you want to make it possible for the user to create custom reports, you can offer the user the capability to create new reports or modify existing reports with the Report Designer. For more information, see.
Comment or report problem with topic