Focal Point
[closed]Spacing in Across Columns

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/990109774

June 30, 2010, 02:25 PM
subhash
[closed]Spacing in Across Columns
Sorry for late reply..

Thanks Guys it helped me....

This message has been edited. Last edited by: subhash,


7.6.4,unix
all output
June 30, 2010, 02:34 PM
T.Peters
What if you put "COUNTRY" in a define field that expands the size and do your cross sort on the define?


WebFOCUS: 7702
O/S : Windows
Data Migrator: 7702
June 30, 2010, 07:34 PM
Dan Satchell
You can use the WIDTH parameter of the Style Sheet to set the width for all columns, or for specific columns by addition of the COLUMN parameter.

TABLE FILE CAR
 PRINT 
  'CAR.COMP.CAR'
 ACROSS 'CAR.ORIGIN.COUNTRY'
 HEADING
  ""
 FOOTING
  ""
 ON TABLE SET PAGE-NUM OFF 
 ON TABLE NOTOTAL
 ON TABLE PCHOLD FORMAT HTML
 ON TABLE SET HTMLCSS ON
 ON TABLE SET STYLE *
  UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $
  TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, $
  TYPE=DATA, WIDTH=1.5, $
 ENDSTYLE
END



WebFOCUS 7.7.05
July 01, 2010, 10:03 AM
subhash
Thanks Dan...It's my mistake, I was trying this with PDF.

It works with HTML, I tried with PDF and didn't work well.

Thanks


7.6.4,unix
all output
July 01, 2010, 04:43 PM
Dan Satchell
For PDF, I believe you will need to use the POSITION keyword in the StyleSheet to position the columns as desired.


WebFOCUS 7.7.05
July 04, 2010, 03:51 PM
FrankDutch
I should ad an empty field
PRINT
...
COMPUTE SPACE/A1=''; AS ''

...

and you get a bit of extra space you can controle




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7