Set query field