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     DropDown Not populating from text file.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
DropDown Not populating from text file.
 Login/Join
 
Member
posted
I have a master, a fex and a html file. In my HTML file i want a dropdown to populate automaticaly with values from text or ftm file.I am using the following code (in HTML File)

<SELECT id=ITEM5 style="..." name ="REGION" elementname="combobox5" elementtype="combobox" labelid caption="combobox" operation="NONE" ibiformat datatype="1" addalloption="0" dynalldisplayvalue="ALL" inchainindex="1" chainnumber="0" cacheruntimedata="0" displayfield="ETLACCOUNT" numofrecords="-1" datafield="ETLACCOUNT" sourcetype="typeMaster" datasource="ACC.mas" datafieldtype="CHAR">
</SELECT>

and my master file is:

FILE=ACC, SUFFIX=SQLMSS,
DATASET='D:\IBI\APPS\BASEAPP\ALLACOUNTCODE_LIST.TXT TEXT', $
SEGNAME=ALLACOUNTCODE, SEGTYPE=S0, $
FIELD=ETLACCOUNT, ALIAS=ETLACCOUNT, USAGE=A100, ACTUAL=A100, MISSING=ON, $



but my dropdown is not populating.

can anyone pls help .....
 
Posts: 3 | Registered: April 04, 2007Report This Post
Expert
posted Hide Post
Trusha,

I'm not surprised as your file type is specified as a SQL Server table but you are trying to point it at a flat file.

Change the suffix to FIX and you might have some chance.

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
Thanks Tony, I changed it ... but still no luck.
 
Posts: 3 | Registered: April 04, 2007Report This Post
Expert
posted Hide Post
Trusha,

Now that you have changed your .mas can you run the following fex against it?
TABLE FILE ACC
SUM FST.ETLACCOUNT
BY ETLACCOUNT
ON TABLE PCHOLD FORMAT XML
END
-RUN

If you can then you have just mimicked exactly what the JS does to obtain the data for the combo and we need to look further such as adding IBIAPP_app and IBIC_server attributes to your SELECT tag set. If you can't then there is probably still something wrong with your .mas so please post your latest version - note there was also an extraneous TEXT in the DATASET code.

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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     DropDown Not populating from text file.

Copyright © 1996-2020 Information Builders