Consultor Eletrônico



Kbase 17979: Colons do not align on reports - try using STREAM-IO
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/28/1998
Colons do not align on reports - try using STREAM-IO


If a report written on Version 7 or higher of PROGRESS specifies
colon position but the colons do not align properly, try using the
STREAM-IO option for the DISPLAY.

The following example demonstrates.

This code sets all colons to column 30, yet when run the alignment
is off:

FOR EACH customer:
DISPLAY cust-num COLON 30
address COLON 30
name COLON 30
city COLON 30 WITH SIDE-LABELS.
END.


The solution is to use STREAM-IO with the DISPLAY:

FOR EACH customer:
DISPLAY cust-num COLON 30
address COLON 30
name COLON 30
city COLON 30 WITH SIDE-LABELS STREAM-IO.
END.


The reason STREAM-IO will correct the problem is that it forces the
report to omit the "default decoration" of the fields in the
frame.