The several proffered solutions all should work. You can also explicitly test to see if the stack containing the handler is the stack you want: if the short name of this stack = yourMainStack then doThis else exit preOpenStack This may give you more options... Craig Newman