Thanks Isskint
My form contains several free txt fields and with the help of button, i run various commands, on the other hand the query that opens with this form is from a different set of code but one of its field is input required in the form. i hope it helps, if not see the attached image...