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     Removing a value from a field using a DEFINE or excluding in parameter
Go
New
Search
Notify
Tools
Reply
  
Removing a value from a field using a DEFINE or excluding in parameter
 Login/Join
 
Platinum Member
posted
I need to exclude one value from a field so that the users are not able to select that value at all in the dropdown. If I do a WHERE to not euqual 'ACTUARIAL' but need to place a parameter for all the rest in the field and also have the slect all option yet for it to still not show actuarial. I do not want to hard code the rest of them just incase more departments are added in the future.

Thank you in advance.

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


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
So you probably need a custom procedure to populate your drop-down box that includes a WHERE fieldname NE 'ACTUARIAL';
Then the easiest thing to do in your fex is just add the same WHERE statement. Then, if they still select all, it selects all EXCEPT ACTUARIAL.


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
Platinum Member
posted Hide Post
Doing that will still allow them to see 'ACTUARIAL' and they don't want them to see it at all. :-(


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
La tigresa,

If you follow Darin's suggestion and use a custom procedure to create the select list then you can add the exclusion of 'ACTURIAL'. We're all assuming you're using DevStudio GUI to build your report. Somewhere in the GUI you can choose to use a custom procedure instead of letting the GUI build the select list.


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, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Sorry...my brain was on break and it finally kicked into gear. That worked wonderfully!!! THANK YOU VERY MUCH!!!

Ana


WEBFOCUS 7.6.4
Server: WINXP
 
Posts: 121 | Registered: September 20, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
You can also add a 'Filter' in the master file and then use it in your FEX.

http://documentation.informationbuilders.com/masterinde.../source/topic161.htm


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Removing a value from a field using a DEFINE or excluding in parameter

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