Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This.Parent
Message
De
25/07/2000 10:19:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
This.Parent
Divers
Thread ID:
00396574
Message ID:
00396574
Vues:
51
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform