Ahh.... Didn't think about the @ERROR and the open in write mode was a type .

Works great. Thanks for the help!!!
_________________________
Thanks ~ Trox John Wayne's not dead - he's frozen. And as soon as we find the cure for cancer we're gonna thaw out the duke and he's gonna be pretty pissed off! ~Dennis Leary~