Entering Microsoft Graph Without the RQBE Dialog Box

Last reviewed: June 1, 1996
Article ID: Q99841
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

SUMMARY

The Microsoft Graph application packaged with FoxPro for Windows does not come with documentation specific to the use of Graph within FoxPro applications.

You can use Graph to produce graphical information in both screens and reports in FoxPro.

MORE INFORMATION

To use Graph, open a table in the current work area with the following traits:

  • Field 1 defines the X axis; it can be Character, Date, or Numeric.
  • Field 2 defines the Y axis; it can be Character, Date, or Numeric.
  • Field 3 defines the values of the function to be graphed.

If a table with these traits is in the active work area, a call to cross-tab can be made using the following command:

   DO (_GENXTAB) WITH 'Query'

If there is a resultant table (for example, the above table is "Query"), as produced in entry point 1, entry point 1 may be skipped; in which case, the call will go directly to Graph. With the resultant table as the current work area, the command below calls Graph:

   DO (_GENGRAPH)

If you save the graph, it is stored to QRYGRAPH.DBF by default. Graphs can be appended to this file. QRYGRAPH.DBF contains the graph(s) as OLE objects and requires that they be recalculated each time the data changes. However, they can be displayed in reports and screens using the normal OLE picture-display techniques.


Additional reference words: VFoxMac 3.00b VFoxWin 3.00 FoxWin 2.50 2.50a
applet
KBCategory: kbole kbprg
KBSubcategory: FxinteropOle


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.