RE: How do you populate a ListView?
- Posted by Tony Steward <tsteward at dodo.com.au> Oct 17, 2003
- 452 views
should be count = addLVItem(myLV, 0, {db_key,db_data}) You can replace the 0 with the id for an icon returned whith addIcon command ronaustin at alltel.net wrote: > I am trying to display the contents of a database using listview. I am > looping through the database to populate the list box using this little > snippette: > > count = addLVItem(myLV,1,db_key) > count = addLVItem(myLV,2,db_data) > Instead of getting the key in column1 and the data in column2 it is > putting > the the first key in column one with it's data under it and then it puts > the > second key in the first column with it's data under that. Nothing is > going > into column 2. What am I doing wrong? Give your hardest tasks to your lasiest workers. They will always find the easiest way to complete it.