Hi Martyn. I don't know what code you are using but juast as a WAG, in a grid you have to set focus to a column not a control (I do belive). Here is what works for me.
thisform.grdName.SetFocus()
thisform.grdName.column2.SetFocus()
HTH
>I have a grid with a search button in it. In the click event of the button I call another form and, depending on the value returned by the form, SetFocus to another field on the same row in the grid. The SetFocus does not seem to work as the focus always seems to be the first field on the row. I have done some investigation and it seems that SetFocus to a field outside the grid works. Also if I keyboard the correct number of tabs then this seems to work. What I want to know is why SetFocus does not seem to work. Am I missing something? Is something else moving the focus after?
***************************
Bruce Gilmour
"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein