Added query export form.
Set the query value for export.