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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Heading
 Login/Join
 
<We_Focus>
posted
Hi All

I am using Resourse Layout Painter . I have created a report in that and it takes a parameter REGION and the values are
All, midwest,northeast,West

if i am selecting All total report should display
and
heading as
REGION : ALL(THIS SHOULD DYNAMICALY CHANGE AS THE REPORT CHANGES)

In the report heading i have parameters value as

Heading
Region : <REGION

If i am selecting Midwest in the parameter dropdown it shows

Region : Midwest

Know I am selecting ALL Option in parameter
and the heading should be

Region : ALL

But the report is also not displayed and heading too

So for adding ALL in Heading what should i do

Thanks in Advance
 
Report This Post
Guru
posted Hide Post
I'm guessing your gui is passing the string 'ALL' when it should be passing a wildcard character like '%'. To get '%' to display as 'ALL' you will need to create a COMPUTEd field with will translate '%' into 'ALL'.

You will need something like this:
COMPUTE DISPLAY/A20 = DECODE REGION('%' 'ALL' ELSE REGION);
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
<We_Focus>
posted
Hi CurtisA

NO its not working
thanks for reply

I want the parameter value for ALL so i can display it in the heading
 
Report This Post
Platinum Member
posted Hide Post
If you're selecting MIDWEST, then the where clause:

WHERE REGION EQ 'MIDWEST'

will work great.

I'm assuming of course that you're doing a where clause in this manner.

To do the 'all' logic, unless the REGION column contains the value 'ALL' then you will not see any data.

Here's just one suggestion:

-SET &HEADLINE = IF ®ION EQ 'ALL' THEN 'REGION: ALL' ELSE 'REGION : <REGION' ;

TABLE FILE ...
HEADING
"&HEADLINE.EVAL"
...
-IF ®ION EQ 'ALL' THEN GOTO SKIP ;
WHERE REGION EQ '®ION' ;
-SKIP
END

Does this help?

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
Platinum Member
posted Hide Post
The posting didn't come out too well. The parameter for 'amper region' is incorrect. Use this instead:

-SET &HEADLINE = IF &XREGION EQ 'ALL' THEN 'REGION: ALL' ELSE 'REGION : <REGION' ;

TABLE FILE ...
HEADING
"&HEADLINE.EVAL"
...
-IF &XREGION EQ 'ALL' THEN GOTO SKIP ;
WHERE REGION EQ '&XREGION' ;
-SKIP
END

Ken
 
Posts: 177 | Location: Calgary, Alberta, Canada | Registered: April 25, 2005Report This Post
<We_Focus>
posted
Hi k.lane

Thanks its working
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders