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] Designer - Chaining Controls with sent value, and display value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Designer - Chaining Controls with sent value, and display value
 Login/Join
 
Platinum Member
posted
Hello,

I keep running into errors when I try to chain Parameters together that use a send value and a display value. Can someone tell me what I'm doing wrong here?

In the example below, why does the last line with PCD work when I run without WITHIN. But it doesn't run when I include it?

 

-DEFAULT &aregion = '_FOC_NULL';

 TABLE FILE ibisamp/ggsales
 SUM UNITS
  BY REGION
  BY ST
  BY CITY
  BY DATE
  ACROSS PCD
  WHERE
	AND	( REGION EQ &aregion.(OR(FIND REGION IN GGSALES|FORMAT=A11)).Region.QUOTEDSTRING )
	AND ( PCD EQ &PCD.(OR(FIND PCD, PRODUCT IN GGSALES|WITHIN=aregion)).)
 END

 

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
I found this thread.

Looks like someone else had the same problem as I did.

http://forums.informationbuild...1057331/m/6747093886


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
Need to remove the AND after the WHERE and the QUOTEDSTRING. The following code worked for me in 8.2.06.
-DEFAULT &aregion = '_FOC_NULL';
-DEFAULT &PCD     = '_FOC_NULL';
 TABLE FILE ibisamp/ggsales
 SUM UNITS
  BY REGION
  BY ST
  BY CITY
  BY DATE
  ACROSS PCD
  WHERE	REGION EQ &aregion.(OR(FIND REGION IN GGSALES|FORMAT=A11)).Region. 
    AND PCD EQ &PCD.(OR(FIND PCD, PRODUCT IN GGSALES|WITHIN=aregion)). 
 END

I think there was an issue with having both chaining and code,value like you have with PCD,PRODUCT. I was told the issue was fixed in 8.2.05.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Platinum Member
posted Hide Post
Thanks a lot dbeagan.

I appreciate your input.

I'm still on 8204 and even with the revised code, I'm getting an error. I guess I'll have to wait for upgrade before I can really start using designer functionality.

Missed by .01 of a version haha.

Thanks again. I'm closing this for now.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report 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] Designer - Chaining Controls with sent value, and display value

Copyright © 1996-2020 Information Builders