Focal Point
[CLOSED] SELECT ALL PARAMETER

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

June 21, 2010, 12:48 PM
Arif
[CLOSED] SELECT ALL PARAMETER
I am trying to write report without using HTML composer I want to show ALL option in my parametr. I cant find all option in developer studio. I tried to -DEFUALT = 'FOC_NONE' but its not working out.

Is there a way to bring SELECT ALL option in parameter screen wihtout using HTML composer launchpage?

Arif

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


WebFOCUS 7.6.10
Windows
HTML
June 21, 2010, 01:06 PM
Francis Mariani
How many things are wrong with this statement?
-DEFUALT = 'FOC_NONE'

Do you have a select list in your HTML form? If so, add
<option value="FOC_NONE">All</option>
This value is passed to the fex where it can be used in selection criteria
WHERE FRUIT EQ '&FRUIT';
When &FRUIT contains 'FOC_NONE', the line of code is ignored.


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
June 21, 2010, 01:40 PM
Arif
I just created this procedure using dev studio.
 DEFINE FILE SPONSORAR_BYPARENT_VIEW
Parentname/A40=SPONSORAR_BYPARENT_VIEW.DIM_PARENT.PARENTFIRSTNAME || ' , ' | SPONSORAR_BYPARENT_VIEW.DIM_PARENT.PARENTLASTNAME;
END

-DEFAULT &DIVISIONNAME = 'FOC_NONE'
-DEFAULT &DISTRICTNAME = 'FOC_NONE'

TABLE FILE SPONSORAR_BYPARENT_VIEW
SUM
     'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.0TO6/P10.2-'
     'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.7TO13/P10.2-'
     'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.14TO20/P10.2-'
     'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.21TO27/P10.2-'
     'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.OVER28/P10.2-'
BY HIGHEST 1 'SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.WEEKENDING' NOPRINT
BY 'SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DIVISIONNAME'
BY 'SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DISTRICTNAME'
BY 'SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.SCHOOLID'
BY 'SPONSORAR_BYPARENT_VIEW.DIM_PARENT.Parentname'
HEADING
"Learning Care Group AR Report By Parent"
FOOTING
""
WHERE ( SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DIVISIONNAME EQ &DIVISIONNAME.(AND(FIND DIVISIONNAME,SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DIVISIONNAME IN sponsorar_byparent_view)).DIVISIONNAME. ) AND ( SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DISTRICTNAME EQ &DISTRICTNAME.(AND(FIND DISTRICTNAME,SPONSORAR_BYPARENT_VIEW.DIM_SCHOOL.DISTRICTNAME IN sponsorar_byparent_view)).DISTRICTNAME. );
WHERE SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.SCHOOLID EQ '&SCHOOLID.(FIND SCHOOLID,SPONSORAR_BYPARENT_VIEW.FACT_SPONSORAR.SCHOOLID IN sponsorar_byparent_view).SCHOOLID.';
ON TABLE SET PAGE-NUM OFF
ON TABLE SET EXPANDABLE ON
ON TABLE ROW-TOTAL AS 'TOTAL'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON


So is there a way we can set all option in dev Studio also?


WebFOCUS 7.6.10
Windows
HTML
June 22, 2010, 05:50 AM
Tony A
Do you have amper autoprompting turned on or off?

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