共用方式為


Creating a Report Layout

You can create report layouts three ways in Visual FoxPro:

  • Create simple single or multiple table reports with a Report Wizard.
  • Create a simple report from a single table with Quick Report.
  • Modify existing reports or create your own report with the Report Designer.

With each of these methods, you create a report layout file you can modify using the Report Designer. The Report Wizard is the easiest way to start a report and automatically offers many of the Report Designer's customization features. The Quick Report is the fastest way to create a simple layout. If you create a report directly in the Report Designer, the Report Designer presents you with a blank layout.

Using a Report Wizard

Whenever you want to create a report, you can use a report wizard to help you set it up. The wizard asks you a series of questions and creates a report layout for you based on your answers.

Visual FoxPro provides these report and label layout wizards:

The wizard you choose depends on the general layout and complexity of your report.

To use a report wizard

  1. In the Project Manager, select Reports.
  2. Choose New.
  3. Choose Report Wizard.
  4. Select the type of report you want to create.
  5. Follow the instructions on the wizard screens.

You can also access the report wizards from the menu by choosing Wizards from the Tools menu, and selecting Report.

Once you use a wizard, you can use the Report Designer to add controls and customize your report.

Starting the Report Designer

If you do not want to use a report wizard, you can begin with a blank report layout and add controls yourself.

To create a blank report

  1. In the Project Manager, select Reports.

  2. Choose New.

  3. Choose New Report.

    The Report Designer appears.

You can use any of the Report Designer features to add controls and customize your report.

See Also

Report Designer | Adding Reports and Labels | Integrating Queries and Reports | Report Wizard | Report Layout Preparation | Selecting, Moving, and Resizing Report Controls