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
dynamic textboxes
 Login/Join
 
Member
posted
I have the following records in my table

Slno Field1 Field2
1 A A
1 B B
1 C C
2 D D
2 E E

in one scenario i want to list the records for serial number 1 in a text box and i will edit the values. After editing it i need to update the respective values in the respective table for serial number 1

Field1 Field2
A A
B B
C C

In another scenario i want to list the records for serial number 2 in a text box and i will edit the values. After editing it i need to update the respective values in the respective table for serial number 2


Field1 Field2
D D
E E

is it possible to achieve this? if yes, Can anyone help me in achieving this.
 
Posts: 23 | Registered: April 20, 2007Report This Post
Master
posted Hide Post
Are you using maintain? What version of the software are you working with?




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Member
posted Hide Post
i am not using maintain i am using webfocus7.1.4
 
Posts: 23 | Registered: April 20, 2007Report This Post
Master
posted Hide Post
try this code,

TABLE FILE CAR
PRINT
CAR
MODEL
ON TABLE SAVE AS TESTDAT
WHERE RECORDLIMIT EQ 3
-*WHERE MODEL LIKE '%u';
END
-RUN



-HTMLFORM BEGIN
< HTML >
< BODY >
< FORM NAME="FRM" ACTION="TEST2.FEX" >
-SET &CNT=0;
-CONTREAD
-READ TESTDAT &CAR.A16. &MODEL.A24.
-IF &IORETURN NE 0 THEN GOTO ENDIT ELSE GOTO BUILDTEXT;
-BUILDTEXT
< INPUT TYPE="TEXT" NAME="CAR&CNT" VALUE="!IBI.AMP.CAR;" >
< INPUT TYPE="TEXT" NAME="MODEL&CNT" VALUE="!IBI.AMP.MODEL;" >

-SET &CNT=&CNT+1;
-GOTO CONTREAD;
-ENDIT
< /FORM >
< /BODY >
< /HTML >
-HTMLFORM END
-EXIT

In your second fex you can write your update statement and save the new value.

Hope it helps,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Member
posted Hide Post
Thanks a lot kamesh. it was a great help from you
 
Posts: 23 | Registered: April 20, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders