Focal Point
[BUG]stylesheet question

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

April 10, 2015, 11:23 AM
WFDevConsultant
[BUG]stylesheet question
Hi,

I need to get the By and Across value on the same line. And also, when I use OVER the first line is not taking the style I am using.

Please run the following code to see what I am talking about.

1. I want the CAR value to be printing on the first line like
Alfa Romeo Q1 Q2 Q3

Instead of showing on the second line

2. The Title CAR is not shaded gray like other titles.

TABLE FILE CAR
SUM
CAR AS 'Car'
OVER
MODEL AS 'Model'
OVER
DEALER_COST AS 'Dealer,Cost'
BY CAR NOPRINT
ON CAR SUBHEAD
" ACROSS COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,TOPMARGIN=3.00000,LEFTMARGIN=1.250000,RIGHTMARGIN=0.500000,WIDTH=11.000,ORIENTATION=PORTRAIT,$
TYPE=REPORT,FONT=ARIAL,SIZE=8,GRID=ON,SQUEEZE=ON,$
TYPE=TITLE,BACKCOLOR=SILVER,COLOR=BLACK,STYLE=BOLD,SIZE=8,BORDER=1.0,$
TYPE=SUBHEAD,BACKCOLOR=RGB(0 151 151),COLOR=WHITE,STYLE=BOLD,SIZE=8,BORDER=1.0,$
TYPE=DATA,STYLE=BOLD,BACKCOLOR=WHITE,COLOR=BLACK,BORDER=1.0,$
TYPE=ACROSSVALUE,BACKCOLOR=RGB(0 151 151),COLOR=WHITE,JUSTIFY=CENTER,BORDER=1.0,$
END
-EXIT

Any thoughts or suggestions.

Note: It works in HTML not PDF.

Thanks in advance

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


8.2.06
Windows, All Formats
April 10, 2015, 12:44 PM
GavinL
I'm a little confused with the request. Did you mean to have a double quote in front of the ACROSS COUNTRY? That turns it into a title, not a row. If I take the double quote out, rather PDF or HTML it looks the same and doesn't look like a usable report.

Can you draw a picture or something so we know what your trying to do?

Like this?

Car
----------------------------------------------------------------
Model | Q1DealerCost | Q2DealerCost | Q3DealerCost | Q4DealerCost



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
April 10, 2015, 02:16 PM
WFDevConsultant
It was a html issue. I disabled html in my post. Now you can see the full code.


8.2.06
Windows, All Formats
April 13, 2015, 06:01 AM
Tony A
Seems to be an issue with PDF format - not present in HTML, EXL2K or EXL07.

I would suggest calling it in as a bug.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10