How to remove Advanced Search button from grid?

It seems impossible…

If I edit the grid and remove the Advanced Search button from the top toolbar (where by default is located), when I run the grid I get two (?!) Advanced Search buttons: one on the top toolbar and one on the bottom toolbar (where it was never activated). Both of them are aligned at the right side of the grid.

If I remove all fields from Advanced Search, generating the grid returns an error: “Search fields undefined”.

Also, the Advanced Search button is not listed as one of the buttons the sc_btn_display macro can turn on\off.

So, how can I remove Advanced Search button from a grid?

Go to grid modules and remove search. I think that should do it.

You’re right.
Thanks Albert.