@Claude31 thank you for taking time to help me out, I really appreciate it. You're absolutely right, my code was much more complicated than it needed to be; having the columns in the original view makes much more sense. I'm new to coding, so sorry for the confusing and messy code haha. Thanks again for the help!