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] Chainning two dwopdowns with dynamic focexec procedures

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Chainning two dwopdowns with dynamic focexec procedures
 Login/Join
 
Gold member
posted
I tried the examples and can not get the dynamich chainning for two dropdowns using the following focexecs:

procedure a:

TABLE FILE BWQ_INS_CUSTOMERMASTER
PRINT DST.PRIMARY_GROUP
BY PRIMARY_GROUP NOPRINT
ON TABLE PCHOLD FORMAT XML
ON TABLE SET HOLDLIST PRINTONLY
END

procedure b:

DEFINE FILE BWQ_INS_CUSTOMERMASTER
SOLDTO/A10=CUSTOMER;
END
TABLE FILE BWQ_INS_CUSTOMERMASTER
PRINT DST.SOLDTO
BY SOLDTO NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
WHERE PRIMARY_GROUP EQ '&PRIMARY_GROUP';
ON TABLE PCHOLD FORMAT XML
END


based on everything I read, this should work..can anyone please help...thanks

This message has been edited. Last edited by: Kerry,


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Expert
posted Hide Post
The first thing that you need to understand and remedy is that you must have two fields in the output of your fexes because of the way in which the XML is pattern matched - it looks for both C0 and C1 elements.

When you say that [sic] "can not get the dynamich chainning for two dropdowns using the following focexecs", what is not working? What are the symptoms or errors that you are receiving?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
Hi Tony...thanks for getting back to me..!

The first dropdown doesn't populate at all and the second has data in it. If I run them separately they look ok...when I attached them to the dropdown boxes and chain them ...nothing seems to work...I also tried unchainning them and that didn't work.

below is one of the documents I found that I was trying to follow:

Designing a User Interface for a Web Application With the Resource Layout Painter
Developing Reporting Applications 6-67
Example: Retrieving Values for Chained Variables With Caching Disabled
In the following procedures, there are three parameters (REGION, ST, CITY). Caching is
disabled, so each parameter control must be mapped to its own procedures.
Procedure 1 1 (REGION)

TABLE FILE GGSALES
SUM FST.REGION
BY REGION
ON TABLE PCHOLD FORMAT XML
END

Fex 2 (ST)
TABLE FILE GGSALES
SUM FST.ST
BY ST
WHERE REGION EQ ®ION;
ON TABLE PCHOLD FORMAT XML
END


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Gold member
posted Hide Post
Tony,
looks like one line didn't copy correctly in the example of the fex 2:
should be
WHERE REGION EQ ®ION;
AND NOT
WHERE REGION EQ ®ION;

THANKS


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Gold member
posted Hide Post
I guess amper signs do not translate well..sorry


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Expert
posted Hide Post
They will if you put your code between
[code]
[/code]
tags...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Thanks Francis....


Now...can anyone please help me with my chainning issue????


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Expert
posted Hide Post
You may wish to post the code of the HTML page, within
[code]
[/code]
tags, please (the code tag is added when you click on the </> button. You could also edit your previous posts in this thread and put the code between the tags. Also, perhaps you could correct that lisp in the thread title.

Regards,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
What lispth ? Smiler


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Expert
posted Hide Post
MMcDonald,

My apologies for not getting back on this but I am V busy on a project and do not have enough time to answer this fully for you. If I am able, I will try and give you more info when I return home at the weekend.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
quote:
dwopdowns


MM, how about posting your html code so we can see how the dynamic procedures are called?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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] Chainning two dwopdowns with dynamic focexec procedures

Copyright © 1996-2020 Information Builders