Microsoft KB Archive/138777

= 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 =

Article ID: 138777

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition
 * Microsoft Visual FoxPro 7.0 Professional Edition
 * Microsoft Visual FoxPro 8.0 Professional Edition
 * 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.

Additional query words: VFoxWin

Keywords: KB138777

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.