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] Need to extract comma seperated data from the cell.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Need to extract comma seperated data from the cell.
 Login/Join
 
Member
posted
Hi All,
I need a quick resolution to one of my problem.
I need to diplay the content of a single cell in a following way.

Input Format:

Vendor_ID Product

Vend1 Dept:1 Prod1 Item1 , Dept:1 Prod2 Item 2, Dept:2 Prod1 Item25
Vend2 Dept:4 Prod4 Item 1
Vend3 Dept:5 Prod1 Item1 , Dept:5 Prod2 Item 2, Dept:5 Prod6 Item2

Required Format:

Vendor_ID Product

Vend1 Dept: Multiple
Vend2 Dept:4 Prod4 Item 1
Vend3 Dept:Multiple

The Input Format section contains the information of the products that each vendor supplies.Number of products is seperated by a ',' as shown in the Input format. So my requirement is that if the vendor supplies more than 1 product then we need to display as "Dept"Multiple" else if Vendoe supplies only one product then display the product as it is there in the Product Column.

Can anybosy provide me the working code using CAR/Employee DB.

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


WebFOCUS 7.1
Windows
Output: HTML, Excel & PDF
 
Posts: 10 | Registered: November 22, 2007Report This Post
Platinum Member
posted Hide Post
Nice spec. You want I should give quote for doing work? I learn v quick, give good answer.

How much you pay?

Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
 
Posts: 106 | Registered: April 06, 2009Report This Post
Guru
posted Hide Post
Prash,

Look up the GETTOK function. This is what I use for this type of requirement.
As for the Multiple, use common logic.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Virtuoso
posted Hide Post
Prash,

Maybe this is too simple but...

  
DEFINE FILE ...
PRODUCT=IF PRODUCT CONTAINS ',' THEN 'Dept: Multiple' ELSE PRODUCT;
...
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report 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] Need to extract comma seperated data from the cell.

Copyright © 1996-2020 Information Builders