>>>>I have an include file with some constants. In particular, MSG_ERROR is defined in this include file. I have a form class. In the form class I include that include file. I create a form based on the formclass. Some of the code in the form is "WAIT WINDOW MSG_ERROR". When this code is encountered I get, "Variable 'MSG_ERROR' is not found." I figured I forgot to compile everything. So, I did that. Same error. Perhaps the include file needs to be in the form also? I did that and recompiled everything. Same error. This is rather odd and I'm stymied on what to do next.
>>>
>>>try using the the Include File option under FORM in the FROM desinger
>>>for each form that you want to use your include file.
>>
>>Umm...as my message says, I did.
>>
>>"Perhaps the include file needs to be in the form also? I did that and recompiled everything. Same error."
>
>Sorry, I did not read everthing...try changing your message.
>Maybe the text of your message brothers vfp.
Hmm..Don't think so, because I used the same message I used in my main.prg in which it worked fine.