VBApprentice
Programmer
I have a listview with a list of clients. When a client is clicked on, a form is displayed for status code update. Once updated the listview is returned to. My question is this. How can I update this status field on the listview? I do not want to go back to the database for the new information. I was hoping that I can just change the field on the listview.
lvwClient.SelectedItem.Index gives the index of the selected item
lvwClient.SelectedItem.Text gives the ListItem which is the selected item
lvListItems.SubItems(7) is where the status is located in the listview
lvListItems.Index is the index of the last item in the listview
Can I use a combination of these and use SelectedItem.Index to change SubItems(7) to the new status?
lvwClient.SelectedItem.Index gives the index of the selected item
lvwClient.SelectedItem.Text gives the ListItem which is the selected item
lvListItems.SubItems(7) is where the status is located in the listview
lvListItems.Index is the index of the last item in the listview
Can I use a combination of these and use SelectedItem.Index to change SubItems(7) to the new status?