lol. radek225 you should take a look at your table name/ field names and ask yourself if anyone who needs to work on the database in the future will be able to interpret the names you've used. I think that is the main problem. typical convention is something like... tbl_whatever aka tbl_(something understandable here would be really nice for everyone including yourself).
ALSO
a variable defined as DOUBLE would be a decimal point, NOT a comma.
Here's what I would STRONGLY recommend.
1.) CREATE -> QUERY DESIGN in the non-vba database view.
2.) Go to the SQL VIEW for the query.
3.) Now, past your query in there and replace your variable values with values from your table (from the correct columns, of course). You will want these values to be corresponding values that can bring up AT LEAST one record to be sure that it works.
4.) RUN the query using the run button in the DESIGN tab.
5.) Often times the SQL view will highlight the part of the query that is not correct.
6.) Change it up and keep running it til it works.
Good luck and do yourself a favor and do some reading on proper variable naming conventions.