<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/52158.aspx</link><pubDate>Wed, 24 Feb 2010 22:41:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52158</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=52158</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ok, I solved all the issues with this: sum(@TotalCost[field57 = @ProgramName])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for all the great help and leading me in the right direction. This board is invaluable and I really appreciate it. Hope I can give back someday! :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/52083.aspx</link><pubDate>Tue, 23 Feb 2010 18:05:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52083</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=52083</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks again for the help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I get the NaN error on the calculation in the Total box.. I have tried different things but nothing seems to help. Does this have to do with my fields from the Access database itself??&amp;nbsp; I have looked at a few other posts, but nothing seems to help, even though the issues seem to be the same. Here are the posts I found in ref to the NaN issue:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;http://www.infopathdev.com/forums/p/8379/30251.aspx#30251&lt;/p&gt;&lt;p&gt;http://blogs.msdn.com/infopath/archive/2008/04/17/invalid-data-error-when-calculating-the-result-of-2-or-more-fields.aspx&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/52058.aspx</link><pubDate>Tue, 23 Feb 2010 07:09:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52058</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52058.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=52058</wfw:commentRss><description>&lt;p&gt;for sum &lt;/p&gt;
&lt;p&gt;sum(@TotalCost[@ProgramName = ProgramName])&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have done for the first total, write accordingly for others&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/52020.aspx</link><pubDate>Mon, 22 Feb 2010 18:22:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52020</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=52020</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks! That was exactly what I needed, and I feel kind of silly for not knowing how to do that. &lt;/p&gt;&lt;p&gt;But, one more question with this...How do I filter the total amounts in the box marked &amp;quot;Total&amp;quot;? I can get it to add (sum) up all data from the database, but I need it to add (sum) up only what program was selected (from field 57 and program name). So, a user selects program name (lets say &amp;quot;LDP&amp;quot;) then does the prefill (lets say 12). The 12 is filled in for the prefill amounts, which multiplies it by the unit cost and we only see the LDP stuff. But how to total the LDP items only??? (i think it is in the filter of the Total text box, but am not sure how to get it done).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for the help. I have uploaded the current version of the form. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;BTW: i think this link tells me how to do it, but I still can not figure it out: http://www.infopathdev.com/forums/p/10461/37486.aspx&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51935.aspx</link><pubDate>Fri, 19 Feb 2010 13:06:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51935</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51935</wfw:commentRss><description>&lt;p&gt;check if this helps&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51903.aspx</link><pubDate>Thu, 18 Feb 2010 17:54:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51903</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51903.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51903</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have attached the template form. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Again, the dropdown menu an the top (select program), when a user selects one of the dropdown items, I have a rule that runs that queries the database (access). And whatever the user selects from the dropdown list, then the query is done and i want each of the repeating tables (each is linked to a different table in the db). There is a text box on the form named &amp;quot;Program Name&amp;quot; and I want the data filtered by that box. The problem I am having is how to filter it, and where?? I have tried using Conditional formatting, but I cant get it to filter right. Maybe I am just not getting it or am thinking of the design wrong??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for the response and any help provided. This forum is great, and I hope with the more knowledge I can, I can eventually help on this board. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51890.aspx</link><pubDate>Thu, 18 Feb 2010 06:20:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51890</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51890</wfw:commentRss><description>&lt;p&gt;can you attach the template so that we have a look at it &lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51852.aspx</link><pubDate>Wed, 17 Feb 2010 15:49:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51852</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51852</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have attached a screenshot of the the infopath form I am working on.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;As you can see, at the top is the dropdown menu (Program Name). I want users to choose one of the names, then after they choose that, I want the three (3) repeating tables below (they are under where it says &amp;quot;Materials&amp;quot; &amp;quot;Testing&amp;quot; &amp;quot;Publications&amp;quot;) I want these three tables to get the information from certain tables from the access database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So for instance, the drop down has two choices: LAP and LDP. In the access database there are six tables related to these two choices (tblLAPmaterials, tblLAPtesting, tblLAPpublications, and the same 3 for LDP). And so when the user chooses the one they want from the dropdown, those repeating tables in the infopath form would be filled in with the appropriate items. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51848.aspx</link><pubDate>Wed, 17 Feb 2010 15:18:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51848</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51848</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Qazi for the response.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I guess I can&amp;#39;t answer, because that is kind of the question...&amp;quot; how do I fill in the repeating table&amp;quot; after a user has selected a choice from a dropdown menu. A user will select a choice from the dropdown menu, and depending on that choice, I need the repeating tables in the infopath form to be filled in with what it queries from certain tables in the access database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;As far as code or the rule, I am also stuck. Right now I have a repeating table and it has text boxes in it. I set a rule in the dropdown/user choice menu that when the rule is met (lets say &amp;quot;XYZ&amp;quot; is chosen), then the fields value is set. This is where i run into problems because it only sets the fields value based on the FIRST row in the access database....where as I need it to fill in all the rows from query of the access database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I dont have VSTA.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for any response. Hopefully I am saying this all right! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51844.aspx</link><pubDate>Wed, 17 Feb 2010 13:19:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51844</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51844</wfw:commentRss><description>&lt;p&gt;just one question how do you fill in repeating table, can u share that code/rule so that we can look at it and let you know&lt;/p&gt;</description></item><item><title>Data connections and reapeating tables</title><link>https://www.infopathdev.com:443/forums/thread/51825.aspx</link><pubDate>Wed, 17 Feb 2010 00:00:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51825</guid><dc:creator>myrockmyshelter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51825</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Rather new to this forum, so I am going to hopefully explain this well. I have looked through many of the posts, but none seem to answer the exact question I have.&lt;/p&gt;&lt;p&gt;&amp;nbsp;So here goes..&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a form that has a dropdown list (users can select &amp;quot;ABC&amp;quot; or &amp;quot;XYZ&amp;quot;). After they select from the drop down list, I want the form to get the information (query) the exact table I have in my Access Database (so after selecting &amp;quot;ABC&amp;quot;, the form would go to my database and find &amp;quot;tblABC&amp;quot;) and drop whatever is in that db table into a repeating table in the Infopath form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;So i got it to query the db and get the first result from the first line of the db...but the repeating table does not show the rest of the results from the query.&lt;/p&gt;&lt;p&gt;is this because:&lt;/p&gt;&lt;p&gt;1. in my repeating table i have plain text fields for the results?? do I need to change these to something else?&lt;/p&gt;&lt;p&gt;2. or is it something I need to filter in the repeating table?&lt;/p&gt;&lt;p&gt;3. or is it something I need to change in the dropdown menu? (when the user selects &amp;quot;ABC&amp;quot; then that dropdown menu performs an action to fill in the repeating table)?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for any help, and I rarely asks any question just because I seem to find all my answers on this great forum! Thanks all. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>