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?
i can show you in code, but i have no idea how to make the gui do anything.
"FIRST <+0> SECOND"
..then in the stylesheet
..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.
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
TABLE FILE CAR
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ENDThis message has been edited. Last edited by: <Mabel>,
|Powered by Social Strata|