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] Form passes combobox1 value for combobox2 to fex

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Form passes combobox1 value for combobox2 to fex
 Login/Join
 
Silver Member
posted
Version 7.6.4
I have a form with two list boxes that are chained WORK_CENTER_NO and PROJECT_ID. Box are populated via focexec, because there are joins involved. The values appearing in the two listboxes look correct, however when the selections are made and the report is run, the value of the WORK_CENTER_NO is passed where I would expect the value of the selected PROJECT_ID.
observe the two SELECT statements:
<SELECT id=combobox1 style="Z-INDEX: 5; LEFT: 120px; WIDTH: 130px; POSITION: absolute; TOP: 40px" tabIndex=6 name=WORK_CENTER_NO cacheruntimedata="1" inchainindex="1" chainnumber="0" boundtovariable="1" datasource="crpl1002.fex" datatype="1" sourcetype="typeFex" selectedvalue="WORK_CENTER_NO" datafield="WORK_CENTER_NO" displayfield="WORK_CENTER_NO" operation="NONE" accept="0" addalloption="1" dfformat="A6V" ibic_server="EDASERVE" ibiapp_app="jfoster" dynalldisplayvalue="ALL" textvarname="WORK_CENTER_NO_TEXT" newchainnumber="0"></SELECT>
<SELECT id=combobox2 style="Z-INDEX: 10; LEFT: 360px; WIDTH: 150px; POSITION: absolute; TOP: 40px" tabIndex=11 name=PROJECT_ID cacheruntimedata="1" inchainindex="2" chainnumber="0" boundtovariable="1" datasource="crpl1001.fex" datatype="1" sourcetype="typeFex" selectedvalue="PROJECT_ID" datafield="PROJECT_ID" displayfield="PROJECT_ID" operation="NONE" accept="0" addalloption="1" dfformat="A10V" ibic_server="EDASERVE" ibiapp_app="jfoster" dynalldisplayvalue="ALL" textvarname="PROJECT_ID_TEXT" newchainnumber="0"></SELECT>
  

Observe the variable statements:
<variable field="WORK_CENTER_NO" file="dw_dim_cost_center.mas" desc="Please select Work Center" datatype="1" operation="" default="" name="WORK_CENTER_NO" textvarname="" accept="0" type="unresolved" select="0" min="" max="" controltype="8" create="1"></variable>

<variable field="PROJECT_ID" file="DW_DIM_PROJECTS.mas" desc="Please select a Project" datatype="1" operation="" default="" name="PROJECT_ID" textvarname="" accept="0" type="unresolved" select="0" min="" max="" controltype="8" create="1"></variable>
  

Any suggestions?
Thanks in advance

This message has been edited. Last edited by: Kerry,
 
Posts: 37 | Registered: November 22, 2005Report This Post
Gold member
posted Hide Post
Look at utilizing javascript and create arrays based on the choices.


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Expert
posted Hide Post
they are chained??
or not...
if they are chained,
change 'cacheruntimedata="1"' to
'cacheruntimedata="0"'

if there are 2 separate fexes making the lists.
make sure the 2nd fex contains a filter
WHERE WORK_CENTER_NO EQ '&WORK_CENTER_NO'

If they are not meant to be chained,
do they each work individually? (nuke the 2nd select and see if you get what you expect for the first)
Have the launch page just execute a simple fex that does nothing more than -TYPE the &vars being passed by the launch page. saves ageda that way.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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] Form passes combobox1 value for combobox2 to fex

Copyright © 1996-2020 Information Builders