ID: Q98770
2.50 2.50a WINDOWS
The information in this article applies to:
The 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.
The 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",4
This 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 KBCategory: KBSubcategory: FxtoolGeneral
Keywords : kbcode FxtoolGeneral
Version : 2.50 2.50a
Platform : WINDOWS
Last Reviewed: May 22, 1998