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     sorting dates in a dropdown list

Read-Only Read-Only Topic
Go
Search
Notify
Tools
sorting dates in a dropdown list
 Login/Join
 
Member
posted
I have two dropdown lists returning all unique dates in a table. One dropdown allows the user to select a date to begin a range, the other dropdown allows the user to select a date to end a range. Both dropdown default to display the earliest date in the dropdown. Is there a way to have the endDate dropdown list display the latest date in the table?
Thanks.


Joe
(Dev+Prod) WebFOCUS 7.6.x Windows 2003
Excel, PDF, HTML
 
Posts: 6 | Location: Chicago, IL | Registered: June 26, 2007Report This Post
Virtuoso
posted Hide Post
What method are you using to populate the dates? That might give a clue as how to help you solve your probelm.

Oh, yes, the eternal comment, you need to show what version of WebFOCUS you are using in your signature. As I notice this is your first posting to the list.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
You can create a procedure that queries your table directly, sorting in any way you wish.

Look up how to do this. Quick info is only return 2 columns. One you want the user to see. One you want to be passed to the next query. (Forget the order right now). Hide the reminding columns with noprint. Then refer to this procedure as your source of the list and not a master file.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Member
posted Hide Post
Dropdowns are populated using one of the fields of a master file used as a Data source.

I updated signature, but versions running are:
WebFocus 7.6.x (Prod+Dev) Windows platform


Joe
(Dev+Prod) WebFOCUS 7.6.x Windows 2003
Excel, PDF, HTML
 
Posts: 6 | Location: Chicago, IL | Registered: June 26, 2007Report This Post
Expert
posted Hide Post
Do as Fernando said, write a program, and in HTML Layout Painter change the source from a master to a procedure.

You can find doc on this in the "Developing Reporting Applications" manual.


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
Member
posted Hide Post
Thanks-
Creating the procedure (making sure to include the XML formatting) did the trick. Works nicely.
Thanks again.

Joe
WebFocus 7.6.x (Prod+Dev) Windows platform


Joe
(Dev+Prod) WebFOCUS 7.6.x Windows 2003
Excel, PDF, HTML
 
Posts: 6 | Location: Chicago, IL | Registered: June 26, 2007Report 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     sorting dates in a dropdown list

Copyright © 1996-2020 Information Builders