Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement