<?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: Add row according to given ID</title><link>https://www.infopathdev.com:443/forums/thread/55463.aspx</link><pubDate>Mon, 31 May 2010 13:58:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55463</guid><dc:creator>kaiowas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55463</wfw:commentRss><description>&lt;p&gt;Thanks for your reply Patrick!&lt;/p&gt;&lt;p&gt;I had a very complicated week and couldn&amp;#39;t check this out. Anyhow, I&amp;#39;ve managed to add the info of the row according to the ID with lots of filters and it is working nicely. However, I&amp;#39;m trying to incorporate a database query view so you can select the item to add or at least check the ID to add it manually on the table.&lt;/p&gt;&lt;p&gt;&amp;nbsp;With the database template from infopath I was able to do it in a breeze, but from this I haven&amp;#39;t. I have three lists which are being populated by a secondary database (third in this case: fields, main database and sec database). This is working fine, and they interact between them nicely. The thing I cannot query the main database and get proper results.&lt;/p&gt;&lt;p&gt;In the database template was easy because there was a difference between query and data fields, but how do i tell the query action that I want the query to be based on the lists (brand, series and reference)? I&amp;#39;ve tried querying the main database, querying the second database (which is stupid, but i tried anyway) , with repeating tables directly from the database, with repeating tables and trying to add filters, but nothing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I try to add it directly binded to the database, then the repeating table shows every single record on the DB. If I try to add filters, I only get&amp;nbsp; the first result on the repeating table. You&amp;#39;re mentioning that I can specify how many results are allowed, how do I do that? or is there a way for filtering the results directly binded to the DB?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in adnvace! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Add row according to given ID</title><link>https://www.infopathdev.com:443/forums/thread/55098.aspx</link><pubDate>Thu, 20 May 2010 05:55:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55098</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55098</wfw:commentRss><description>&lt;p&gt;Hi ASM,&lt;/p&gt;
&lt;p&gt;Your query needs to return multiple values when you configure the data connection so that InfoPath can correctly infer the schema as a repeating section. That should solve your problem. Go into Tools-&amp;gt;Data Connections and modify the existing query. Make sure that the sample values results in *multiple return values* and then the secondary data source schema should be correctly inferred. &lt;/p&gt;
&lt;p&gt;Input parameters are not that hard. Qdabra&amp;#39;s qRules makes it way easier. Check out the free trial from Qdabra&amp;#39;s main site (note: Qdabra pays for this free forum).&lt;/p&gt;</description></item><item><title>Add row according to given ID</title><link>https://www.infopathdev.com:443/forums/thread/55057.aspx</link><pubDate>Wed, 19 May 2010 15:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55057</guid><dc:creator>kaiowas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=55057</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi everyone!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is my first post here!&lt;/p&gt;&lt;p&gt; I&amp;#39;m a total newbie in C# and infopath in general. I&amp;#39;ve a lot of experience in MATLAB programming as is my main tool for work.&lt;/p&gt;&lt;p&gt;However, I&amp;#39;m doing some quotation forms for my company and need some help. I&amp;#39;ve research and haven&amp;#39;t found anything that helps me with this issue.&lt;/p&gt;&lt;p&gt;I need to make a form for sound systems and light automation quotations, and this is done in excel so far, but i want to minimize the human error involved in it. This quotations are made by &amp;quot;zones&amp;quot; (living room, main bedroom, kitchen, backyard, etc), and each zone has some items (amplifier, controller, keypad, speakers, etc), so according to the needs of the zone, the items quantity and the items themself vary. I&amp;#39;ve an access database with all the products that we work with (brand, series, reference, dealer price, selling price, weight, link to an image of the product).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The idea is to add a repeating section that would be the zones and inside of that, I need a repeating table for the items. For example:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Bedroom&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;Speakers&lt;/p&gt;&lt;p&gt;Amplifier&lt;/p&gt;&lt;p&gt;Source &lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Backyard&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Speakers&lt;/p&gt;&lt;p&gt;Amplifier&lt;/p&gt;&lt;p&gt;Remote Control&lt;/p&gt;&lt;p&gt;Source&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;Because I&amp;#39;ve read that passing arguments between infopath is kind of complicated, so I designed a query database form that searches the item you&amp;#39;re looking form and gives you the ID of it. So, the idea is that in this quotation form, I could input the ID of the item , press a button and then it will add it to the item section of the active zone. I also tried including the ID query inside the repeating table, but it tells me that the item won&amp;#39;t repeating itself, and guess what? it doesn&amp;#39;t = S. It gives me the same result as the button approach, if I add a new row and modify the ID query of the new row, it just delete the new row and replace the first one with the ID I want. Same thing happens with the button approach (the ID query and &amp;quot;add item&amp;quot; button outside the repeating table.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know what extra info you need in order to help me, maybe the infopath forms files?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance from Colombia!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ASM&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;PD: I&amp;#39;ve tried some of the code given in this forum, but haven&amp;#39;t had any luck at all. Usually tells me that &amp;quot;XDocument&amp;quot; does not have this or that method, etc. I&amp;#39;ve also tried replacing XDocument with this or thisXDocument and no luck. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>