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
Value in a variable
 Login/Join
 
<Shylaja>
posted
Hi,
I have a dropdown box containing values.
ONce a value is selected fromt he drop down, it should be stored in a FOCUS variable. How can I implement this?
PLease Help...
 
Report This Post
<JJI>
posted
Shylaja,

In your html the dropdown box has a name(Example NAME="Country"). It is that name that you should use in your Focus procedure to do for example a selection. So the name of your drop down list becomes the variable name in your procedure.

 WHERE COUNTRY EQ '&County'; 


Hope this helps,
 
Report This Post
Virtuoso
posted Hide Post
As Dirk says, Shylaja, are you using developer studion and populating the drop down first or importing a fex which resulted in you creating the box 'automatically'. If in Dev Studio, the parameters tab will show the current parameter list and if you click on the drop down box, it highlights the parameter name currently assigned to that box if there is one.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<Shylaja>
posted
Thanks JJI and Leah,
I am using developer studio, not importing any fex.
I need to store the value selected from the drop down in a FOCUS variable for further use.
Please explain, how this could be done...

Regards,
Shylaja.
 
Report This Post
Expert
posted Hide Post
Shylaja,

Read Dirk's post above, as that tells you what you need to know.

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Platinum Member
posted Hide Post
Hi Shylaja,

as Dirk's said. if you got a procedure that contains serch Creteria let say:-

TABLE FILE CAR
PRINT *
WHERE COUNTRY='&Country';
END

thats mean your report will display the records that match your value you are pass it from your HTML page.

at the HTML page you will need to create drop down menue within same name of the parameter that you put it in your WHERE statment in the Procedure. Country

hope this will help


WF 7.7.0.3HF3 / WinXP- WF-Client & Apache / DevStd 7.7.0.3HF3 win XP.
 
Posts: 118 | Registered: February 08, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders