Thanks for this,
I was starting to put this in and noticed 1 line in the table where completed date was blank. I did not see this earlier as there are >1700 records, and when I put a date in there my original query worked. but as I don't need problems arising from this file later, I will be...