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     Format page heading to include spaces

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Format page heading to include spaces
 Login/Join
 
<Leah Bell>
posted
I am using Developer Studio and Report Painter to create a report in. I am trying to add multiple entries on one line of the Page Heading. For example a person's name on the left, date in the center, and address on far right. When the report is run it shows these fields right beside each other with no spacing. How do I format so that I see it with the appropriate spacing when I run it?
 
Report This Post
Expert
posted Hide Post
i can show you in code, but i have no idea how to make the gui do anything.
HEADING
"FIRST <+0> SECOND"

..then in the stylesheet
TYPE=HEADING,LINE=1,ITEM=1,JUSTIFY=LEFT,$
TYPE=HEADING,LINE=1,ITEM=2,JUSTIFY=RIGHT,$
..an alternate q+d way is to insert blanks in the header this way
"FIRST &|nbsp;&|nbsp; SECOND"
If you are using report assist (ah, this will work in the gui) and you go back into it and change your original header, you fex will bomb(525); it has inserted regular nonbreaking space characters into itself which wf tries to read as &vars. icky. so you need to trick your heading into working. That escape character is the key.
... a third and most common way is via HEADALIGN=BODY ..and that you can read about in the manual. its quite cool. It makes your heading into cells, matching your data, and gives you alot of flex.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Silver Member
posted Hide Post
I have never had much luck with the style sheet and headings in the reporting environment. If you are running your report to the screen, there is one reliable way of doing what you want, and that is to fake out Focus and put your own html code into the heading. (The problem is that Focus does not easily split the heading row, which is one table cell, into multiple cells. Within a single cell you can not have different alignments in html, thus the problem. Here is what I do most of the time:


DEFINE FILE CAR
X/A50='
';
Y/A50='
';
Z/A50='
';
Q/A50='
';
END
TABLE FILE CAR
HEADING
"PRINT
COUNTRY
CAR
MODEL
SEATS
DEALER_COST
RETAIL_COST
SALES
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
END

This message has been edited. Last edited by: <Mabel>,
 
Posts: 44 | Location: New York City | Registered: May 23, 2004Report 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     Format page heading to include spaces

Copyright © 1996-2020 Information Builders