none
Datepicker in listview

    Question

  • What is the code when you would like to show the date(datepicker) in listview?

    Please answer me !!!!

    thanks...

    This is my code the "bold" text is wrong. It is said "invalid property value"

    strsql = "select * from tblinfo"
    db.Open (strcon)
    Set rs = db.Execute(strsql)
     If rs.EOF = False And rs.BOF = False Then
        Me.ListView1.ListItems.Clear
        While Not rs.EOF
            With Me.ListView1.ListItems.Add
            .Text = rs(0)
            .SubItems(1) = rs(1)
            .SubItems(2) = rs(2)
            .SubItems(3) = rs(3)
            .SubItems(4) = rs(4)
            .SubItems(5) = rs(5)
            .SubItems(6) = rs(6)
            .SubItems(7) = rs(7)
            .SubItems(8) = rs(8)
            .SubItems(9) = rs(9)
            .SubItems(10) = rs(10)
            .SubItems(11) = rs(11)
            .SubItems(12) = rs(12)
            .SubItems(13) = rs(13)
            .SubItems(14) = rs(14)
            .SubItems(15) = rs(15)
            End With
            rs.MoveNext
        Wend
    End If


    • Edited by Kim Alcairo Friday, February 10, 2012 12:02 PM
    • Edited by Mike Walsh FIN Friday, February 10, 2012 12:14 PM As soon as possible... removed from text. These are forums so show some sense and post and WAIT (and don't demand special treatment).
    Friday, February 10, 2012 12:00 PM

Answers