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     New to maintain - data from Oracle not retrieving

Read-Only Read-Only Topic
Go
Search
Notify
Tools
New to maintain - data from Oracle not retrieving
 Login/Join
 
Member
posted
I am just learning how to us WF Maintain and am working through the tutorials. I have a HTML table which will be populated from an Oracle table. Set up the form, stacks but when the maintain deploys (on Dev Studio - localhost)no data is retrieved. I hav a focus exe that retrieves the same data OK.

Is this an oracle issue? Or am I missing something simple?

Maintain:

MAINTAIN FILE form_fse_insp

$$Declarations

Case Top
Infer form_fse_insp.FORM_FSE_INSP.FORM_FSE_INSP_KEY into FSEFormStack;
Winform Show Form1;
-* Replace the Winform Show command with the following code
-* when to display your form in a non-persistent state
-* Winform Show_and_exit Form1;
EndCase

Case GetFSEData
Reposition form_fse_insp.FORM_FSE_INSP.FORM_FSE_INSP_KEY ;
Stack clear FSEFormStack ;
For all next form_fse_insp.FORM_FSE_INSP.FORM_FSE_INSP_KEY into FSEFormStack ;
EndCase
END

master file description:
FILE=form_fse_insp, SUFFIX=SQLORA
SEGNAME=FORM_FSE_INSP, SEGTYPE=S0, $
FIELD=FORM_FSE_INSP_KEY, ALIAS=FORM_FSE_INSP_KEY, USAGE=P19, ACTUAL=P10, PROPERTY=KEY, $
FIELD=OPERATION_ID, ALIAS=OPERATION_ID, USAGE=P7, ACTUAL=P8, MISSING=ON, $
FIELD=LHU, ALIAS=LHU, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=USERID, ALIAS=USERID, USAGE=A6V, ACTUAL=A6V, MISSING=ON, $
FIELD=DATE_MONTH, ALIAS=DATE_MONTH, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=DATE_DAY, ALIAS=DATE_DAY, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=DATE_YEAR, ALIAS=DATE_YEAR, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=TIME_HR, ALIAS=TIME_HR, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=TIME_MIN, ALIAS=TIME_MIN, USAGE=A2, ACTUAL=A2, MISSING=ON, $
FIELD=SERVICE, ALIAS=SERVICE, USAGE=A2, ACTUAL=A2, MISSING=ON, $


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Platinum Member
posted Hide Post
K,

Where do you Perform GetFSEData?

Kevin


WF 7.6.10 / WIN-AIX
 
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005Report This Post
Platinum Member
posted Hide Post
If you do not have an Event on the form to PERFORM GetFSEData, you need to issue the command explicitly...for instance;

quote:
Case Top
Infer form_fse_insp.FORM_FSE_INSP.FORM_FSE_INSP_KEY into FSEFormStack;
PERFORM GetFSEData();
Winform Show Form1;
-* Replace the Winform Show command with the following code
-* when to display your form in a non-persistent state
-* Winform Show_and_exit Form1;
EndCase


WF 7.6.10 / WIN-AIX
 
Posts: 141 | Location: Denver, CO | Registered: December 09, 2005Report This Post
Master
posted Hide Post
Kevin is correct. The Infer command creates the stack but you need a NEXT command to load it. Place PERFORM GetFSEData(); before your WINFORM command in the TOP case you and will get your data.
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
quote:
PERFORM GetFSEData();

Thanks everyone, that worked.


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report 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     New to maintain - data from Oracle not retrieving

Copyright © 1996-2020 Information Builders