Check YOur Sin Tax (Syntax) ie..
in the click method of your command button
ThisForm.oMyObject.SetFocus()
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net
If at first you don't succeed, then skydiving definitely isn't for you.