@britzl
Thank you for the reply it did give me a line number. I dont have my laptop with me this morning but ill post it all latter today.
@Johan_Beck-Noren
Thank you, I will later today.
@dapetcu21
I see. If I remember correctly my code is written correctly as you show it.