Hi, I want to display some information from a CURSOR but i get a lot of spaces, how do i eliminate these blanks ?
example
DEFINE rec_C1 RECORD
field1 LIKE table.field1, (integer)
field2 LIKE table.fiedl2, (smallint)
field3 LIKE table.fiedl3 (datetime year to second)
END RECORD
(...)
FOREACH cur_C1 INTO rec_C1.*
--this way comes out | 1234| 0|
IF rec_C1.field3 < input_date
THEN DISPLAY rec_C1.field1,"|",rec_C1.field2,"|"
--this way comes out |1234||
DISPLAY rec_C1.field1 USING "<<<<<<<<<","|",rec_C1.field2 USING "<<<<<<<<<","|"
using 9 < (integer) or in case of field2 using both 9< and 5<(smallint) the second field comes completely blank ...
Thanks
example
DEFINE rec_C1 RECORD
field1 LIKE table.field1, (integer)
field2 LIKE table.fiedl2, (smallint)
field3 LIKE table.fiedl3 (datetime year to second)
END RECORD
(...)
FOREACH cur_C1 INTO rec_C1.*
--this way comes out | 1234| 0|
IF rec_C1.field3 < input_date
THEN DISPLAY rec_C1.field1,"|",rec_C1.field2,"|"
--this way comes out |1234||
DISPLAY rec_C1.field1 USING "<<<<<<<<<","|",rec_C1.field2 USING "<<<<<<<<<","|"
using 9 < (integer) or in case of field2 using both 9< and 5<(smallint) the second field comes completely blank ...
Thanks