You could make this a WHOLE lot simpler:
RESULT = EVALUATE(StringVar & LCND:ConditionType & ConditionValue)
IF ERROCODE()
! EVALUATE() was in error
ELSE
IF Result
! it's true
ELSE'
! it's false
END
END
You can eliminate the BIND commands as well. They are redundant and
not required. Anything you know at design time never needs a BIND. You
can pass it as literal. The above expression generates a string.
---------------------------------------
Paul Blais - Hayes, Virginia