Thanks Pat, I don't get an error anymore.
The following problem is that I dont see any data, only the headers.
When I remove the criteria I see the data, so it has to be something with the formula I think..
See my attachment for a screenshot.
Probably the solution is simple, my access knowledge...