Hide when using a frameset

I an using a two frame frameset to navigate around my database. In my index frame I have all my navigation / form buttons, I want to make some hidden depending on what form is being viewed in the main frame. I have set up a layer for the different buttons but my hide when statements seem to be buggered. What formula would I use to hide a layer when the form viewed in another frame changes to a certain value?

Sample formula

@SetTargetFrame(“Body”);

Form != “Create”

Subject: hide when using a frameset

The easiest way to do it, assuming this is Notes client and not web, is to set an environment variable containing the form name each time a form is opened in your main frame. Then set your hide-whens to key off the environment variable.

Subject: RE: hide when using a frameset

Great! thanks Esther I will give it a try.