Thanks everyone for your answers and ideas, based on some of your comments I finally found the error, I wasn't passing the string properly to the parameters, using delimiter characters (i.e: 'MM' instead of MM). Even when the queries are using the parameter and the data is fine, text boxes in...