>How do you set a property to a public variable?
>
>For example, I have a BIZ object that has a property PRE_FILTER. I set the value of this property to =cTest
>The cTest is a public variable (for testing) and I set the value of "IN_SERVICE = 'Y'" to this variable.
>But it has no effect. That is, when BIZ object is instantiated, it ignores the =cTest
>What am I missing?
>
>UPDATE. If I set the value of the property PRE_FILTER to IN_SERVICE = 'Y', it works. So, the problem must be the way I set the variable to the property.
What were you trying to do? Were you trying to assign IN_SERVICE property to the string "IN_SERVICE = 'Y'" or the value you get when this string is evaluated?
Précédent
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