I have a listview control on a form. The first column has been set to be a checkbox for the purpose of a user checking the item to be "flagged". I want to update a database when a user checks a record in the listview by checking the checkbox. I am trying to get the row number or index of the checkbox where that checkbox is that was checked but can't. In other words, I want to get the index of the row that that checkbox is on when it has been checked. Once I have that then I get a subitem text from that row to pass the database command. I can get the index when I select in the area right next to the checkbox in that same column on that row but cab't get it when just the checkbox has been checked. I don't want to loop thru all the items in the listview and check each one.

Any help will be appreciated. TIA

Bill