cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
JesperJohansen
Level IV

Script for hiding/closing local data filter

I am trying to find a script which will close or hide the local data filter from a report. I have tried :

Dispatch( {}, "Local Data Filter", OutlineBox, {Close(1)} );

This seems to work for everything except the local data filter. Please help.

BR
Jesper
1 REPLY 1
kahart
Level I

Re: Script for hiding/closing local data filter

I use

Dt_filter_model = Model_data << Data  Filter(invisible,

                                                    Columns(:model_name,                                                               
                                                                   :vehicle_id,

                                                                    ),

                                                     where(:model_name == model_list);

                                                     where (:vehicle_id == vehicle_list)

                                                   );

Dt_filter subset = model_data << subset(selected rows(all), invisible);

dt_filter_model << close;

dt_filter_model << close;