>I thought about doing this, but another programmer wrote the calling forms and I don't have control over where my form is called from. The only thing I can rely on is that the parent form has to be open and visible when my form is open. Can I get the parent form name from the _Screen.forms() ?
Can't you coordinate with the other programmer?
I am sure you can check the forms collection, but you have the risk of having additional forms open: Form "A" can call form "U" (your utility form), for "B" can also call form "U". In form "U", you detect that both Form "A" and form "B" are open. What now? Looks complicated to me.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)