Home RAP

Evaluate an expression in a string

In RAP, is there any way to obtain the result of an expression stored in a text field?

For example, in the CALC_ITEM field I have the formula:

PRC - VLR_1 + VLR_2

The PRC, VLR_1 and VLR_2 are fields from another table and I need to obtain the result of the formula above (which changes depending on the customer's classification).

Is there an expression evaluator that can be used directly in RAP and that recognizes the values of the fields (or variables that would be initialized with the values stored in the fields)?

Comments

Sign In or Register to comment.