Focal Point
[CLOSED] Designer Calendar (Define a date range)

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

August 26, 2019, 01:59 PM
Brian N
[CLOSED] Designer Calendar (Define a date range)
Is it possible to set a date range to the calendar control that the WebFocus Designer creates when you attach a fex to the page? I know that we can do this in App Studio with HTML pages, but just wondering if anyone has a solution for the designer tool?

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8, Windows, All Outputs
August 28, 2019, 01:52 PM
FP Mod Chuck
Brian

If you use a -DEFAULT for the date parameters in the fex the filters will use those values when the prompts are first displayed


-DEFAULT &DATEFROM='19960101',&DATETO='19961201';
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET SQUEEZE=ON
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET HTMLCSS=ON
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

-DEFAULTH &WF_ARVERSION=1;
SET ARVERSION=&WF_ARVERSION

-DEFAULTH &WF_SUMMARY='Summary';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
TABLE FILE ibisamp/ggsales
SUM GGSALES.SALES01.DOLLARS
BY GGSALES.SALES01.REGION
BY GGSALES.SALES01.PRODUCT
WHERE GGSALES.SALES01.DATE GE &DATEFROM.(FIND GGSALES.SALES01.DATE IN ibisamp/GGSALES |FORMAT=I8YYMD,SORT=ASCENDING,REQUIRED=TRUE).Date of sales report:.QUOTEDSTRING;
WHERE GGSALES.SALES01.DATE LE &DATETO.(FIND GGSALES.SALES01.DATE IN ibisamp/GGSALES |FORMAT=I8YYMD,SORT=ASCENDING,REQUIRED=TRUE).Date of sales report:.QUOTEDSTRING;
ON TABLE PCHOLD FORMAT HTML
ON TABLE NOTOTAL
ON TABLE SET CACHELINES 100
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, ORIENTATION=LANDSCAPE, $
ENDSTYLE
END

-RUN



Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats