Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot BUILD - getting error finding global variable
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Cannot BUILD - getting error finding global variable
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01381398
Message ID:
01381398
Views:
98
Hi Gang!

This code was added in by another coder here at work.

When I try to BUILD the exe, I get a compile error...

****************************************************************************
Compiling c:\pharmacy\class libraries\forms\forms_rx.vcx
#INCLUDE gcPath + "\L_FOX.H"
Error in line 13 of frmrx.pgfScreen.FillPage.cmdPrefill.Click (record 1574): File does not exist.
****************************************************************************

Here is the code...
*TMN 03/21/08  -  take prescription picture
IF pharmacy_config.digitize_scripts = .T.

<blah blah blah....>

*Here is the offending code
			#INCLUDE gcPath + "\L_FOX.H"
*

<more blah blah blah...>

ENDIF
The gcpath variable is GLOBAL, and seems to be found by many other programs in the Project.... why does this one fail?

Should I add something to let this code know what this variable is?

Thanks!
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform