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/FOCUS Forum on Focal Point     Get current year in a dynamic selection from a drop down box.
Go
New
Search
Notify
Tools
Reply
  
Get current year in a dynamic selection from a drop down box.
 Login/Join
 
Member
posted
I'm running a fex where I am using a dynamic selection in a drop down box to get Year out of a date_dm.

Right now the fex when ran pull's in all years from the Date_DM 2004-2011 which is fine. But it alwas put's 2004 as the first selection. How do i get it have current year selected instead of the first year in the date_dm.

JOIN
GL_DETAIL_FACT.DM_TEST_GL_DETAIL_FACT.TRANS_DATE_KEY IN GL_DETAIL_FACT
TO UNIQUE DATE_DM.DM_TEST_DATE_DM.DATE_KEY IN DATE_DM AS J0
END
TABLE FILE GL_DETAIL_FACT
SUM
EFFECTIVE_TRANS_AMOUNT
BY GL_UNFORMATTED
HEADING
""
FOOTING
""
WHERE FISCAL_YEAR EQ &FISCAL_YEAR.(FIND FISCAL_YEAR IN date_dm).FISCAL_YEAR.;


WebFOCUS Dev Studio 8105m
 
Posts: 24 | Registered: September 24, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Create your own procedure to create the drop-down list as you want it instead of letting WF decide how it will be created. Then specify the procedure to populate it instead of the TABLE/FIELD names


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
The answer to this has been posted very recently.
Using a Procedure to Sort Dropdown Box Contents
Also please update your signature with your product suite, releases, and platforms so that we may better help you.

Also, you might want to do a search on the forum or the Advanced Search before you post to see if the question has already been answered, as this one was.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Get current year in a dynamic selection from a drop down box.

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