>>>I have a form that has an INCLUDE file. I added it through the Form menu. It does not seem to be working as the DEFINE values are not available in the INIT of my form during runtime.
>>
>>Have you verified that this is indeed the correct include file with all the variables defined?
>>
>>You may try to use COMPILE FORM myForm.scx.
>
>Yes, it worked when it was part of a PRG, but now I've split code into the include file and the INIT of a form and the DEFINE variables are not in scope in the INIT.
Sorry, didn't see your message till now. Have you verified that the file indeed is included (menu Form/include)? Is it the correct file? Did you try to compile?
You may also delete the file and re-add it.
If it's not broken, fix it until it is.
My Blog