hide search on page

I have a application with a search and grid on the same page with a button to edit a record.
When the button is pressed the edit window is opend, but the search field is also visible and useable.
How can i hide the search field when the window opens and show it again when the window closes?

Regards,

Marco

Re: hide search on page

Depending on your form setup, have a look at:
sc_field_display() and sc_block_display()

Regards,
Scott.