I am trying to pass a user defined year into the SQL editor input tool using reference shortcuts. I have created my two variables via the Numeric Input tool named Beg_Year and End_Year. I have updated the code in the SQL editor so the where clause reads
WHERE year BETWEEN %Question.Beg_Year% and %Question.End_Year%
but when I run the app the query error's out returning no results and the error message shows that the reference shortcuts are not passing the year variables into the code.
Am I doing something wrong here or is the SQL editor not meant to support reference shortcuts?