Share via


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.

Ways to integrate reports with applications

FoxProQuearyReportIntegrations graphic

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:

    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 How to: Generate Output for Reports.

  • 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 Working with Report Variables.

  • 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 How to: Open Reports and Labels.

See Also

Other Resources

Developing Visual FoxPro Applications