I’m having an issue with my listview refreshing data when the data has been updated. Currently I have a listview that displays the Status of whether a file cabinet has been used or not.
Cabinet – Status
Problem occurs is when I use a pop up form instigated by double clicking the listview, I change the status of the file cabinet, but the same information still remains there. I know that the status is being changed correctly in the database, but when I try to pull the new status, it doesn’t “refresh” correctly. If I stop and start the program, no problems or if I use a combobox to only select those Cabnets that are available or not. The only thing that has worked has been putting a sleep command of about a second between sending the new status and getting the new one. I’m hoping for a better solution.