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,
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.
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
Doing that will still allow them to see 'ACTUARIAL' and they don't want them to see it at all. :-(
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.
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
Sorry...my brain was on break and it finally kicked into gear. That worked wonderfully!!! THANK YOU VERY MUCH!!!
You can also add a 'Filter' in the master file and then use it in your FEX.
Windows NT-5.2 x86 32bit
|Powered by Social Strata|