>IF VarType(Thisform.ActiveControl) = "O" AND PEMSTATUS(Thisform.ActiveControl,"SetFocus",5) > Thisform.ActiveControl.SetFocus() >ENDIFBut have an eye on don't do this within any Valid event (or deeper in the call stack) to prevent from the error "2012 Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event"!