>Thanks Josh ... I scoured help for "Focus" but didn't think of "ActiveControl." Oh well ... this will do me.
>
>Ciao.
Ernie,
Be sure to check that there is an activecontrol before you try looking at its properties. There are times when the fomr has no activecontrol.
IF TYPE("THISFORM.ActiveControl.Name") = "C"
ENDIF