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.
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;