Changed queryNo to TextField, from integer