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     [SOLVED] Listbox - Dynamic - Datasource - SQLOUT.mas ???

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Listbox - Dynamic - Datasource - SQLOUT.mas ???
 Login/Join
 
Member
posted
Hello all,

In the .fex my SQLOUT looks something like this:

select distinct
spriden_pidm as "NPIDM",
spriden_id as "ID",
spriden_last_name || ', ' ||spriden_first_name || ' ' || substr(spriden_mi, 1,1) as "NAME",
ssbsect_camp_code as "CAMP",
stvdept_desc as "PROG",
decode(b.nbrjobs_ecls_code,'01','(F)','02','(F)','04','(F)',
'05','(F)','10','(F)','55','(F)','56','(F)',
'64','(F)','65','(F)','(P)') as "FTPT",
f.scbcrse_dept_code as "DEPT",
f_sjc_build_crse ( A.SIRASGN_PIDM,'200920',F.scbcrse_dept_code,'HTML' ) as "CRSE",
decode(c.scrattr_attr_code,'DEVL','(D)','DEVN','(D)','ACAD','(T)','(N)') as "DTYPE"

In the where clause I have some thing like this:

WHERE FTPT EQ '&FTPT';
WHERE CAMP EQ '&CAMP';
WHERE NAME EQ '&NAME';

Now, in my HTML, I have three listboxes that I want to use fields from SQLOUT.mas to populate the listboxes but the fields are not displaying for me to choose in Listbox - Dynamic - Datasource - SQLOUT.mas

How can I make the values to display in HTML?

Thanks,
Steven

This message has been edited. Last edited by: Kerry,


7.6.4
OS is Windows
HTML, Excel, and PDF


 
Posts: 29 | Registered: November 19, 2008Report This Post
Expert
posted Hide Post
Steven,

The reason that you cannot see the fields is that they do not exist at the time you get to choose them within the HTML painter. You can either choose to populate your combo from a .fex (as opposed to a .mes), write the .mas file on a permanent basis or a myriad of other methods.

There have been many a post on this subject so it might be an idea to use the search function.

One such post had a reply from Susannah sugesting overnight execution of all the individual fexes and holding of the output etc. but you only have to search to get other answers.

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
Member
posted Hide Post
Tony,

Thank you for your suggestions. I know how to to from a .fex but I am trying to do it from a .mas also. I did a search on datasource and I found a document about the reason they are not showing on the .mas, case number 31012549

Thanks,
Steven


7.6.4
OS is Windows
HTML, Excel, and PDF


 
Posts: 29 | Registered: November 19, 2008Report This Post
Expert
posted Hide Post
Are you trying to use the HTML Layout Painter?

I would recommend that you use the "Procedure" method of populating your dropdown boxes since you don't have a master file description. There are lots of posts on this topic.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
I was able to create a FOCUS file and it is working fine now.

Thanks,
Steven


7.6.4
OS is Windows
HTML, Excel, and PDF


 
Posts: 29 | Registered: November 19, 2008Report 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     [SOLVED] Listbox - Dynamic - Datasource - SQLOUT.mas ???

Copyright © 1996-2020 Information Builders