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     HTML Combo Box value to a procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
HTML Combo Box value to a procedure
 Login/Join
 
Member
posted
I am very new to webfocus. recently my company purchased and I am trying to build some applications via webfocus.
I creaed a procedure to create distinct AsOfDates which I want to use as a dropdown for date selection on a html page.I created this list as a temp. file.
I created a html form and added combo box.
now I am populating this combobox from the dynamic list and pulling from the temp file.
I created anohter seperate procedure as SQL report with data as a parameter for the Stored Procedure.
Now on HTML i have a sumbit button and i have to pass the drop down value from (asofdate) to this procedure.
Anyh help or pointers will be great.
Thansk,
Rao
 
Posts: 14 | Registered: April 18, 2007Report This Post
Expert
posted Hide Post
Rao,

Please update your signature as per this topic as everyone has been requested to do, so that if you ask release or platform specific questions we can respond accordingly. Thank you.

HTML form controls generally have a "name" attribute. In URLs these "name" vales are included together with their value. WebFOCUS accepts these pairings and they become WebFOCUS variables.

So, for instance, in the URL http://yourserver/ibi_apps/WFServlet?IBIF_ex=yourfexnam...der&variable1=value1 etc. WebFOCUS will set a variable called &variable1 to the value of value1.

If you code a -? & within your fex, you will be presented with a list of the variables available to that process.

I would recommend getting your company to send you on some training courses with IB.

T

This message has been edited. Last edited by: Tony A,



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
Master
posted Hide Post
RAO,
I am assuming you are on WebFocus 7 or higher since your company just purchased it and that you are using IBIs screen development tool to create the HTML. Unfortunately, at this location I can't check this because we are on 5.3, so I am doing this from memory.

In the screen development tool(or in the HTML editor), there is a way to give your fields a name(on the right side of the screen). The name that you assign here is the name that the program uses for the values passed. If you name your field ASOFDT in the form, it is &ASOFDT to your program. You can use:

-TYPE &ASOFDT
-EXIT

in your program to check to see if the values are passing correctly. With most alphanumeric variables you will also want to check for a value of FOC_NONE which means no selection was made.

Welcome the club and good luck!


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thanks Tony and Brightwell.
I will take some classes and yes we are with 7.6x version.
I will and will get back to you guys. Thanks once again for the help.


7.6.1 I believe
All formats, HTML,PDF,EXCEL
 
Posts: 14 | Registered: April 18, 2007Report 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     HTML Combo Box value to a procedure

Copyright © 1996-2020 Information Builders