Hi,
You can use List View's List Item's Add methos to add items to the ListView. Yes you can add items by using a loop.
Do while rsPrimary.EOF=False
ListView1.ListItems.Add , , rsPrimary!Code
rsPrimary.MoveNext
Loop
Consider other parameters of method also.
nalaka hewage
|