Chopper1980 Posted April 13, 2004 Posted April 13, 2004 I have a listview box which is the output for an SQL database entry search i have and i wish to copy an entry in that listview box over to another listview box on the same form.... and at the same time keep the entry in the original listview box.... Any help would be appreciated.. thanks Quote
The One Who Was Posted April 14, 2004 Posted April 14, 2004 Chopper: Could you loop and add each item into the other listview?? Private Sub MoveItems() Dim objTemp as Object For Each objTemp In dataview1 dataview2.Items.Add(objTemp.Clone) Next End Sub I hope that can be of some help. My apologies if I misunderstood what you asked. Quote ~~ The One Who Was ~~
Chopper1980 Posted April 14, 2004 Author Posted April 14, 2004 i am unable to try it right at this minute... as i am not at my machine but one thing i want to add is that i want to be able to select and add entries individually via a "select" button... and not all at once... is this what you meant? Quote
Chopper1980 Posted April 14, 2004 Author Posted April 14, 2004 and also... by dataview... do you mean the listview box? thanks Quote
The One Who Was Posted April 14, 2004 Posted April 14, 2004 Yeah, my apologies. The dataview should be listview. lol Quote ~~ The One Who Was ~~
Chopper1980 Posted April 16, 2004 Author Posted April 16, 2004 Yeah. that worked for me pretty much.. cheers Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.