#7666
lp_irovetz
Participant

    Hi,

    Here is a extract from one of my code

    ResTabDoc is the Listview whith 4 columns defined
    Result came from a query in a library

    ‘——
    with Dos_Gst.ResTabDoc

    For i = Base to Result.count
    Set DocTrouv = Result.item(i)

    Set oItem = .Items.Add

    oItem.Caption = DocTrouv.document.Creator.DisplayName ‘<— Caption is the first column
    oItem.SubItems.Add(FormatDateTime(DocTrouv.CreationDate,2)

    oItem.SubItems.Add(DocTrouv.subject)
    oItem.SubItems.Add(DocTrouv.document.DocumentNumber)

    next
    end with

    ‘——-

    You could find documention about listview in Raize Component documentation

    You could see
    http://www.advansyscorp.com/forums/topic/3971028821/
    at the top of this forum

    Hope this help

    L.P. Irovetz
    Arcane GroupWare