Thanks Razzak that worked just fine. On 25 Jan 2006 at 16:33, A. Razzak Memon wrote:
> 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. > > Victor Timmons Tiz's Door Sales, Inc 425-258-2391

