Thanks Marcia, I'll look into that. Right now, it is always returning the mainform which launches the other forms. Some of the launched forms are modal and some are modeless.
>
Is there ever a case when _Screen.ActiveForm.Name may be actually WRONG?>
>Not tested recently, but at least in earlier versions, if there was an ActiveX control on the form, _Screen.ActiveControl.name would return the name of the activeX control.
>
>Not usre if this is still a problem in 9...
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"