Is there a way to have code check to see if a form is open before is tries to set focus on an object in said form? seeker4