Perfect,
Thanks for that. I edited the source and changed the prevDataNull and it worked brilliantly.
Thanks again!