Thanks, Hilmar. This is good advice. I am not a novice to VFP, but I haven't used the #INCLUDE directive. I can see a need for it in the future, though.
Dana
>Dana,
>
>To simplify maintenance, I suggest you have one single global include file. Let's say you call it DANA.H, or, more likely, the company name, or perhaps something like STANDARD.H.
>
>This file can then reference several other include files:
>
>
>#INCLUDE ExcelConstants.h
>#INCLUDE WordConstants.h
>#INCLUDE StandardMessages.h
>etc.
>
>
>You include your main include file (DANA.H) into each and every program, form, and class. You can later add additional include files to your main include file - this will affect all files that reference it (after recompiling).
>
>BTW, forms and classes only allow a single include file anyway (specified with "Form | Include", or "Class | Include").
>
>Hilmar.
Where's the damned Any Key?...too late