Results 1 to 5 of 5

Thread: Solved: Populate Treeview

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Expert
    Joined
    Jan 2005
    Posts
    574
    Location
    Set x = .Add(, , rstADO.Fields(2).Name, rstADO.Fields(2).Name)
    For j = LBound(vaData, 2) To UBound(vaData, 2)
    Set x = .Add(rstADO.Fields(2).Name, tvwChild, , vaData(2, j))
    Next j
    Can some one explain the format of LBound(vaData, 2) please, I get the LBound Ubound are top and bottom of my array, but what does the two mean please

    Cheers

    Gibbo

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,446
    Location
    Quote Originally Posted by gibbo1715
    Can some one explain the format of LBound(vaData, 2) please, I get the LBound Ubound are top and bottom of my array, but what does the two mean please
    It is explained in VBA help.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •