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] Define Field from multiselect paramater

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Define Field from multiselect paramater
 Login/Join
 
Member
posted
It seems ridiculous that I can't find a solution to this one.

Quite simply put, I want to create a define field that utilizes the value from a multi-select parameter in the report.

My Define Field:
If the multi-select field is (no selection _FOC_NULL) then 'A' else 'B'.



DEFINE FILE webfocus/wf_retail_lite
Sort_Field/A1=IF &PRODUCT_CATEGORY EQ '_FOC_NULL' THEN 'A' ELSE 'B';
END

TABLE FILE webfocus/wf_retail_lite
BY Sort_Field
WHERE PRODUCT_CATEGORY EQ &PRODUCT_CATEGORY.(OR(FIND PRODUCT_CATEGORY IN WF_RETAIL_LITE |FORMAT=A40V)).Product Category:.;
END

I'm assuming this is a problem with analyzing the _FOC_NULL element, having tried many things I've decided to all upon the experts.

Any help would be greatly appreciated.

Brian.

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


WebFOCUS 7 & 8
Windows, All Outputs
 
Posts: 16 | Registered: September 03, 2014Report This Post
Member
posted Hide Post
I knew it was a stupid one! Adding .QUOTEDSTRING after the parameter did the job.


WebFOCUS 7 & 8
Windows, All Outputs
 
Posts: 16 | Registered: September 03, 2014Report 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] Define Field from multiselect paramater

Copyright © 1996-2020 Information Builders