Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
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, 2007Report 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, 2007Report 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, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders