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     To Display the fields based on some selection criteria

Read-Only Read-Only Topic
Go
Search
Notify
Tools
To Display the fields based on some selection criteria
 Login/Join
 
Member
posted
Hi,

I have few fields to be displayed based on particular condition. i.e I have a field by name STATUS, which contains 5 different values
1.Closed 2.Assigned 3.New 4.Resolved & 5.Workinprogress.

My requirement is, I want to have 2 define fields in which I want to display only Closed & Resolved case_ID and the rest in the other field.

Can anyone suggest me on this.... Confused

Thanks & Regards
Ashok kumar M
 
Posts: 11 | Registered: April 18, 2006Report This Post
Platinum Member
posted Hide Post
If I am understanding your question correctly, you just need to define your two fields thus:

FIELD1/I9 MISSING ON=
IF STATUS EQ 1 THEN CASE_ID ELSE
IF STATUS EQ 4 THEN CASE_ID ELSE MISSING;

FIELD2/I9 MISSING ON=
IF STATUS EQ 2 THEN CASE_ID ELSE
IF STATUS EQ 3 THEN CASE_ID ELSE
IF STATUS EQ 5 THEN CASE_ID ELSE MISSING;

You will have to change the format of your fields to whatever the format of CASE_ID is.

Regards

Tewy


WF 7.6.11
Output: HTML, PDF, Excel
 
Posts: 123 | Location: UK | Registered: October 09, 2003Report This Post
Gold member
posted Hide Post
Not sure if this is what you need or want:

DEFINE FILE . . .
DEF_FLD1/I9 = IF STATUS EQ 1 OR 4 THEN CASE_ID ELSE 0 ;

DEF_FLD2/I9 = IF STATUS NE 1 OR 4 THEN CASE_ID ELSE 0 ;
END

TABLE FILE . . .
PRINT DEF_FLD1 AS ‘CLOSED/,RESOLVED’
DEF_FLD2 AS ‘ASSIGNED/,NEW/,IN PROGRESS’
:

Take care,
Jim


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
 
Posts: 77 | Location: Baltimore | Registered: May 31, 2006Report This Post
Member
posted Hide Post
Thanks a lot Tewy and Jim for all your timely support.

It seems to work fine now Smiler

Regards,
Ashok Kumar M
 
Posts: 11 | Registered: April 18, 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     To Display the fields based on some selection criteria

Copyright © 1996-2020 Information Builders