Yikes!!
That will keep me busy for a while!!!
Thanks!
>No, you'll have to add your inlude file (.H) to every PRG/Form/Class that use it.
>
>>So I would have to add this #DEFINE to my Include File, then add that to the Main Program for the entire project to see?
>>
>>Thanks.
>>
>>>The #DEFINE is only visible in the program/form/class it included in. You'll have to include your .H file by goint to Form->Include
>>>
>>>>
>>>>Problem today is this.......
>>>>
>>>>I wanted to change some legacy code from this......
>>>>(which is in a Form)
>>>>
>>>>
>>>>For y = 2 To 20
>>>> blah blah blah
>>>>Endfor
>>>>
>>>>To this
>>>>
>>>>For y = 2 To MAXRXS
>>>> blah blah blah
>>>>Endfor
>>>>
>>>>
>>>>Using a #DEFINE statment....
>>>>(located in the MAIN.prg which calls the above Form)
>>>>
>>>>#DEFINE MAXRXS 20
>>>>
>>>>When I run the code, it bombs out with a "Variable MAXRXS not found".
>>>>
>>>>I recompile, rebuild...etc... but no luck.
>>>>
>>>>Where would you look?
Tommy Tillman A+ NetWork+ MCP