Tim Easley Posted July 20, 2021 Share Posted July 20, 2021 I am using a reporting object pointed at a FOCUS file as my data source. I created WHERE clauses in the RO to use as filters in a Designer page. I would like to exclude null values from the listbox values for the filter. I havent yet found a way to do this but thought I would post it here. Screenshot attached: Link to comment Share on other sites More sharing options...
Martin Yergeau Posted July 20, 2021 Share Posted July 20, 2021 Can you share your RO and WHERE clause Link to comment Share on other sites More sharing options...
Tim Easley Posted July 20, 2021 Author Share Posted July 20, 2021 WHERE PS_QUERY_DETAILS.SEG01.SOURCE_COLUMNS EQ &SOURCE_COLUMNS.(OR(FIND PS_QUERY_DETAILS.SEG01.SOURCE_COLUMNS IN FMSBI/PS_QUERY_DETAILS |FORMAT=A34,SORT=ASCENDING)).SOURCE_COLUMNS:.; Link to comment Share on other sites More sharing options...
Martin Yergeau Posted July 20, 2021 Share Posted July 20, 2021 Seems that your choices are coming from FMSBI/PS_QUERY_DETAILS Can you change that source to exclude the Nulls values Need to have SOURCE_COLUMNS not null Link to comment Share on other sites More sharing options...
Warren Hinchliffe Posted July 21, 2021 Share Posted July 21, 2021 We are having similar issues, and I think there is a fix coming up in 8207.28 (Hopefully) Link to comment Share on other sites More sharing options...
Tim Easley Posted July 21, 2021 Author Share Posted July 21, 2021 Thanks Martin but Im not sure how I would do that without excluding them from the data too. Link to comment Share on other sites More sharing options...
Tim Easley Posted July 21, 2021 Author Share Posted July 21, 2021 Thanks Waz, I will keep an eye out for it. Link to comment Share on other sites More sharing options...
Martin Yergeau Posted July 21, 2021 Share Posted July 21, 2021 tim.easley: Thanks Martin but Im not sure how I would do that without excluding them from the data too. Assuming that its a static table (meaning not live data that constantly changing during the day), what you can do is to create an overnight job using Report Caster that will create a hold file where you will only keep valid records (remove null values) and using that hold file, you will create you filter. Link to comment Share on other sites More sharing options...
Tim Easley Posted July 21, 2021 Author Share Posted July 21, 2021 Ive not had any luck editing a reporting object to use any table (for filter values) other than that chosen when creating the RO. I manually edited the text in the filter to use a different file but it reverts back to the original when saving. I can see how this method would work when manually coding reports but reporting objects using dynamic parameters dont seem to offer the choice of using a different data set. Thanks Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted July 27, 2021 Share Posted July 27, 2021 You can edit the way a filter gets populated with the property Accept within the metadata. You could just create a WF procedure that filters out the nulls, and link it there Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now