Tracy,
Did you try to add DOEVENTS?
>No, I made sure of that. The call to thisform.gotfocus seems to work somewhat, but not completely. The search populates a treeview on the form and it works fine, however, if there are a lot of records returned from the search expression then it appears that it hogs processing and the inputbox never gets released until the treeview is finished updating. I would like to ensure that the inputbox is completely released somehow before proceeding with the search if possible.
--sb--