Working now.

Problem was I was "running" the qry rather than cutting and pasting the coding above in.

Very many thanks for your quick response.


Trevor