<?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: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34941.aspx</link><pubDate>Wed, 26 Nov 2008 15:41:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34941</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34941</wfw:commentRss><description>&lt;p&gt;All she meant was that the dropdown lists can be associated with different fields in your form and still use the same list from the XML file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;There is no need to use 10 different XML files.&amp;nbsp; You should be able to get by with just one.&amp;nbsp; Please experiment with the attached XML file, trying the following steps.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Create a new InfoPath template&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;In Tools-&amp;gt;Data Connections, select Add-&amp;gt;Receive Data-&amp;gt;XML Document, and select the XML file I provided, leaving &amp;quot;Include the data as a resource file...&amp;quot; selected.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Drag a dropdown box onto your form&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Right click it and select &amp;quot;Drop-Down List Box Properties&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;At the middle of the Data tab, select &amp;quot;Look up values from an external data source&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select the data source you added in step 2.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click the button in the Entries: row and select the item node beneath &lt;em&gt;set1&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click the button in the Display name: row and select the &lt;em&gt;display&lt;/em&gt; node.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Go to the Data Source pane in the taskpane and drag &lt;em&gt;field1&lt;/em&gt; onto your form, showing it as a textbox.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Repeat steps 3-9, this time with &lt;em&gt;set2&lt;/em&gt; and &lt;em&gt;field2 &lt;/em&gt;instead of &lt;em&gt;set1&lt;/em&gt; and &lt;em&gt;field1&lt;/em&gt;.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Preview the form and observe the behavior of the two dropdown boxes.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34940.aspx</link><pubDate>Wed, 26 Nov 2008 14:13:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34940</guid><dc:creator>sjagmeet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34940.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34940</wfw:commentRss><description>&lt;p&gt;thanks..but can you explain me the statement &amp;quot;Each list can be bound to a separate field in the form, and yet use the same XML file for the items in the list.&amp;quot;&lt;/p&gt;
&lt;p&gt;my problem is that I have 100 fields in a set of 10 each. I understand that&amp;nbsp;I need to create 10 different XML files if I want 10 different values for each set ( one set has 10 fields)&lt;/p&gt;
&lt;p&gt;I am sometimes getting the error with .XML and sometimes not able to link the .XML.&lt;/p&gt;
&lt;p&gt;it would be really great if you write down the simple steps for me.&lt;/p&gt;
&lt;p&gt;thanks for your time&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jags&lt;/p&gt;</description></item><item><title>Re: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34441.aspx</link><pubDate>Tue, 18 Nov 2008 15:23:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34441</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34441</wfw:commentRss><description>&lt;p&gt;Do your drop down lists all have the same items? In general, yes, you can create an XML file that you can use for the data connection for your drop down lists. Each list can be bound to a separate field in the form, and yet use the same XML file for the items in the list. You can either include the XML file with the form (so that it is available even when users are offline) &lt;strong&gt;or&lt;/strong&gt; leave the XML file someplace all form users will have access to it, like a network share.&lt;/p&gt;</description></item><item><title>Re: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34409.aspx</link><pubDate>Tue, 18 Nov 2008 07:00:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34409</guid><dc:creator>sjagmeet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34409</wfw:commentRss><description>&lt;p&gt;Thanks a lot Jimmy.. it just worked the way I wanted..:-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have another query :&lt;/p&gt;
&lt;p&gt;In the same excel currrently I am using 100 drop menu boxes for each row.&amp;nbsp; Is it possible that I create a secondary data source like an .xml and then point drop menu boxes to refer to .xml instead me entering the list values manually.&lt;/p&gt;
&lt;p&gt;Also, the important point to note here is that all drop menus should&amp;nbsp;NOT get bind to each other. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;Jags&lt;/p&gt;</description></item><item><title>Re: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34314.aspx</link><pubDate>Sat, 15 Nov 2008 07:20:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34314</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34314</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;How is your data source structured?&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you put all the nodes
you want to sum in a group without any other elements in it, then you
can get their sum with the XPath function &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sum(/my:myFields/my:groupToSum/*)&lt;/p&gt;&lt;/blockquote&gt;Replacing the &amp;quot;my:myFields/my:groupToSum&amp;quot; with the actual path to the group.</description></item><item><title>Re: Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34311.aspx</link><pubDate>Sat, 15 Nov 2008 06:55:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34311</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34311.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34311</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The solution in the post &lt;a href="http://www.infopathdev.com/forums/p/1075/1794.aspx#1794"&gt;http://www.infopathdev.com/forums/p/1075/1794.aspx#1794&lt;/a&gt; &amp;nbsp;works for repeating nodes.&lt;/p&gt;
&lt;p&gt;If you want to do sum for different fields, use the + operator.&amp;nbsp; For this follow the below steps.&lt;/p&gt;
&lt;p&gt;1. Add a field to the main data source.&lt;/p&gt;
&lt;p&gt;2. Go to properties of that field and click on Fx button.&lt;/p&gt;
&lt;p&gt;3. Click Insert a field button and then select the first field value (first field in 100 fields).&lt;/p&gt;
&lt;p&gt;4. Then press +, again click insert a field button and then select the second value in 100 fields.&lt;/p&gt;
&lt;p&gt;5. Repeat the step 4 until 100 fields are placed.&lt;/p&gt;</description></item><item><title>Imported excel and auto-sum</title><link>https://www.infopathdev.com:443/forums/thread/34278.aspx</link><pubDate>Fri, 14 Nov 2008 10:04:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34278</guid><dc:creator>sjagmeet</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34278</wfw:commentRss><description>&lt;p&gt;Hello All, &lt;/p&gt;
&lt;p&gt;I have imported on .xls file into infopath 2007. I am preparing a survey and have 100 rows of questions. &lt;/p&gt;
&lt;p&gt;Added one more column with drop menu for individuals to make choices. Have scores against each selection. &lt;/p&gt;
&lt;p&gt;Now, I want to autosum those 100 rows or those&amp;nbsp;values in the last colum.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have seen solutions for such things, in the forum, for &amp;quot;repeating tables&amp;quot; BUT mine is NOT a repeating table. It is an imported excel file.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Tried taking help from the following post : &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/1075/1794.aspx#1794"&gt;http://www.infopathdev.com/forums/p/1075/1794.aspx#1794&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and did not work because in such a case I have to enter 100 fields whose value I need to add.&lt;/p&gt;
&lt;p&gt;Any help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks &lt;/p&gt;
&lt;p&gt;Jags &lt;/p&gt;</description></item></channel></rss>