>Hi every one ,
>
>I am learning Visual Foxpro , and that is why my question may seem very basic. But I looked everywhere I could in the documentation and could not find anything to help me.
>
>I created a form with 4 pages . On one of the page I have a feild that can have one of two values ; "Y" or "N" . Then in the next field I want the when event to check that previous field content and only return true if the content is "Y". No matter what I try , I get a object not found error .
>
>Can someone help me ?
>
>Thanks in advance.
You need to reference the object through its containership hierarchy:
THISFORM.pageframe1.page2.mytext1.value
fortunately there is a shortcut using relative referencing:
THIS.PARENT.mytext1.value
Erik Moore
Clientelligence