Ver Mensaje Individual
  #1 (permalink)  
Antiguo 02/07/2008, 12:31
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 8 meses
Puntos: 39
Pregunta Treeview error 35610

Amigos, intento cargar un arbol con marcas de autos y sus respectivos modelos, pero me sale "El objeto no es válido" en la linea en rojo.
Código:
tvw_marca.Nodes.Clear
Marca = ""
While Not rtmp.EOF
    If Marca <> rtmp("MARCA") Then
        tvw_marca.Nodes.Add , , rtmp("MARCA"), rtmp("MARCA")
    End If
    Do
        tvw_marca.Nodes.Add rtmp("MARCA"), tvwChild, rtmp("MODELO"), rtmp("MODELO")
        Marca = rtmp("MARCA")
        rtmp.MoveNext
        If rtmp.EOF Then Exit Do
    Loop While Marca = rtmp("MARCA")
Wend
A que se debe esto?
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.