Subscribe Bookmark RSS Feed

Script for hiding/closing local data filter

JesperJohansen

Community Trekker

Joined:

Apr 15, 2013

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
kahart

Staff

Joined:

Oct 1, 2013

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;