I am using an unbound textbox at the top of my form for filtering purposes. The user types in a string and hits "Tab" which kicks of the filter which is defined in the AfterUpdate property. I want the focus to return to the same textbox and position the curosor after the last character. I am trying to use SelStart but not having success.
Code:Me.Filter = "COURSE_NAME Like '*" & Me.txtFilter & "*'" Me.FilterOn = True txtFilter.SetFocus txtFilter.SelStart = txtFilter.SelLength