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 need some suggestions on my requirements. Looking for advice on how to develop this I am very new to WF 8. 1.Create html page with 6 controls, user selects data from drop downs and keys in some data. 2. Check if the entered combination of rows exists in table. 3.If yes, throw error. 4. If not, insert the data.
Please let me know how best and fast I can do this.This message has been edited. Last edited by: <Emily McAllister>,
1.Create html page with 6 controls, user selects data from drop downs and keys in some data. 2. Check if the entered combination of rows exists in table. 3.If yes, throw error. 4. If not, insert the data.
Could you be a bit more specific about your 6 controls and the "combination of rows"?
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
1. Create html page with 6 controls, user selects data from drop downs and keys in some data. 2. Check if the entered combination of rows exists in table. 3. If yes, throw error. 4. If not, insert the data.
1. Straight forward in HTML composer 2. Build your parameter list to use within a simple Ajax call - as you quote WF8 this is easier owing to the fact that jQuery can be used simply. There are many posts on Ajax - especially with jQuery. 3. Capture the result from the Ajax call and branch accordingly. 4. Another Ajax call? or the same one with a key word that will commit the data instead of just checking it?
Good luck
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, 2004
I have to let user to insert some data into a database table.
For that,I have to give an interface which is html with 4 drop downs and 2 textboxes where user will select values from dropdowns and enters two values in text boxes.
I have to check whether the entered data combination(of 6 values - 4 dropdowns and 2 txtbox) already exists or not.
If exists, throw error, if not insert data into table.
If you can't/won't use MAINTAIN then you are probably stuck with either AJAX/JS/JSP calls outside of WebFOCUS or Dialogue Manager to build SQL pass thru within a WebFOCUS FEX.
For your error check you can run a quick TABLE FILE and if it returns &LINES GT 0 then you have branch to error else use INSERT in SQL pass thru.
Cheers
Stu
WebFOCUS 8.2.03 (8.2.06 in testing)
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007