Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Posts
    7

    Unanswered: "i" gives 2110 error

    I have a search form that automatically narrows down the records in a list box as you type in the text boxes above. For some crazy reason when you use a lowercase "i" as the first letter it gives a "2110 error" and says that microsoft can't move the focus. It doesn't happen when you use a capital "I" or have a lowercase "i" in the middle of the text. Any clues?

  2. #2
    Join Date
    Apr 2004
    Location
    metro Detroit
    Posts
    634
    Is i being used in the underlying code (it seems to be a pretty popular integer).

  3. #3
    Join Date
    Apr 2006
    Posts
    7
    This is what I have. I was thinking that may be the problem, but I'm not sure how to fix it.

    Private Sub Text6_Change()
    Dim varX As String

    varX = 1 + Nz(Len(Me.Text6))
    Me.lstSearch.SetFocus
    Me.Text6.SetFocus
    Me.Text6.SelStart = varX
    Me.lstSearch.Requery
    End Sub

  4. #4
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6

  5. #5
    Join Date
    Apr 2006
    Posts
    7
    sweet! thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •