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.
I have a sql server stored procedure that inserts a record in a table that has 3 fields. The values of these 3 fields are supplied to the stored procedure when it is called. I would like to define an html file which has 3 drop down list. The user can select the values and then click on "RUN" to transfer these values to the stored procedure which will insert a new line in the table.
I have neve done this with webfocus and would like to ask you for an advice on how to do it.
Best Regards.
Majid.
WebFocus 7.6.5 AND WebLogic server as web server sql2005 as database server
Posts: 273 | Location: Europe | Registered: May 31, 2007
-DEFAULT &VAL1=A -DEFAULT &VAL2=B -DEFAULT &VAL3=C ENGINE SQLMSS SET DEFAULT_CONNECTION YOURADAPTER SQL SQLMSS EX YourSQlProc &VAL1.EVAL, &VAL2.EVAL, &VAL3 ; ...
If your Proc returns a value then you can see it via a TABLE FILE SQLOUT. If it does not return a value then use END after the ; instead of the TABLE FILE SQLOUT.
As a note, we're doing this with SQL Update statements so there is no need for a stored procedure on your database.
Update mytable set field1 = &VAL1.EVAL; commit;
Pass &val1 from an HTML form. Remember, however, that the adapter's user/pass will be passed to your database so I would enable journaling on the table being modified (if you don't already).
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.