Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object not found in a when event
Message
From
23/09/1998 13:50:20
 
 
To
23/09/1998 13:39:10
Pierre Sauve
Micro-Fox Canada Inc.
Montréal, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139956
Message ID:
00139964
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform