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.
I don't think I can set width of the 'First Name' column because I don't know necessarily how wide the values will be for any given report run.
So setting SQUEEZE = 2 works for the 'current value' of First Name.
And, as soon as, I have...:
COMPUTE FN/A150V = 'IMABROOKEIMABROOKEIMABROOKEIMABROOKEIMABROOKEIMABROOKEIMABROOKE'; AS 'First,Name'
...as the 'incoming value', I again have a teeny weeny gap between the columns.
{No problem still being on 77x, guessing you all have a lot of legacy apps that keep on keeping on, and don't necessarily need the 8x feature set. :-)}
Yes, running through the dataset in order to support report time code creation is a great technique.
In my scenario though, I am looking for something a little more direct, as I have many columns in my report. And hopefully I can have something that can be applied by other developers, when the need for Active Report padding arises in other reports.
-* File ActiveReportColumnPadding.fex
TABLE FILE CAR
PRINT CAR NOPRINT
COMPUTE FN/A50V = 'IMABROOKE'; AS 'First,Name'
COMPUTE LN/A50V = 'TROUT'; AS 'Last,Name'
ON TABLE HOLD AS REPORT1 FORMAT AHTMLTAB
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,FONT='Arial',SIZE=8,COLOR=RGB(50 50 50),$
TYPE=REPORT,ALLOW-COMMENTS=OFF,$
TYPE=REPORT,
OBJECT=MENU,
COLOR=RGB(53 78 109),
HOVER-COLOR=RGB(53 78 109),
BACKCOLOR=RGB(241 245 249),
HOVER-BACKCOLOR=RGB(81 215 235),
$
TYPE=TITLE, JUSTIFY=CENTER,$
TYPE=TITLE,SIZE=9,STYLE=-UNDERLINE+BOLD,BACKCOLOR=RGB(220 218 195),COLOR=RGB(134 10 39),
BORDER-STYLE=OUTSET,BORDER=LIGHT,BORDER-COLOR=RGB(255 255 255),$
TYPE=DATA,
BORDER-LEFT-STYLE=NONE,BORDER-LEFT=MEDIUM,BORDER-LEFT-COLOR=RGB(255 255 255),
BORDER-RIGHT-STYLE=NONE,BORDER-RIGHT=LIGHT,BORDER-RIGHT-COLOR=RGB(255 255 255),
BORDER-BOTTOM-STYLE=NONE,BORDER-BOTTOM=LIGHT,
BORDER-BOTTOM-COLOR=RGB(255 255 255),
BACKCOLOR=( 'WHITE' RGB(227 232 238) ),
$
TYPE=REPORT,
OBJECT=STATUS-AREA,
JUSTIFY=CENTER,
PAGE-LOCATION=BOTTOM,
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<HEAD>
<TITLE></TITLE>
<style>
td[id^="I0r"] {
padding-right: 20px !important;
}
</style>
</HEAD>
<BODY>
!IBI.OBJ.ACTIVEREPORTJS;
!IBI.FIL.REPORT1;
</BODY>
</HTML>
-HTMLFORM END
I use the CSS padding property, and a CSS selector that selects the 'cells' of the Active Report.
I've put the CSS in a -INCLUDE, in case IB changes the identifiers of the cells, and if that is ever the case, I can easily adapt. Or if IB comes up with a StyleSheet attribute for column padding in Active Reports, again I could easily, given the -INCLUDE turn this CSS off.