Hi
You cannot publish a form template to a list of e-mail message recipients if the form template contains a query data connection. If you need to display data from an external data source, store the data from the external data source in a resource file (resource file: A file created outside of InfoPath, such as an .html, .xml, or .xsd file, which is added to a form template to support the functionality of the form.). Then you can include this resource file with the form template.