At 04:28 PM 1/25/2006, Victor Timmons wrote:

What the heck does this mean

-ERROR- Expression does not return a vaild REAL. (2158)
-ERROR- SET Error Command (3031)

I get these Errors when i'm running some code. Its very
simple just 2 values subtracted from each other.
SET VAR vShippedQty = (.vOrderQty - .vBo)

If I trace it NO ERROR run it and ERRORS


Victor,

Check to make sure that all dotted variables used in
expression, are pre-defined correctly with correct
data types.

FYI, TRACE runs with WHILEOPT OFF.

The default is set to ON.

SET WHILEOPT improves the optimization and processing
of WHILE ...ENDWHILE loops within applications by
pre-compiling variables used within the WHILE loop.

Very Best R:egards,

Razzak.

Reply via email to