Ciao a tutti
sto cercando di capire come funziona questo codice che ho trovato sulla rete, fa in modo che come inizio a scrivere dentro una textbox lui cerca il record corrispondete

codice:
    If Len(TmpStr) = 1 Then S = TmpStr
    Comuni.Find ">=", TmpStr
    If Not Comuni.EOF And Not Comuni.BOF Then
      If UCase(TmpStr) = UCase(Mid(Comuni!COMU_DESCR, 1, Len(TmpStr))) Then
        If Len(TmpStr) > Len(citta.Tag) Then
            citta.Text = Comuni!COMU_DESCR
            citta.SelStart = Len(TmpStr)
            citta.SelLength = Len(citta.Text) - (Len(TmpStr))
            provincia.Text = Comuni!COMU_PROV
            cap.Text = Comuni!cap
        End If
      Else
ma quando arriva qui (Comuni.Find ">=", TmpStr)

mi da errore 13 - tipo non corrispondente sapete dirmi che vuol dire??

grazie mille