Greg, I've absolutely tried that. I even tried length = 0. The problem is, is that it wont even try to evaluate the variable if there's nothing there. It errors first chance it gets that there's nothing in it. I guess TDP has something with any variable not having any info and returning this error. I'd love to see if there was another way to bypass, but no luck so far.
Thanks!