Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Format page heading to include spaces
Go
New
Search
Notify
Tools
Reply
  
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?
 
Reply With QuoteReport 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, 2003Reply With QuoteReport 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, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Format page heading to include spaces

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.