>Can anyone explain or give suggestions as to why the VFP compiler generates this error message when it comes across this piece of code?
>
>Error message: 'field' phrase is not found
>
>(code snippet)
>PUBLIC ofrmNew
>ofrmNew = CREATEOBJECT('frmNew') && <-- error at this line
>ofrmNew.Show
>
>Any help will be appreciated!
>Many thanks :)
>
>Mazlan Bin Mohammad
Mazlan, Are you certain you have a class 'frmNew' and that the library for that class has been opened in the code and included in the project?
HTH
Barbara