Hi!
For large projects it is good idea to use _INCLUDE system variable to specify global include file. Global include file usually named main.h and contains nothing else but other includes (#INCLUDE directives) - you can nest include files (up to 5 times if I remember corrcetly).
To apply include file changes, you require to recompile all modules. Just compiling will not apply because form stores compiled code in the SCX/SCT file and use it. Form is recompiled partially if its methods are changed. You can force all modules recompiling from the project by use appropriate option.
HTH.
>I am trying to find a good why to deal with the ADOVFP.H Constants.
>
>How do you people deal with them?
>
>I tried to use _INCLUDE() I also set the ADOVFP.H file as the default include
>file but when I compiled the forms where unaware of this file.
>
>Should I just declare them as globals or include them every place
>I use a record set?
>
>What's the best way?
>
>Also is it common practice to make all connections and recordsets GLOBAL
>variables. Or maybe I should make a class with a bunch of recordsets objects
>in it.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.