Gerard,
All I can think is pathing. Try with fullpath. Also try a recompile all.
Cetin
>Thanks Cetin. I've done that and it works .
>
>
>Going back to an earlier thread , I am still having difficulty with getting
>the Compiler to see forms.
>
>I am getting a Form MyForm Undefined at compile time, even though I can
>clearly go in and modify MyForm.
>
>I did a bit of palying around:
>
>Scenario 1:
>-----------
>Main prog is MyMain.Prg
>Within MyMain.Prg I have a Do MyForms (a .prg to hold Form Names so they are compiled). Included here is:
>if .f.
> Do Form MyForm1
> Do Form MyForm2 etc
>Endif
>
>This comes up with a Form MyForm1 undefined
>
>Scenario 2.
>-----------
>Same as Scenario 1 but I have my Main Program as MyForms
>This DOES include the forms in the Project fine !!!!
>
>
>I am really baffled by this .. tried setting up new project..same thing.... any ideas of what might be happening..using VFP7
>
>regards,
>
>Gerard
>
>
>
>
>
>>>Hi.
>>>I have set up a whole pile of screens with syntax:
>>> MyPrepare('Myform',Param1,param2) which runs up a form.
>>>
>>>and of course they dont get into the project.
>>>
>>>Is there any 'easy' way at this stage to ensure all my screens get into the project without going back and amending each line ?
>>>
>>>Regards,
>>>Gerard
>>
>>In a code that's in your project (ie: main.prg) add code similar too :
>>
>>if .f.
>> do form MyForm
>> do form MyForm1
>> do form MyForm2
>> do form MyForm3
>>*...
>>endif
>>
Cetin