This thread is for everyone who has the same problems like me.
I tried to change SQL-Querys via Javascript to fill in my PDF sheet some data from my database.
But whenever I want to change the Query, I never get some data back.
The main problem was:
THE ACCESS DATABASE
Access has locked the database whenever I tried to run the Query.
Now Iam using MySQL and everything is working fine.