Hi I want to load dropdown dynamically and in that i need to put select. so how can i put
ex. Select All Value1 Value1 value2 and so onThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6 Windows, All Outputs
April 26, 2011, 05:36 PM
Waz
Have you checked out the documentation ?
More info on the page that has the dropdown would help.
Is it from Deveoper Studio ?
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 27, 2011, 04:41 AM
<FreSte>
All these options are available by default in devStudio 7.7.xx
See here; Any combination of these options is possible
If you are not on 7.7.xx, then you could add the desired options manually and append values from the datasource:
FILEDEF HLD1 DISK hld1.ftm (APPEND
-RUN
-* -----------------------------------------------------
-* Add the desired options manually
-* Note: Length of first column should match the length
-* of (in this example) COUNTRY field
-* -----------------------------------------------------
-WRITE HLD1 -2 Select
-WRITE HLD1 FOC_NONE All
TABLE FILE CAR
SUM COUNTRY AS COL1
BY COUNTRY AS COL2
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HLD1 FORMAT ALPHA
END
-RUN
TABLEF FILE HLD1
PRINT COL1
COL2
ON TABLE PCHOLD FORMAT XML
END
This message has been edited. Last edited by: <FreSte>,
April 27, 2011, 09:38 AM
Francis Mariani
FreSte, very nice solution. Also, good to know that they've added the option in the GUI. Now, if only my client would upgrade.
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