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     [CLOSED] HTML Composer Filter Parameters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] HTML Composer Filter Parameters
 Login/Join
 
Member
posted
I would define a complex filter on a listbox parameter in HTML Composer.

I'm obviously having issues making that work. I've been unable to find the answer from in-line, help, or PDF documentation.

In SQL I'd code something like this
where school = 'Open'
and ((region in (1,2,3,4,5) or ((region = 6 and school = 999)))  


In HTML Composer I've tried
WHERE DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_STATUS EQ 'Open'
AND (( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_TYPE EQ 'Region 1' OR 'Region 2' OR 'Region 3' OR 'Region 4' OR 'Region 5' ) OR ( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_TYPE EQ 'Administrative' ) AND ( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_CODE EQ '731' ))
  


and
WHERE DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_STATUS EQ 'Open'
where (( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_TYPE EQ 'Region 1' OR 'Region 2' OR 'Region 3' OR 'Region 4' OR 'Region 5' ) OR ( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_TYPE EQ 'Administrative' ) AND ( DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_CODE EQ '731' ))
  


Neither work. What am I doing wrong? More importantly can someone point me to documentation so I can self-educate.

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.11
Developer Studio on Windows XP. Server Components running on Windows Server 2003.
Excel, HTML, PDF
 
Posts: 21 | Registered: August 26, 2009Report This Post
Expert
posted Hide Post
Hi redapple,

I checked with our internals and here is the response: we are not sure what the problem might be, since you did not mention if you are getting any errors or not. With any kind of debugging, you should probably try getting data one field at a time to help narrow down the issue; then please open a case with Customer Support Services to work on this issue. You may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Expert
posted Hide Post
In one part of the Where statement School Type looks like "Region 1", in another, it looks like "Administrative". Is this the same field?

Also, you can use IN in a Where statement:

WHERE DTBL_SCHOOLS.DTBL_SCHOOLS.SCHOOL_TYPE IN ('Region 1', 'Region 2', 'Region 3', 'Region 4', 'Region 5');


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [CLOSED] HTML Composer Filter Parameters

Copyright © 1996-2020 Information Builders