Hello, I am working on a program for a historical society to allow them to log artifacts in their museum. I have implemented a search function so they can see all the items under one category. Everything works well except getting the error to display correctly. The categories are out of order, so some data from one category will display, there will be errors from data from the other categories, and then the rest of the correct data will display. I will post the code below. Any help or guidance would be greatly appreciated.