Results 1 to 2 of 2

Thread: parsing item between list boxes

  1. #1

    Thread Starter
    Lively Member chxxangie's Avatar
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    79

    parsing item between list boxes

    Code:
        For n = 0 To List1(0).ListCount - 1
            report.List1(0).List(n) = List1(0).List(n)
            report.List1(1).List(n) = List1(1).List(n)
            report.List1(2).List(n) = List1(2).List(n)
            report.List1(3).List(n) = List1(3).List(n)
            report.List1(4).List(n) = List1(4).List(n)
            report.List1(5).List(n) = List1(5).List(n)
            report.List1(6).List(n) = List1(6).List(n)
            report.List1(7).List(n) = List1(7).List(n)
        Next
    what I'm doing in the code is to parse the item in list1 to report.list1
    but when the list is having a large number of data/items, the parsing will become slower.
    is there any way can cover it?

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: parsing item between list boxes

    From what are you filling list1? From an array? If so then also fill report from the array.

Posting Permissions

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



Click Here to Expand Forum to Full Width