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     Auto-Complete or Autofill form in Maintain

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Auto-Complete or Autofill form in Maintain
 Login/Join
 
<Vijaya_settu>
posted
I 've this request from the user , auto-complete form in Maintain.

In my maintain form , I have STDUENTID , LASTNAME & FIRSTNAME. Forexample,if the STUDENTID is already in the database,if the user enter the STUDENTID in the form,it automatically fill the LASTNAME & FIRSTNAME in the form, it would be easier for the user to fill the form.If it is new person ,that person fill the entire form. I appreciate any one could help me regarding this issue.

Thank you
Vijaya
 
Report This Post
Gold member
posted Hide Post
Hi Vijaya,

I have something similar in the project I'm working on. Let's say the stack that is bound to the fields on the form is called AddStuStk. Write a function like...

REPOSITION stu_table.STU_TABLE.STUDENTID;
STACK CLEAR GetStuStk;
NEXT stu_table.STU_TABLE.STUDENTID INTO GetStuStk WHERE stu_table.STU_TABLE.STUDENTID EQ AddStuStk(1).STUDENTID;
IF GetStuStk.FOCCOUNT GT 0 THEN BEGIN
     COMPUTE AddStuStk(1).LASTNAME = GetStuStk(1).LASTNAME;
     COMPUTE AddStuStk(1).FIRSTNAME = GetStuStk(1).FIRSTNAME; ENDBEGIN
 


Just add this function to an onBlur event handler for the STUDENTID field. I'm not sure if this is the most eloquent way of accomplishing this task...but I know it works.


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report This Post
<Vijaya_settu>
posted
Thanks Brayan, your function works perfectly.
 
Report 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     Auto-Complete or Autofill form in Maintain

Copyright © 1996-2020 Information Builders