<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/98404.aspx</link><pubDate>Mon, 21 Jul 2014 13:37:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98404</guid><dc:creator>sixis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98404.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=98404</wfw:commentRss><description>Is it possible to design the form if using Data Fields. I&amp;#39;m seemingly allowed only to drop the fields onto the form and it simply places them in a vertical position; one on tops of the other.</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/94599.aspx</link><pubDate>Tue, 03 Dec 2013 18:04:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94599</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94599.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94599</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That is just fantastic to hear. I used to be so ... I dunno, delicate about this. I had my form formatted all pretty and was scared to make changes, etc. But the only way you can figure out what is going on sometimes is to actually see the data, and the way to do that is to put stuff on your form. If it is a production form, and you need to look at it from a published location (like when a browser form is misbehaving) add a debug view and hide a button on the main view where your users won&amp;#39;t find it - then you can switch to a view that will show you the data you need to see. I am so glad this was helpful for you!&lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/94597.aspx</link><pubDate>Tue, 03 Dec 2013 17:47:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94597</guid><dc:creator>SouthernBoyd.X</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94597</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I can&amp;#39;t over-emphasize how helpful it can be to drag the fields from the data source onto your form, add buttons to query the data source, preview and just experiment. I think you&amp;#39;ll get a much better sense of what is going on that way.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

The best advice of 2013. Having never understood the difference between the two, I followed your advice and within 5 minutes I had it figured out and was able to solve a difficult challenge that has presented itself a number of times before without a known solution. Thank you Hilary!</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/93039.aspx</link><pubDate>Sat, 14 Sep 2013 03:59:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93039</guid><dc:creator>chriskbinns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=93039</wfw:commentRss><description>&lt;p&gt;Hi all, and thinks Hilary for the support!&lt;/p&gt;&lt;p&gt;Here is what I have learned in newbee terms:&lt;/p&gt;&lt;p&gt;Query fields are for pulling information from your data source (particularly when you want to filter data).&amp;nbsp; Data fields can be used for both, pulling from and pushing data to your form.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92970.aspx</link><pubDate>Thu, 12 Sep 2013 00:16:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92970</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92970</wfw:commentRss><description>&lt;p&gt;This depends on the type of data connection. Here is an Office Online article that may help you: &lt;a href="http://office.microsoft.com/en-us/infopath-help/data-connections-overview-HA101821253.aspx"&gt;http://office.microsoft.com/en-us/infopath-help/data-connections-overview-HA101821253.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Data fields can also display data. So, in the case above, the data fields will display the returned data from the receive data connection. I oversimplified things above - I was trying to clarify for you data connections that had both query and data fields. I can&amp;#39;t over-emphasize how helpful it can be to drag the fields from the data source onto your form, add buttons to query the data source, preview and just experiment. I think you&amp;#39;ll get a much better sense of what is going on that way.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92969.aspx</link><pubDate>Thu, 12 Sep 2013 00:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92969</guid><dc:creator>chriskbinns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92969</wfw:commentRss><description>&lt;p&gt;So, if add a second data connection (database), it is can only be &amp;quot;Receive Data&amp;quot; ... once that connection is set up, I only&amp;nbsp;have data fields showing from that source (no query fields).&amp;nbsp; This doesn&amp;#39;t make sense to me.&amp;nbsp; Wouldn&amp;#39;t I want to filter what is coming back (i.e. need a query version of the field)?&amp;nbsp; And since I can&amp;#39;t store data in that source (it was set up as receive only) why do I even have data field available?&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92917.aspx</link><pubDate>Tue, 10 Sep 2013 15:33:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92917</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92917</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Query fields are used to restrict or filter the data brought into your form - you actually have to query the data connection to return the data.&lt;/p&gt;&lt;p&gt;Data fields are used to store data in your data source - that is correct.&lt;/p&gt;&lt;p&gt;Warnings about repeating controls and binding have to do with the data structure - if the data field you are putting on the form is inside a repeating group, for example, and your control is not, you will get a warning.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92908.aspx</link><pubDate>Tue, 10 Sep 2013 12:04:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92908</guid><dc:creator>chriskbinns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92908.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92908</wfw:commentRss><description>&lt;p&gt;Thanks for the quick reply and clearing it up, here is what I think you are communicating:&lt;/p&gt;&lt;p&gt;Query feilds are used to bring data into your form and data fields are used to store data in your data source.&amp;nbsp; Some other thing (like placement or data connection) causes warnings about binding to repeating or non-repeating fields.&lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92900.aspx</link><pubDate>Mon, 09 Sep 2013 23:30:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92900</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92900.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92900</wfw:commentRss><description>&lt;p&gt;You generally will want to bind to the fields in the data fields. If the control on the form is not in a repeating container (section, table) and the data fields group is repeating (likely, if the form is a list or DB form), you will get that warning. You may find it easier to drag the fields onto the form (from the data fields group) to start with - if the data fields group is repeating, InfoPath will ask if you want a repeating table or section. &lt;/p&gt;&lt;p&gt;I do understand that the data and query field groups are in the same data source. If you set the query fields prior to executing your query, they will limit the data returned to your form.&lt;/p&gt;&lt;p&gt;You might find this easier to understand if you drag a field from your query fields onto your form. Add a button that executes that data connection (query for data is the rule action, I believe). Drag the data fields onto the form. Preview the form and enter something in the query field and click the button and see how that limits the returned records in the data fields. If you need help setting this up, attach a template under the Options tab that has a data connection to one of your SharePoint lists.&lt;/p&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92899.aspx</link><pubDate>Mon, 09 Sep 2013 23:19:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92899</guid><dc:creator>chriskbinns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92899</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Thanks for the reply – but I am still confused.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In the right hand side of my InfoPath screen
is a data connections list.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If I am
connected to a SharePoint list or an access database, all of the fields in my
data source are listed first as query fields, then again as data fields (note:
they are the same (only one) field in the data source!&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;They just show up in InfoPath in two separate
but confusing groups).&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If I want the
user to record a project number in this form so it will be uploaded to the
database, I use a control (text string field) to gather their input.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;When I attempt to bind that control to the
data source, I have a choice ... do I want to bind to the “queryfield” version
of &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;projectnumber or the “datafield”
version of projectnumber.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Depending on
the control and which one I select, I often get a warning about binding a
repeating field to a non-repeating control.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;
&lt;/span&gt;What do these fields have to do with a repeating structure?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;How do I know which ones to select?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item><item><title>Re: QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92897.aspx</link><pubDate>Mon, 09 Sep 2013 21:19:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92897</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92897</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Query fields are used to filter the data returned to the form - prior to returning it. So - you have a data connection to a SharePoint list of Customers, for example. You can set the Query field of &amp;quot;CustomerPhone&amp;quot; to 123-465-7890 and then run a rule to execute the query - that will return all list records where the CustomerPhone field is equal to 123-465-7890. You may want your users to temporarily enter information into query fields in order to search for records, for example.&lt;/p&gt;&lt;p&gt;Data fields have the results of the query. If your user is entering data, and you want that data stored with your form (or submitted to your list or database), you will want the user to enter that in data fields. &lt;/p&gt;&lt;p&gt;Does that make sense? Let me know if you need more info.&lt;/p&gt;</description></item><item><title>QueryFields vs. DataFields</title><link>https://www.infopathdev.com:443/forums/thread/92895.aspx</link><pubDate>Mon, 09 Sep 2013 21:10:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92895</guid><dc:creator>chriskbinns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92895</wfw:commentRss><description>&lt;p&gt;So I have read hundreds of blog entries, and a book on InfoPath (Step by Step), and I still don&amp;#39;t really understand the difference between data fields and query fields.&amp;nbsp; Can someone please explain in plain english what the two are used for and how they are different (with examples)?&lt;/p&gt;&lt;p&gt;When I am linking to a SharePoint List or Access Data base from InfoPath, all of my columns/fields show up in both lists.&amp;nbsp; When I am binding fields where people will enter data and I want it stored on the list or database, which of the two do I bind with?&lt;/p&gt;</description></item></channel></rss>