Thanks. I made sure that all the fields in my table matched the details in your code howeverI get a "Syntax error in FROM clause" message when I run the query.
Any ideas why?
As a test I used just the following details in the query:
SELECT StaffTable.Staff, StaffTable.Date, StaffTable.Rate...