Why does my database service not recognize a successful query?

Hello guys!

I have a get-query that searches in a database using a "where" command. I want a database service to do something in case of a success and to do something else in case of an error. When I test the query I get what I want if a certain input is right and I get nothing if the input is wrong. However, the database-service does not recognize the success-case. Even if the input is right the error-event is carried out.

What might be wrong? Your help would be greatly acknowledged. Thank you.
1 person has
this question
This topic is no longer open for comments or replies.