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] Search or Sorting data from different columns.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Search or Sorting data from different columns.
 Login/Join
 
Member
posted
I have a question for a report which I cannot figure out. I have a table with columns (Title, vm1, vm2, vm3) holding account numbers. A company can have one or more accounts and account numbers can be listed in one or all the 3 columns. How can I display the fields where an account has been listed?

Example
Title vm1 vm2 vm3
MD 10 15 25
BOA 25 20 .
Citi . 33 10

If I select account 10, I need a return of all complany titles and columns where that account has been listed.
Which should be MD and Citi.

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


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
<FreSte>
posted
With "If I select account 10 ...", do you mean you have a drilldown on that column??

If yes, in the fex that's is executed by the drilldown, you could do something like:
(let's say &ACNUM = 10)

....
WHERE vm1 EQ &ACNUM OR vm2 EQ &ACNUM OR vm3 EQ &ACNUM ;
....
 
Report This Post
Member
posted Hide Post
Yes, I have a dynamic list dilldown on vm1 (column),
T2 = tablename, vm1 = column name, ACNUM = Data or account #( since it is a dynamic list, the ACNUM will be selected from the dropdown list pointing to column - vm1
e.g
WHERE (T2.T2.vm1 EQ &vm1.(OR(FIND vm1, T2. T2. vm1 IN T2)). vm1. )
WHERE vm1 EQ &ACNUM OR vm2 EQ &ACNUM OR vm3 EQ &ACNUM ;

I have tried what you wrote but it gives me only records from vm1


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report This Post
<FreSte>
posted
And what happens if you comment-out the first WHERE statement ??
 
Report This Post
Member
posted Hide Post
I have been out of the office, but I would like to update this request, I used FreSte code and it works great. Thanks FreSte


WebFOCUS 7.6
HP AIX (SERVER) & XP (Local)
all output
 
Posts: 13 | Location: MD | Registered: October 08, 2010Report 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] Search or Sorting data from different columns.

Copyright © 1996-2020 Information Builders