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     [CLOSED]Html page and inserting into table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Html page and inserting into table
 Login/Join
 
Gold member
posted
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>,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 56 | Registered: January 13, 2015Report This Post
Virtuoso
posted Hide Post
Search : "Maintain" from IBI doc


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
I need it without Maintain..using html and fex


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 56 | Registered: January 13, 2015Report This Post
Virtuoso
posted Hide Post
Bharati,
quote:
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, 2006Report This Post
Expert
posted Hide Post
quote:
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, 2004Report This Post
Gold member
posted Hide Post
Thank you for responses.

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.

Let me know if I am clear.


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 56 | Registered: January 13, 2015Report This Post
Guru
posted Hide Post
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, 2007Report This Post
Gold member
posted Hide Post
Thank you !
As its only one row insertion at a time, I am using a html and fex to validate and insert into table.


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 56 | Registered: January 13, 2015Report This Post
Guru
posted Hide Post
Bharathi,

Read about MATCH and MODIFY too.


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report 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     [CLOSED]Html page and inserting into table

Copyright © 1996-2020 Information Builders