Microsoft KB Archive/120293

{| = ERR: Unable to Find Proc./Func. UPDATEGR =
 * width="100%"|

ID: Q120293

2.5x 2.60 2.60a WINDOWS

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a

SYMPTOMS
When you are building an application from a project in FoxPro for Windows, you may receive the error message "Unable to find Proc./Func. UPDATEGR" if a program in the project references the UPDATEGRPH procedure in GENGRAPH.APP.

CAUSE
FoxPro is unable to resolve the reference to UPDATEGRPH.

RESOLUTION
There are two ways to resolve this problem:

Method 1
In the program that references UPDATEGRPH, define a variable and substitute a name expression with this variable for "UPDATEGRPH":

z = "UPDATEGRPH" DO (z) IN gengraph.app WITH , [,  ; [, [,, ]]]

Method 2
Declare a dummy procedure for UPDATEGRPH in the program that references UPDATEGRPH:

DO updategrph IN gengraph.app WITH , [,  ; [, expC2>[,, ]]]

PROCEDURE updategrph RETURN For a description of the parameters in UPDATEGRPH, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q101597 TITLE    : Using UPDATEGRPH in GENGRAPH.APP Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a errmsg KBCategory: KBSubcategory: FxprgMacrosub Keywords         : kberrmsg FxprgMacrosub Version          : 2.5x 2.60 2.60a Platform         : WINDOWS
 * }