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.
Hello folks, At a first glance the problem may not seem so difficult but I don't have an idea how this could be achieved ( if it is possible ) I have I table and I want to achieve the following : if a given key value is eqaul to 1 I want to print the columns otherwise a label. e.g. lets have the following table:
TABLE1
COL1 COL2 ---- ----
1 A 1 B 2 C 3 D 1 E 2 F 1 G 1 H
And I want the report in the following form:
REP
COL1 COL2 ---- ----
_some_label_ _some_label_ 2 C 3 D _some_label_ 2 F _some_label_ _some_label_
Using a subfood or a subhead is not doing the job. ( subhead always prints at the beginning of the table and subfoot - at the end ) Thanks in advance !This message has been edited. Last edited by: Martin_fmi,
Compute a new field in your report to determine the value of COL1 and assign a value accordingly. If the label is alpha and COL1 is numeric then you will have to convert COL1 to alpha before stroing it in your new field. Finally sort COL2 NOPRINT to get it in the order that you imply.
And please update your signature as per link on front page
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Sorry , but I was not clear enough - that label is not in any column - it is a separate row as a subhead or a subfoot is and can be separately aligned.
GamP , thanks a lot but the subhead is printed always at the beginning of the report. So I have not tried it but if I simply put a subhead and use 'when col1 EQ 1' after the subhead I am not sure whether it will print a subhead at the beginning whenever there is 1 or not as the first value in col1. I will try it - thanks again
You can also search for 'macgyver' on this forum and you will get lots of hits.
I don't know what your skill level is with the product but once you understand what the technique does for you, you can use it to solve a multitude of problems.
I will try to revisit this in a bit as I have to do something for one of my users now.