I have been trying to set data from other fields, but once the form is submitted the query field is blank so when some refreshes the form the query is blank so it errors and does not update. The Data fields are also blanked out. I am new to InfoPath so I am hoping this is an easy fix.