Focal Point
[SOLVED] Dropdown populated by FEX referencing FOCAPPQ receives error populating

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/206108314

April 07, 2010, 12:09 PM
knegrotto
[SOLVED] Dropdown populated by FEX referencing FOCAPPQ receives error populating
I have a fex that pulls a list of files names from a directory using FOCAPPQ. It works fine when run standalone.

  APP QUERY CLECO_TEMP HOLD
TABLE FILE FOCAPPQ
PRINT FILENAME
ON TABLE PCHOLD FORMAT XML
END



But when used as the source for a drop-down, the control receives an error populating.

I imagine that it has to do with the creation of the temporary hold file. Any ideas welcome!

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


WebFOCUS 769
Windows
all
April 07, 2010, 12:21 PM
Tom Flynn
APP QUERY CLECO_TEMP HOLD
-RUN
TABLE FILE FOCAPPQ
PRINT FILENAME
BY FILENAME
WHERE FILAENAME CONTAINS '.mas';
ON TABLE PCHOLD FORMAT XML
END


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 07, 2010, 12:25 PM
Francis Mariani
I created a quick html page with Dev Studio HTML Painter with a dynamic "List box" populated by a procedure containing your exact code and the list box gets populated.

Perhaps something else is causing it to fail. There are logs somewhere where you can check for errors.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
April 07, 2010, 12:32 PM
Francis Mariani
Tom,

Yes, I think this has come up before - in certain cases you need to supply two columns - the "code" value and the "display" value, though in my simple HTML page, whether or not I check "Send display value", my procedure passes only one column and it all holds together.

"FILAENAME"? Big Grin


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
April 07, 2010, 01:32 PM
knegrotto
ThHat took care of it! Thanks much. I had spent much time trying to figure out something so simple!


WebFOCUS 769
Windows
all
April 07, 2010, 01:35 PM
Tom Flynn
quote:
"FILAENAME" Big Grin


OOPPSS! Good catch F.M. EL TYPO! Red Face


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe