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     Limiting Records in Dropdown List...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Limiting Records in Dropdown List...
 Login/Join
 
Platinum Member
posted
I am trying to do a autopopulation in a
HTML-form from a master fle (Dynamic-datasource).

Now the field is Year and i want to see only (+/-) 2 years. So my dropdown should have 2006,2007,2008,2009,2010.So is there any way to put the condition to limit the data??

Well, i know this can be done through procedure. But i want to do it through data source bcoz i have couple of other fields in the html-form which are dependent on this field and those all are chained.

any pointers...

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
Sam,

You can chain with procedures too. Look in the "Developing Reporting Applications" manual. Several examples are provided.


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
Virtuoso
posted Hide Post
Sam,
As Ginny said, use procedure chaining. That is th ONLY way to limit output in the way you need. Using the master file approach will never give you the results you want, unless the database you're inquiring is filled exactly right.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
ohk...jst a small querry...
suppose i have three fields like year/month/weeknbr...
i want the year to be restricted to +/- 2 years.
so i can create a procedure for year and populate the year-field from that procedure and rest 2 fields (i can get from datasource) i can directly link to datasource-field.

and when i will chain all three will it work or some spl things Roll Eyes needs to be done...


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
Does your table have all the days of the year?
Then you can compute/define the week number, month and year.

You can SET the actual year and do something like
TABLE FILE XXX
BY YEAR
WHERE YEAR GE &YEARMIN2;
WHERE YEAR LE &YEARPLUS2;
ON TABLE HOLD AS YEARS FORMAT XML
END


the same for the month and week numbers...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Sam,

I think mixed chaining is not possible. I may be wrong, haven't really tried it, but I think if one of the chained requests is a procedure, then the other ones will have to be procedures also. But give it a try and let us know what happens.
If you do get the expected results with the mixed chaining, then I am wrong, if not then I'm right (alas).

Hope I'm wrong....


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Master
posted Hide Post
Sam,

I may be having a senior moment, but why would you want to chain year, month and week number?

Can a user select both the month and the week number? Some weeks will span more than one month. I would think you would want an month or week and not both.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 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     Limiting Records in Dropdown List...

Copyright © 1996-2020 Information Builders