Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS Designer Forum on Focal Point     [CLOSED] Designer Calendar (Define a date range)
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Designer Calendar (Define a date range)
 Login/Join
 
Member
posted
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
 
Posts: 3 | Registered: May 28, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1560 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS Designer Forum on Focal Point     [CLOSED] Designer Calendar (Define a date range)

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.