Was completely wrong. And there was a much easier way to do it. Once I asked someone else for help they gave me exactly what I was trying to do within 10 minutes. It would’ve taken me the rest of the week to get that result if I kept doing what I was doing, and it still wouldn’t have been 100% correct. And now I have to face my boss tomorrow after almost getting into an argument with him today because I argued what he wanted me to give him was impossible to do, which I now know wasn’t true.
Pride can be a bitch sometimes.