>Dim check As Boolean = False > For a = 0 To unitcount - 1 > > If CmboPkgunit.Text = Trim(CmboPkgunit.Items(a).ToString()) Then > check = True > End If > Next >
'Where 40 is the display member field length If CmboPkgunit.FindStringExact(CmboPkgunit.Text.PadRight(40)) <> -1 Then check = True End If