In the code below, a directory of names is being searched. The parent nodes
are the letters "A" thru "Z". Each letter node has n number of children
name nodes under.
The code only works for the letter "Z", but not for the rest of alphabet.
The way I read the documentation, this code should work for all parent
nodes: A thru Z.
Any ideas? This code is in a textbox keyup event.
For Each nodName In nodLetter.Nodes
strPartial = nodName.Text.Substring(0, txtFindArtist.Text.Length)
If nodName Is nodLetter.LastNode Then
Exit For 'NOTE: does not exit here, except on "Z"