Using REFRESHGRPH in GENGRAPH.APPLast reviewed: April 29, 1996Article ID: Q98770 |
The information in this article applies to:
SUMMARYThe GraphWizard is a FoxPro for Windows application named GENGRAPH.APP. The REFRESHGRPH procedure, which can be called from GENGRAPH.APP, allows data in a graph saved by Microsoft FoxPro GraphWizard to be changed. Calling the REFRESHGRPH procedure might be useful if you are experimenting with a series of graphs using data drawn from a single query, but with different filtering conditions. Rather than creating the graph each time in the GraphWizard, you could create it once, save it, then direct future query output to a table or cursor. You can then use the REFRESHGRPH procedure to update and display the saved graph.
MORE INFORMATIONThe correct syntax for calling REFRESHGRPH is:
DO REFRESHGRPH IN GENGRAPH.APP WITH <expC>, <expN>The clauses used with the REFRESHGRPH procedure are <expC1> and <expN>:
REFRESHGRPH assumes that the currently selected DBF/cursor has the same structure (for example, the same field names) as the table used to create the graph originally. REFRESHGRPH essentially does no error checking. REFRESHGRPH uses the MODIFY GENERAL command to display the graph specified. The name of the graph (specified when the graph was first created) will be used as the window title. For example:
DO REFRESHGRPH IN GENGRAPH.APP WITH "c:\foxprow\qrygraph.dbf",4This command updates record 4 in QRYGRAPH.DBF with the data found in the currently selected DBF/cursor.
|
Additional reference words: FoxWin 2.50 2.50a msgraph
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |