Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Report Heading spacing out 2 columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Report Heading spacing out 2 columns
 Login/Join
 
Gold member
posted
I have a report that has a heading that spans the legnth of the page. The actual report only has two small columns. When I run the report, the columns are spaced with the first on the left side of the page, and the second on the right side of the page.

I want the second column to be right next to the first. Is there anything I can do?

Thanks,

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


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Report This Post
Expert
posted Hide Post
How wide is the first column?


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
First Column is A4. Second column is D15.2


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Report This Post
Virtuoso
posted Hide Post
We probably need to see your code to figure out what the issue might be. Please include it inside the code tags.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
Probably missed a double quote, " , to close the HEADING line...

Just a WAG!


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
Here is my report code. I found in another post a setting for the styling code of HEADALIGN=INTERNAL, but that didn't seem to do anything.

TABLE FILE REPORTREADY1
SUM
FOLLOW_ON/D15.2C!D AS ''
BY FISCAL AS ''
HEADING
"* Overlap counting can occur - i.e., outbound call center may collect on a field compliance initiated collection."
"** Includes 5 yrs of follow-on revenue in the following amounts. These amounts represent future compliance"
" that would not have been realized but for these efforts."
"*** Reported on an annual basis because the data is not available until conclusion of the aging cycle."
WHERE BLANK EQ 'FOLLOW-ON';
WHERE (FISCAL EQ &FISCAL.(OR(FIND FY IN FISCAL_YEARS)).Select FYs.);
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET STYLE *


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Report This Post
Virtuoso
posted Hide Post
You forgot the rest of it! Since the problem is in the styling, we need to see the stylesheet too.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Sorry:

ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=OFF,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
$
TYPE=DATA,
BACKCOLOR=( RGB(218 228 225) 'WHITE' ),
$
TYPE=DATA,
COLUMN=N2,
BACKCOLOR='NONE',
$
TYPE=DATA,
COLUMN=N1,
GRID=OFF,
BACKCOLOR='NONE',
$
TYPE=TITLE,
COLOR='WHITE',
BACKCOLOR='DARK SLATE GRAY',
STYLE=BOLD,
$
TYPE=TITLE,
COLUMN=N1,
GRID=OFF,
BACKCOLOR='NONE',
$
TYPE=TABHEADING,
LINE=2,
JUSTIFY=LEFT,
$
TYPE=TABHEADING,
LINE=3,
JUSTIFY=LEFT,
$
TYPE=HEADING,
SIZE=9,
STYLE=BOLD,
JUSTIFY=LEFT,
HEADALIGN=INTERNAL,
$
TYPE=FOOTING,
SIZE=7,
JUSTIFY=LEFT,
$
TYPE=FOOTING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
SIZE=9,
STYLE=BOLD,
$
TYPE=FOOTING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
SIZE=9,
STYLE=BOLD,
$
TYPE=FOOTING,
LINE=3,
OBJECT=TEXT,
ITEM=1,
SIZE=9,
STYLE=BOLD,
$
TYPE=FOOTING,
LINE=4,
OBJECT=TEXT,
ITEM=1,
SIZE=9,
STYLE=BOLD,
$
TYPE=SUBHEAD,
STYLE=BOLD,
$
TYPE=SUBFOOT,
STYLE=BOLD,
$
TYPE=SUBTOTAL,
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
COLOR='WHITE',
BACKCOLOR='DARK SLATE GRAY',
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
ACROSS=1,
STYLE=BOLD+UNDERLINE,
JUSTIFY=RIGHT,
$
TYPE=ACROSSTITLE,
ACROSS=1,
SIZE=10,
STYLE=BOLD+UNDERLINE,
JUSTIFY=CENTER,
$
TYPE=GRANDTOTAL,
STYLE=BOLD,
$
ENDSTYLE
END


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
 
Posts: 79 | Registered: February 29, 2008Report This Post
Virtuoso
posted Hide Post
There's a lot of styling in there that is not related to anything (TABHEADING, ACROSSTITLE, FOOTING, etc. Basically everything after the

TYPE=HEADING,
SIZE=9,
STYLE=BOLD,
JUSTIFY=LEFT,
HEADALIGN=INTERNAL,
$

can be eliminated down to the ENDSTYLE.
Also, leave out the HEADLIGN=INTERNAL and the heading is left-aligned by default so there is no need to specify that.

Since you have no output type specified, I'm assuming it's just HTML, in which case you probably want a line that says ON TABLE SET HTMLCSS ON.

Best way to troubleshoot the problem is to remove the styling code and see if it looks OK (other than styles) and then add the pieces of code back in one at a time until you figure out what is causing the problem.

try this (and clean up the stylesheet a little) and let us know what you find out.

You also might try to -SET &ECHO=ALL; at the beginning and then view source to see if the code that is actually being run it what you're expecting.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
quote:
I'm assuming it's just HTML
If it is HTML then you will always get a result that takes as much of the window as possible. To test this adjust the window size by grabbing the lower right corner and changing the size. You will see that the heading will change according to the window size.

All that HTMLCSS = ON does is to remove all the individual cell styling and apply it within <style> tags.

If you want to control the columns widths then use another format such as EXL2K or PDF.

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
You could always take the obvious approach and pad the report with blank columns

 DEFINE  FILE CAR
DUMMY/A20='';
END
TABLE FILE CAR
SUM
DCOST/D15.2C!D AS ''
DUMMY AS ''
DUMMY AS ''
DUMMY AS ''
DUMMY AS ''
DUMMY AS ''
BY COUNTRY AS ''
HEADING
"* Overlap counting can occur - i.e., outbound call center may collect on a field compliance initiated collection."
"** Includes 5 yrs of follow-on revenue in the following amounts. These amounts represent future compliance"
" that would not have been realized but for these efforts."
"*** Reported on an annual basis because the data is not available until conclusion of the aging cycle."
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=OFF,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
$
TYPE=HEADING,
SIZE=9,
STYLE=BOLD,
JUSTIFY=LEFT,
HEADALIGN=BODY,COLSPAN=7,
$
ENDSTYLE
END 
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Report Heading spacing out 2 columns

Copyright © 1996-2020 Information Builders