I have a datasheet form 'A' that I put Allen Browne's search box routine on. There is an ID field that gets clicked on 'A' to open a detail form 'B'. When I open form 'A' I set the 'OnActivate' event toSetFocus on the searchbox which works well. The problem I have is after I open form 'B' - do my edits etc. and close the form, I want to SetFocus back to the searchbox on form 'A'. After trying everything I could think of in events, the focus remains on the ID field that was clicked to opening form 'B'. How do I get the focus back to the search box on form 'A'? Any ideas out there??