Found the problem out forgot the endif for the instr statements.
_________________________
I haven't failed. I just found another way that did not work.