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.
I've got a drop down list I'm trying to alphabetize by using a procedure with a by field to sort the data.
The problem is that the values from the procedure aren't coming back to the list box. they just bring up a new html window with the report.
I'm really confused on how this works and I'm very new to the html layout tool.
here's what the doc says... From the HTML Layout Painter, use form controls to supply parameter values for a report. Click the Parameters tab in the Properties window. Select Use values from procedure from the Static values drop-down list. Run the HTML page and select the parameter values from the procedure.
any ideas?
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
thanks for the reply FrankDutch. I'm using the gui, that's the problem. I've told it to use values from a .fex, then it runs the fex and brings up the report in a seperate window rather than putting the values in my listbox.
All of your points are good, however. Thanks for the tips.
Any ideas on why this report comes up in a new window rather htan populating my drop down?
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
If you right click on the button that is created to run the dropdown, you will see some settingfields, one of them is the place where the output needs to be presented, you can select an iframe or window, that should be it. (I have the software not available jet, so this is done by head)
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
Thanks for the help! it's working better now, as I'm created a focus database file and building the dropdown list from that. Unfortunately it's not in alphabetical order!
How do I make it show up in alpha-order?
here's the fex that builds the foc file. When I change it to html, it shows it alphabetical!
APP HOLD ~metadata FILEDEF LKP_SALESMAN DISK G:\IBI\APPS\~metadata\lkp_salesman.FTM TABLE FILE LKP_SALESPERSON_MQT PRINT SALESPERSON_NUM BY LOWEST SALESPERSON_NAME HEADING "" FOOTING "" ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL -*ON TABLE PCHOLD FORMAT HTML ON TABLE HOLD AS LKP_SALESMAN FORMAT FOCUS ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ ENDSTYLE END
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
Actually, IBI already has this in the documentation and would be very close to what I have. The one exception is that I think they use SUM like Ginny did. I usually use PRINT DST.fieldname since this will translate to distinct in a SQL request which can improve performance.
Windows: WF 7.6.2: SQL Server 2008 R2
Posts: 86 | Location: Chicago | Registered: August 03, 2007
I agree, Gizmo. I just copied the code out of the manual. I would use DST. as well, especially against a relational data source.
And, Jason, the example is the the manual, only with an FST. instead of a DST.
Please check the Developing Reporting Applications Manual, the section on 'Customizing Dynamic Parameters' for details on this. You will see the example. Also how to do chained boxes using procedures.