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
Maintain Text BOX
 Login/Join
 
<Vijaya_settu>
posted
Hello Everyone,
I have two EDITBOXES in my maintain form. when I enter the value in the one of my EDITBOX and hit enter button. It does give output in HTMLSTACK. Then I go back to my form. My editbox input value is still showing. Does anyone have any thoughts how to clear EDITBOX value?

I appreciate any thoughts regarding this problem.

My report Code:
-SET &LstNme = &1;
-SET &FstNme = &2;

TABLE FILE car
PRINT
LAST_NAME AS 'Last Name'
FIRST_NAME AS 'First Name'
WHERE ((LAST_NAME EQ '&LstNme') OR (FIRST_NAME EQ '&FstNme'));
END

My maintain Code:
Declare Last / A25 ;
Declare First / A25 ;

Case Top
Infer vw_person.VW_PERSON.LAST_NAME into Vw_personStk;
Infer vw_person.VW_PERSON.FIRST_NAME into Vw_personStk;
Winform Show Form1;
EndCase

Case ShowReport4
Stack clear HTMLSTACK;
EXEC campusDirectory from Last First DIVS DEPT BLDG INTO HTMLSTACK;
-*where (LAST_NAME EQ '&LstNme')
EndCase

Case ShowReport5
Stack clear HTMLSTACK;
EXEC campusDirectory from Last First DIVS DEPT BLDG INTO HTMLSTACK;
EndCase

Thank you
Vijaya
 
Report This Post
Master
posted Hide Post
Hi Vijaya
If your variable is not part of a stack, the best way to clear it out is with a compute:
COMPUTE LAST=''; -* That is quote quote, not a double quote.
COMPUTE FIRST = '';

If your variables where part of a stack, then you would use:
STACK CLEAR stk -* where stk is the name of my stack.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
<Vijaya_settu>
posted
Thank you mark. It works fine.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders