If your variable type is string and the select result value is string ('01/07/2017') I don't understand how you are getting a numeric result. Try using the result variable without the #'s (i.e. set the variable value to VPROD.date_deb instead of #VPROD.date_deb#). Sometime you have to play with using #'s or not using the #'s
↧