This is This is the SQL code of the query (SQL visualization).
The report is based on this query (and works), the form refers to this query too (and doesn't work). Is the only query I have.
I've tried to run it on another computer, but the same..