I have a requirement to have a string of dots go across a column and stop at a border. This is like a technique commonly used in table of contents . I tried to concatenate several hundred dots to the end of the string and I get the exclamation point (truncation character) at the end of the column.
Does any one have a technique to print dots following text across a page and stop at the end of the column?This message has been edited. Last edited by: Kerry,
December 06, 2010, 03:57 PM
Waz
What format is the report.
The technique will probably be different for each.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
December 07, 2010, 05:22 AM
<JG>
Only works if you use a fixed font
TABLE FILE CAR
SUM
COMPUTE TEXTSTRG/A50=COUNTRY; NOPRINT
COMPUTE LASTPOS/I3= ARGLEN(50,TEXTSTRG,'I3'); NOPRINT
COMPUTE NODOTS/I3= 50 - LASTPOS; NOPRINT
COMPUTE OUTSTRING/A50=OVRLAY(TEXTSTRG, 50, '..................................................', NODOTS , LASTPOS + 1, 'A50');
COMPUTE ONPAGE/I3= LAST ONPAGE + 1; AS ''
BY COUNTRY AS '' NOPRINT
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
FONT=COURIER,$
ENDSTYLE
END