Focal Point
[SOLVED] Wrap not happening in Rport assistant

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

March 09, 2011, 08:56 AM
Veda
[SOLVED] Wrap not happening in Rport assistant
Hi,

I have tried to wrap the columns in report assistant but its not happening.Please find the sample code using car created in report assistant.
  TABLE FILE CAR
BY CAR.COMP.CAR
BY CAR.ORIGIN.COUNTRY
BY CAR.BODY.DEALER_COST
BY CAR.CARREC.MODEL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
   GRID=ON,
 $
TYPE=REPORT,COLUMN=N4, SQUEEZE=1.0,WRAP=1.0,$
ENDSTYLE
ON TABLE NOTOTAL
ON TABLE SET BYDISPLAY OFF
END 


Here the code
TYPE=REPORT,COLUMN=N4, SQUEEZE=1.0,WRAP=1.0,$
using for wraping the column but its not helping to wrap.

Please help on this.Thanks.

Version: Webfocus 7.6.11

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


Webfocus 7.6.11
Windows XP
HTML,PDF & EXCEL
March 09, 2011, 10:35 AM
Francis Mariani
Works for me when I run the code as shown.

WebFOCUS generates this CSS that modifies the default width of MODEL:

.x2 { width:72pt; text-align:left; }
Change the WRAP number to see the difference - a higher number (e.g. 5) will force the column to be wider. For HTML reports, this only works when HTMLCSS is set to ON.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2011, 03:57 PM
Waz
An interesting point is what happens when you have SQUEEZE and WRAP specified.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 10, 2011, 02:38 AM
Veda
Hi,

Thanks for your Replies.Wraping is happening fine while am tring this in a normal fex file but the same above wrap code not working in report assistant tool.Thats the issue.

Waz - WRAP is enough for wrapping the line.Just i checked the previous forums mentioned for one of the issue added SQUEEZE to check to solve this.But both specificed in the code have no advantage i guess.

Thanks.


Webfocus 7.6.11
Windows XP
HTML,PDF & EXCEL