firstletter = mid(txtfields.text),1,1)
but i am getting an error. What I need to know is how do I use a varibale and get the number of the children depending on what the first letter of the text box is.
tvtreeview.nodes("A".children works fine. but I need to use my firstletter varible.
thanks very much for time and assistance