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] Double list control webfocus values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Double list control webfocus values
 Login/Join
 
Gold member
posted
I have used a double list control in webfocus version 7.6.1.

I am getting the value in the below format
'PP Test TR' OR 'PP Test TR' OR 'PP SMS Level' OR 'PP SMS Level'.

I need the value in the below format to pass in a oracle procedure.

'PP Test TR','PP Test TR','PP SMS Level','PP SMS Level'.

Please help.

Thanks in advance!

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6.1
Windows, All Outputs
 
Posts: 50 | Location: Scun-thorpe,UK | Registered: November 14, 2012Report This Post
Silver Member
posted Hide Post
I use 7.7.03, and the only way I know this is to edit the source of the htm file, find the operation="" attribute of the tag that refers to the control, and make it
 operation=",". 


WF: WebFocus 7.7.03
Data: Oracle, MSSQL, DB2
OS: Windows
Output: HTML/AHTML,PDF,EXL2K FORMULA, COMT
 
Posts: 43 | Registered: November 21, 2011Report This Post
Guru
posted Hide Post
You can use STRREP to replace hte OR with ,

 
-SET &ValueLength   = &Value.LENGTH;
-SET &ValueAdj      = IF &Value CONTAINS ' OR ' THEN STRREP (&Value.LENGTH, &Value, 3, ' OR ', 1, ',', &Value.LENGTH, 'A&ValueLength.EVAL') ELSE &Value;
 


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Gold member
posted Hide Post
Thanks MattC.

Its working and usefull.


WebFOCUS 7.6.1
Windows, All Outputs
 
Posts: 50 | Location: Scun-thorpe,UK | Registered: November 14, 2012Report This Post
Guru
posted Hide Post
Very Good!

I had to do a lot of that in one of my programs as I had a lot of multi-select parameters being passed to SQL in Oracle.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report 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] Double list control webfocus values

Copyright © 1996-2020 Information Builders