Hi thanks for reading if you did, this is fixed now, the sql was fine it was something else that caused the bug..Thanks again. :-)