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     [CLOSED] Inner sort in AHTML?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Inner sort in AHTML?
 Login/Join
 
Member
posted
Hi, I have an Active Report and I would like to be able to sort on more than one column. I noticed that in the Help it says that 'inner sort' is supported if the report is expandable, is this what Im looking for? Setting the report to expandable ON isnt working.

"If the ALLOW-SORT option is enabled, users have options to sort columns in either ascending and descending order. For string data types, the sorting is alphabetical. For date data types, the sorting is chronological. When the report view option is expandable, an inner sort is also supported."

My code:

ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET PAGE-NUM OFF
ON TABLE COLUMN-TOTAL AS 'Totals'
ON TABLE SET HTMLCSS ON
ON TABLE SET EMPTYCELLS OFF
ON TABLE SET EXPANDABLE ON
ON TABLE SET STYLE *
WRAP=OFF,
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
TITLETEXT='&TITLETEXT.EVAL',
$
TYPE=REPORT,
ALLOW-SORT=ON,
ALLOW-VISUALIZE=ON,
$

This message has been edited. Last edited by: Kerry,


WebFOCUS 7611
Windows XP Pro
 
Posts: 11 | Location: Nottingham, UK | Registered: February 27, 2009Report This Post
Virtuoso
posted Hide Post
Just ran this in 765, and I think it is exactly what you're looking for.
This is my example code:
TABLE FILE CAR
PRINT  MODEL SEATS
BY COUNTRY
BY CAR
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET PAGE-NUM OFF
ON TABLE COLUMN-TOTAL AS 'Totals'
ON TABLE SET HTMLCSS ON
ON TABLE SET EMPTYCELLS OFF
ON TABLE SET EXPANDABLE ON
ON TABLE SET STYLE *
TYPE=REPORT,
ALLOW-SORT=ON,
$
END

And I can sort on cars within a country. Is that what you're looking for?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Hi, thanks for your input I can see how that functionality works now, I wasn't getting that on my report. I need to be able to sort on any fields. So for example there you can sort on country within car, I would like to be able to sort on car within country, and on any number of fields in any order. So the flexibility isn't there for my needs.
I guess I will have to code this in webfocus and do away with active reports. Would you be able to advise me on the best approach?


WebFOCUS 7611
Windows XP Pro
 
Posts: 11 | Location: Nottingham, UK | Registered: February 27, 2009Report This Post
Virtuoso
posted Hide Post
This link offers one technique for providing column sorting functionality.

http://forums.informationbuild...831025691#3831025691


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report 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     [CLOSED] Inner sort in AHTML?

Copyright © 1996-2020 Information Builders