Thank you, if it's getting data from reading a file then that could explain why it causes a crash if I try to print it after it's run, it's probably taking data from somewhere it shouldn't, there is loads of data in this program, it's a nightmare trying to find what is what !!!