How to create a report to print or to preview a graph that was created by using the Query Designer and the Graph Wizard in Visual FoxPro (138777)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 6.0
  • Microsoft Visual FoxPro for Windows 7.0
  • Microsoft Visual FoxPro 8.0
  • Microsoft Visual FoxPro 9.0 Professional Edition

This article was previously published under Q138777

SUMMARY

Using the Query Designer and the Graph Wizard, a graph can be created in Microsoft Graph from the results of a query. Once the graph has been created, it is saved in a general field in a table. The generated graph can then be printed or previewed by creating a report in the Visual FoxPro Report Designer.

MORE INFORMATION

To create a report to print or preview a graph created in the Graph Wizard:

  1. Save the graph created in the Graph Wizard. The Graph Wizard will give the table a default name of Vfpgraph.dbf.
  2. Create a new report.
  3. Add Vfpgraph.dbf to the report's data environment.
  4. Drag the Olegraph field from the data environment to the detail band of the report.
  5. Resize the object as desired.
  6. Save and run the report.
The report should display the graph that was generated by the Graph Wizard.

Modification Type:MinorLast Reviewed:2/2/2005
Keywords:KB138777