Getting name of frame help

I have a database which has 4 framesets, one for each business type. Each business type has about 40 views and it’s own set os view actions. Rather than have 160 views and making sure that any change I make to one business type view, gets done in the others, I was wondering if it’s possible to do the following:Just one set of views. Depending on which navigator you open a view in, it the selection criteria for the view will change and certain buttons will be hidden. The question then is, how to get the name of the current frame in either script or formula?