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     Aligning Subfoots with Columns in Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Aligning Subfoots with Columns in Excel
 Login/Join
 
Member
posted
Hi guys. I know this has probably been beat to death but I cant seem to understand or find what I need from previous posts.

Problem: I have a report that calculates the hours an employee worked per project and a total, as well as some qualifications earned based on those totals. In my subfoot I am trying to display the total hours and the qualifications earned, aligned with a particular column in the report per employee.

Basically I want TOTHOURS to show under the Hours,Dist column, nothing under the percent salary,then HOURSNEEDF to print under the "$1500" column, HOURSNEEDT under the '$2000', and so on.

I tried using the <+N to specify how many columns to put between the items in the subfoot but it is just not working and I couldnt figure out how to use the stylesheet.

Code:

DEFINE FILE TOTDATA
HOURSNEEDF/I4 = LOGIC OMITED
HOURSNEEDT/I4 = LOGIC OMITED
HOURSNEEDTF = LOGIC OMITED
CURRELIG/A4 = LOGIC OMITED
BLANK/A1 = ' ';
END
-RUN

TABLE FILE TOTDATA
PRINT CONTRACT_ABBREVIATION AS 'Proj,Abbrv'
PROJECT_STATUS AS 'Proj,Status'
APROJSTATEFDTE AS 'Proj,Status,Eff,Date'
PROJPERFENDDATE AS 'Proj,End Date'
DISTTHRUDATE AS 'Hours,Dist,Through'
PROJHOURS AS 'Hours,Dist'
PERSAL AS 'Percent,Salary'
BLANK AS '$1500'
BLANK AS '$2000'
BLANK AS '$2500'
BLANK AS 'Currently Eligible For:'
BY EMPLOYEE_NAME AS 'Emp.,Name'
BY UT_EID AS 'UT,EID'
BY EMPLOYEE_STATUS AS 'Emp.,Stat.'
BY AEMPSTATEFFDATE AS 'Emp.,Stat. Eff.,Date'
ON EMPLOYEE_NAME SUBFOOT
"<+10> < TOTHOURS <+1> < HOURSNEEDF < HOURSNEEDT < HOURSNEEDTF < CURRELIG"

Thanks!


Dev: WF 5.2.1
Production: WF 5.2.1
Testing: WF 7.1.3
 
Posts: 26 | Registered: October 30, 2006Report This Post
Virtuoso
posted Hide Post
Subfoots don't work well at all in excel
USING THE CAR FILE
TABLE FILE CAR
SUM SALES DEALER_COST
COMPUTE PCT/D7.3 = ( DEALER_COST / SALES ) * 100;
BY COUNTRY
BY MODEL
ON COUNTRY SUBTOTAL DEALER_COST SALES
ON TABLE PCHOLD FORMAT EXL2K
END

Will give subtotals on just two columns. Might try something like that.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
You should be able to use HEADALIGN=BODY to align subfoot elements to the body of the report.

Here's a simple example:

TABLE FILE CAR
SUM SALES
CNT.MODEL NOPRINT
BY COUNTRY
ON COUNTRY
SUBFOOT
"TOTAL MODELS <CNT.MODEL"
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=SUBFOOT, HEADALIGN=BODY, $
TYPE=SUBFOOT, ITEM=2, JUSTIFY=RIGHT, COLOR=RED, $
ENDSTYLE
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Aligning Subfoots with Columns in Excel

Copyright © 1996-2020 Information Builders