Just a note about the _INCLUDE variable.
_INCLUDE is used to save key strokes, that's it. It's there so you don't have to remember to use the Form - Include File or Class - Include File menu options to add it to your forms and classes, respectively.
_INCLUDE only works at creation; it is not retroactive. What I mean by this is if you create a new form or class without having _INCLUDE specified and then later assign it, the new file will not be included in your code. You have to use the menu options at this point.
One other limitation is that _INCLUDE does not have any effect on menu or program files. You have to handle these items manually.
>
>In development, the _INCLUDE variable in VFP6
_INCLUDE System Variable
>
>Specifies a default header file included with user-defined classes, forms, or form sets.
>
>Syntax
>
>_INCLUDE = HeaderFileName
>
>Arguments
>
>HeaderFileName
>
>Specifies a default header file of predefined compile-time constants automatically included with user-defined classes, forms, or form sets. If your header file is in a directory other than the current default directory, include a path with the header file name. Contains the empty string by default.
>
>Remarks
>
>You can also specify the default header file with the Default Include File item in the File Locations tab of the Options dialog box.
>
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao