Script routine to be invoked when the value in the spinbox is changed by the user. The routine takes three arguements, the control item, the query row number and the new value.