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     ACROSS COLUMNS and COMPUTE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
ACROSS COLUMNS and COMPUTE
 Login/Join
 
Expert
posted
I would like to specify the columns in an ACROSS statement and have a COMPUTE right after. This does not seem to be possible. Any ideas?

TABLE FILE CAR
SUM
SALES AS ''
DCOST NOPRINT
BY COUNTRY
ACROSS SEATS AS '' COLUMNS 2 AND 3 AND 4 AND 5 AND 6
COMPUTE TOT_COST/D15 = DCOST; AS 'TOTAL,COST'
END

Thanks.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
COMPUTE TOT_COST/D15 = DCOST;
AS 'TOTAL,COST'
BY COUNTRY
SUM
SALES AS ''
DCOST NOPRINT
BY COUNTRY
ACROSS SEATS AS '' COLUMNS 2 AND 3 AND 4 AND 5 AND 6
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=TOT_COST, SEQUENCE=99, $
END

This does the trick. Even though, according to the manual, SEQUENCE is for PDF and PS only.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Oh...What do manuals know?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<DocServices>
posted
Hi Francis,

Which manual are referring to?

SEQUENCE works with PDF, PS, HTML, and EXL2K, which is documented in the following manuals:


  • Creating Reports With WebFOCUS Language Version 7.1 (DN4500695.0505)
  • Creating Reports With WebFOCUS Language Version 5.3 (DN4500580.0904)


I hope this helps.

Best,
Jennifer
 
Report This Post
Expert
posted Hide Post
I do not see HTML or EXCEL 2000 mentioned with SEQUENCE in my copy of this document:

Creating Reports With WebFOCUS Language
Version 5 Release 3 - DN4500580.0904 - wf_crlang_53.pdf

Page 26-19:
quote:
SEQUENCE Sets column order. PDF PS
Page 26-27:
quote:
This syntax applies to a PDF or PS report.
[TYPE=REPORT,] COLUMN=identifier, SEQUENCE=sequence, $
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
<DocServices>
posted
Hi Francis,

Thanks for catching that! We will update the PDF file to reflect the changes.

In the meantime, you can refer to the HTMLHelp file which is correct.

The updated PDF file for Creating Reports With WebFOCUS Language Version 5 Release 3(DN4500580.0904), will be reposted in a few days.

Sorry for any confusion this may have caused.

Best,
Jennifer
 
Report 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     ACROSS COLUMNS and COMPUTE

Copyright © 1996-2020 Information Builders