[Stackoverflow] [Progress OpenEdge ABL] How to check negative integer values ? - PROGRESS 4GL

Status
Not open for further replies.
B

Bharat

Guest
I have written a below query to see what are the possitive and negative integer values from a table fields. But I am not sure how to fetch only negative integer values.

Code:
DEFINE TEMP-TABLE ttdata NO-UNDO
FIELD iValue1 AS INTEGER
FIELD iValue2 AS INTEGER
.

CREATE ttdata.
ASSIGN
iValue1 = 122
iValue2 = -122
.

FOR EACH ttdata NO-LOCK:
  DISP iValue1 iValue2.
END.

Continue reading...
 
Status
Not open for further replies.
Top