Mark is right...Create a function in table/form/request form, where you want to use the value of condition. Take the return value from function using Exit(Value), and in the Source Expression of the textbox, put the name of the Function with parenthesis e.g. FunctionName().
Comments
Instead you can use the returnvalue of a function and put your conditions there.
MCTS - Microsoft Dynamics NAV