Hi all, I've created a simple user input function to allow the user to change a date. I use this to get some data from a collection. The problem is the function continues anyway, even if i press escape while filling in the dates. How do I get the function to respond to the 'Escape' key? [#Menu : Gateway of Tally] Add : Item : After : @@locDisplay : GetDateRange : Call : UserInput [Function: UserInput] Variable : month : String Variable : year : Long 00 : Modify Variables : Change Period 10 : Set : SVFromDate : ##SVCurDate 20 : Set : SVToDate : ##SVCurDate+1 30 : Set : month : $$FullMonthName:#SVFromDate 35 : Set : year : $$YearOfDate:#SVFromDate 40 : Log : ##month