Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This.Parent
Message
From
25/07/2000 10:19:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
This.Parent
Miscellaneous
Thread ID:
00396574
Message ID:
00396574
Views:
52
On a container I have a save button which has some generic code. In the code I call a method of the container (mbeforesave method name) which does some validation. It uses EMPTY(EVALUATE(This.psavetable + ".c_mailcode")) for checking to see if field is empty. This.psavetable is a property of the container. After returning from the mbeforesave method I have some other code (it is in the save button). On the following code I get an error saying the property is not found. The code is IF SEEK(EVALUATE(This.Parent.psavetable + ".c_mailcode"),"mailcode"). I know that the property does exist because I have check it in the watch window. If I take out the mbeforesave it doesn't happen. Can you tell me what I'm doing wrong here.
Next
Reply
Map
View

Click here to load this message in the networking platform