>>>I open a form and click on a command button and this loads another form from which I make a selection
>>>
>>>Then focus passes to a text box and the cursor is flashing in this text box
>>>
>>>Bur unless I click into the text box I cant enter any data even though the cursor is flashing
>>>
>>>Any ideas?
>>
>>Do you mean the textbox is on the Search form? How exactly do you call it?
>
>On the main form is command1 which calls another form and when this is closed it passes control to text1 on the
>same form as the command button by thisform.text1.setfocus
>
>The cursor passes to the text box OK but I can enter any data until i have clicked into the text box
Does the main form have a pageframe? Also, any ActiveX? Finally, are you sure the Search form gets released completely?
If it's not broken, fix it until it is.
My Blog