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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subhead gives blank
 Login/Join
 
Master
posted
If I run the following code, the output gives me a blank line next to the subhead text. I dont need the blank line. Is there any way I can avoid that. If I make Squeeze=ON then I wont get that line but that will affect other part of my program. So, I dont want to set SQUEEZE=ON.

TABLE FILE CAR
PRINT CAR AS ''
MODEL AS ''
BODYTYPE AS ''
DEALER_COST AS ''
WHERE COUNTRY EQ 'ENGLAND' OR 'JAPAN' OR 'ITALY'
BY COUNTRY NOPRINT
ON COUNTRY SUBHEAD
"LIST OF CARS BASED ON COUNTRY"
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', SQUEEZE=OFF,ORIENTATION=PORTRAIT, GRID=OFF,$
TYPE=REPORT, GRID=OFF, STYLE=NORMAL, FONT='ARIAL', SIZE=8,
BACKCOLOR=NONE,$
TYPE=DATA,FONT='ARIAL',SIZE=8,COLOR=BLACK,STYLE=NORMAL,$
TYPE=SUBHEAD,FONT='ARIAL',SIZE=8,COLOR=BLACK,STYLE=NORMAL,$
TYPE=SUBHEAD,LINE=1,BACKCOLOR=GRAY,$
ENDSTYLE
END
-EXIT
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Guru
posted Hide Post
I added the following line to the code and the blank line went away. Does this work for you?

ON TABLE SET HTMLCSS ON
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Master
posted Hide Post
Yes it works but it breaks my other formatting.
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Remove the SQUEEZE=OFF from your stylesheet to fix the problem. I would report this to IBI. I tried this with WebFOCUS 7.1 and the problem reproduces in this version.
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Master
posted Hide Post
If we remove the SQUEEZE=OFF, by default Webfocus takes SQUEEZE=ON. That spoils my other formatting. Mine is the complex compound report.
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Guru
posted Hide Post
Is your output actually HTML or is PDF? The reason I ask this is because you said your doing a compound report.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Master
posted Hide Post
both
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Guru
posted Hide Post
Let me guess you are trying to use the same style sheet for both reports.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Master
posted Hide Post
No, I'm using different stylesheet for both format.
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Master
posted Hide Post
If I specify SQUEEZE=ON, by default it aligns the data with the highest length of the data based on browser settings. In my subhead, I'm giving some hardspaces to align the value with the data. But when the data starting position varies, it's not matching with subhead value. Is there anyway we can change the starting position of subhead value based on data.
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Master
posted Hide Post
FYI,

found the solution. Headalign=Body with Colspan does the magic.
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders