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 have developed a summary report to display the data in Excel format. The report has only HEADING, SUBHEAD and SUBFOOT(no detail records). Each of Heading, SUBHEAD & SUBFOOT has 4-5 lines printing the text with ST. values, when the format of the ST. value is changed from decimal to regular numeric("SubTotal Value : ThanksThis message has been edited. Last edited by: Kerry,
(FOC268) THE FIELD NAME IS NOT REFERENCED IN THE REQUEST STATEMENT
The below is my sample code,
TABLE FILE CAR BY NAME NOPRINT BY COL2 NOPRINT ON NAME SUBHEAD "ON COL2 RECAP RTOT_CREATED/I9 = TOT_CREATED; ON COL2 SUBHEAD "ON NAME SUBFOOT "ON TABLE FOOTING "ON TABLE SET ONLINE-FMT EXL2K END
Here is the code(Note: This is a sample code and i did not compile it),
TABLE FILE CAR
BY NAME NOPRINT
BY COL2 NOPRINT
ON NAME SUBHEAD
" <NAME "
ON COL2 RECAP RTOT/I9= CRTD_TOT;
ON COL2 SUBHEAD
" <COL2 Total: <RTOT "
ON NAME RECAP ST_RTOT/I9= ST.CRTD_TOT;
ON NAME SUBFOOT
" <NAME Total: <ST_RTOT "
ON TABLE RECAP TOT_RTOT/I9= TOT.CRTD_TOT;
ON TABLE FOOTING
" All Total: <TOT_RTOT "
ON TABLE SET ONLINE-FMT EXL2K
END
The error message seems quite clear to me - it tells you that you have to use the field in the recap with a sum or print command. And since you do not have that, you get the error.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Gerard is correct: you need to use the field in the fex. So maybe something like this:
TABLE FILE CAR
SUM CRTD_TOT NOPRINT
BY NAME NOPRINT
BY COL2 NOPRINT
ON NAME SUBHEAD
" <NAME "
ON COL2 RECAP RTOT/I9= CRTD_TOT;
ON COL2 SUBHEAD
" <COL2 Total: <RTOT "
ON NAME RECAP ST_RTOT/I9= CRTD_TOT;
ON NAME SUBFOOT
" <NAME Total: <ST_RTOT "
ON TABLE RECAP TOT_RTOT/I9= CRTD_TOT;
ON TABLE SUBFOOT
" All Total: <TOT_RTOT "
ON TABLE SET ONLINE-FMT EXL2K
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
-* File Vad1.fex
TABLE FILE CAR
SUM RCOST NOPRINT
BY COUNTRY NOPRINT
BY BODYTYPE NOPRINT
ON COUNTRY SUBHEAD
" <COUNTRY "
ON BODYTYPE RECAP RTOT/I9= RCOST;
ON BODYTYPE SUBFOOT
" <BODYTYPE Total: <RTOT "
ON COUNTRY RECAP ST_RTOT/I9= RCOST;
ON COUNTRY SUBFOOT
" <COUNTRY Total: <ST_RTOT "
ON TABLE RECAP TOT_RTOT/I9= RCOST;
ON TABLE SUBFOOT
" All Total: <TOT_RTOT "
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
In your request you mention a field called CRTD_TOT. What is the definition of that field? Danny's example works fine without any problem, and the only difference with your request is this field. So that's why I'm asking how this field is calculated.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007