I want to set a filter on a report which the user cannot change.
But he must maintain the possibility to set his own filter (beside the one i've set) in the request Form. So setting a filter and not showing the request form is not an option.
Realisations are only limited by the borders of imagination
0
Comments
With this fct used in trigger OnPreDataItem , you can create "invisible and unmovable" filters ...
Hope that help !!
RIS Plus, LLC
I used the PreReport Trigger so the filter wasn't used.
With the filter set on the predataitem trigger it works just fine.
Even without setting the filtergroup. The user cannot interact to disable or change the filter on the predataitem trigger.
Thanks for the help
In your solution, the filter is replaced with whatever the user sets on that field. If you use the filtergroup, you can limit the recordset that the user sees, but the user is still able to further filter on that field. Both filters will be applied.
RIS Plus, LLC
This is necessary if you use the report for showing data.
I use the report only for processing. So there is no interaction except the request form. If i use the filtergroup and there is a wrong combination of filters (because of the user input) there is no data filtered. But if i replace the user filter by my filter i know the data is always filtered my way.
RIS Plus, LLC