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     [SOLVED]Accordion Report: How to suppress the plus sign if the fields are empty

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Accordion Report: How to suppress the plus sign if the fields are empty
 Login/Join
 
Member
posted
How can I suppress the plus sign if the fields in a Accordion Report are empty?

Just as an example, in the following Code is TEMP1 and TEMP2 allways empty, so it would be nice that the plus sign in front of These 2 TEMP-Fileds would not appear or is not clickable.

Is this in some Way possible?
Maybe in Styleshett?

DEFINE FILE CAR
TEMP1/A1='';
TEMP2/A1='';
END

TABLE FILE CAR
-*SUM BHP
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
BY BHP
BY TEMP1
BY TEMP1
ON TABLE SET EXPANDABLE ON
ON TABLE SET EXPANDBYROW ALL
END

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8
Linux, All Outputs
 
Posts: 7 | Registered: January 28, 2016Report This Post
Platinum Member
posted Hide Post
I suggest you do not use TEMP1 as a BY field but use it as SUM field, if possible?


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
 
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011Report This Post
Member
posted Hide Post
Please let me a Little precise, if TEMP1 is empty, then I want no + sign, but if filled it must have an + sign:

DEFINE FILE CAR
TEMP1/A1=IF BODYTYPE EQ 'CONVERTIBLE' THEN 'X' ELSE '';
TEMP2/A1=IF BODYTYPE EQ 'CONVERTIBLE' THEN 'Y' ELSE '';
END

TABLE FILE CAR
-*SUM BHP
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
BY BHP
BY TEMP1
BY TEMP1
ON TABLE SET EXPANDABLE ON
ON TABLE SET EXPANDBYROW ALL
END


WebFOCUS 8
Linux, All Outputs
 
Posts: 7 | Registered: January 28, 2016Report This Post
Member
posted Hide Post
Like this it works:

DEFINE FILE CAR
TEMP1/A1=IF BODYTYPE EQ 'CONVERTIBLE' THEN 'X' ELSE '';
TEMP2/A1=IF BODYTYPE EQ 'CONVERTIBLE' THEN 'Y' ELSE '';
END
TABLE FILE CAR
-*SUM BHP
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
BY BHP
BY TEMP1
BY TEMP1

ON TABLE SET EXPANDABLE ON
ON TABLE SET EXPANDBYROW ALL
END
-RUN

-HTMLFORM BEGIN
< !DOCTYPE html>



-* <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js">

<script type="text/javascript">
$(document).ready(function(){
var eRow1 = $('td:contains(" ")').has("a").parent();
var eRow2 = eRow1.next();
var remMinus = eRow1.prev().find("a");
eRow1.remove();
eRow2.remove();
remMinus.remove();
});


-HTMLFORM END


WebFOCUS 8
Linux, All Outputs
 
Posts: 7 | Registered: January 28, 2016Report 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     [SOLVED]Accordion Report: How to suppress the plus sign if the fields are empty

Copyright © 1996-2020 Information Builders