<?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>Français (French)</title><link>https://www.infopathdev.com:443/forums/37.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Operations entre section extensibles independantes</title><link>https://www.infopathdev.com:443/forums/thread/91381.aspx</link><pubDate>Sun, 14 Jul 2013 21:57:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91381</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=91381</wfw:commentRss><description>&lt;p&gt;Hi EdwardV,&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the English translation that I will respond to:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span class="hps"&gt;Hello everyone&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;I&lt;/span&gt; &lt;span class="hps"&gt;developed&lt;/span&gt; &lt;span class="hps"&gt;a form&lt;/span&gt; &lt;span class="hps"&gt;infopath&lt;/span&gt; &lt;span class="hps"&gt;and my&lt;/span&gt; &lt;span class="hps"&gt;problem&lt;/span&gt; &lt;span class="hps"&gt;is this.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;I do two&lt;/span&gt; &lt;span class="hps"&gt;repeating tables&lt;/span&gt; &lt;span class="hps"&gt;(we&lt;/span&gt; &lt;span class="hps"&gt;will call&lt;/span&gt; &lt;span class="hps"&gt;T1&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;T2).&lt;/span&gt; &lt;span class="hps"&gt;These two tables&lt;/span&gt; &lt;span class="hps"&gt;are completely&lt;/span&gt; &lt;span class="hps"&gt;independent&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;My&lt;/span&gt; &lt;span class="hps"&gt;goal is to&lt;/span&gt; &lt;span class="hps"&gt;make&lt;/span&gt; &lt;span class="hps"&gt;math operation&lt;/span&gt; &lt;span class="hps"&gt;between&lt;/span&gt; &lt;span class="hps"&gt;two tables&lt;/span&gt; &lt;span class="hps"&gt;when the user&lt;/span&gt; &lt;span class="hps"&gt;adds&lt;/span&gt; &lt;span class="hps"&gt;lines&lt;/span&gt;&lt;span&gt;.&lt;/span&gt; &lt;span class="hps"&gt;For example,&lt;/span&gt; &lt;span class="hps"&gt;mulitiplier&lt;/span&gt; &lt;span class="hps"&gt;line 4&lt;/span&gt; &lt;span class="hps"&gt;by line 4&lt;/span&gt; &lt;span class="hps"&gt;T1&lt;/span&gt; &lt;span class="hps"&gt;T2&lt;/span&gt; &lt;span class="hps"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;I tried&lt;/span&gt; &lt;span class="hps"&gt;many things but&lt;/span&gt; &lt;span class="hps"&gt;the independence&lt;/span&gt; &lt;span class="hps"&gt;of the two tables&lt;/span&gt; &lt;span class="hps"&gt;makes these&lt;/span&gt; &lt;span class="hps"&gt;calculations impossible&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span class="hps"&gt;the result of&lt;/span&gt; &lt;span class="hps"&gt;the operation is&lt;/span&gt; &lt;span class="hps"&gt;always&lt;/span&gt; &lt;span class="hps"&gt;one&lt;/span&gt; &lt;span class="hps"&gt;of the&lt;/span&gt; &lt;span class="hps"&gt;first&lt;/span&gt; &lt;span class="hps"&gt;line&lt;/span&gt; &lt;span class="hps"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;I also&lt;/span&gt; &lt;span class="hps"&gt;try&lt;/span&gt; &lt;span class="hps"&gt;to go through a&lt;/span&gt; &lt;span class="hps"&gt;master&lt;/span&gt; &lt;span class="hps"&gt;/ detail&lt;/span&gt; &lt;span class="hps"&gt;container.&lt;/span&gt; &lt;span class="hps"&gt;In&lt;/span&gt; &lt;span class="hps"&gt;overview&lt;/span&gt; &lt;span class="hps"&gt;mode, when&lt;/span&gt; &lt;span class="hps"&gt;I write&lt;/span&gt; &lt;span class="hps"&gt;in the&lt;/span&gt; &lt;span class="hps"&gt;master&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span class="hps"&gt;copy&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;value&lt;/span&gt; &lt;span class="hps"&gt;in the&lt;/span&gt; &lt;span class="hps"&gt;detail&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span class="hps"&gt;not&lt;/span&gt; &lt;span class="hps"&gt;even&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;problem&lt;/span&gt;&lt;span&gt;.&lt;/span&gt; &lt;span class="hps"&gt;When&lt;/span&gt; &lt;span class="hps"&gt;I add&lt;/span&gt; &lt;span class="hps"&gt;an element&lt;/span&gt; &lt;span class="hps"&gt;in the&lt;/span&gt; &lt;span class="hps"&gt;master&lt;/span&gt; &lt;span class="hps"&gt;and returns&lt;/span&gt; &lt;span class="hps"&gt;a value&lt;/span&gt;&lt;span&gt;,&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;detail&lt;/span&gt; &lt;span class="hps"&gt;is&lt;/span&gt; &lt;span class="hps"&gt;the new value&lt;/span&gt;&lt;span&gt;.&lt;/span&gt; &lt;span class="hps"&gt;My goal&lt;/span&gt; &lt;span class="hps"&gt;is to add&lt;/span&gt; &lt;span class="hps"&gt;as much value as&lt;/span&gt; &lt;span class="hps"&gt;I want&lt;/span&gt; &lt;span class="hps"&gt;in the&lt;/span&gt; &lt;span class="hps"&gt;master&lt;/span&gt; &lt;span class="hps"&gt;and&lt;/span&gt; &lt;span class="hps"&gt;the&lt;/span&gt; &lt;span class="hps"&gt;detail&lt;/span&gt; &lt;span class="hps"&gt;displays these&lt;/span&gt; &lt;span class="hps"&gt;values ​​one&lt;/span&gt; &lt;span class="hps"&gt;after the other&lt;/span&gt; &lt;span class="hps"&gt;has&lt;/span&gt; &lt;span class="hps"&gt;...&lt;/span&gt; &lt;span class="hps"&gt;do you think this&lt;/span&gt; &lt;span class="hps"&gt;is&lt;/span&gt; &lt;span class="hps"&gt;a potential solution&lt;/span&gt;&lt;span&gt;?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;Thank you&lt;/span&gt; &lt;span class="hps"&gt;for your help.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span class="hps"&gt;My response:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span class="hps"&gt;You need to use the square brackets to specify that you want line 4, etc. For example, add a rule with an action to set a value my:addLines (for example) with the function: my:T1[4]\my:columnA1 + my:T2[4]\my:columnA2. You can replace the hardcoded [4] with something like [position()] but that will only be specific to one of the tables (the one where you are adding the rule).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;You do not need a master-detail control to do this, but master-detail may be useful for other things ... :)&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span class="hps"&gt;&amp;nbsp;Google translation to French:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span class="hps"&gt;&lt;span class="hps"&gt;Vous devez&lt;/span&gt; &lt;span class="hps"&gt;utiliser&lt;/span&gt; &lt;span class="hps"&gt;les crochets&lt;/span&gt; &lt;span class="hps"&gt;pour indiquer que vous&lt;/span&gt; &lt;span class="hps"&gt;voulez que&lt;/span&gt; &lt;span class="hps"&gt;la ligne 4&lt;/span&gt;&lt;span&gt;, etc&lt;/span&gt; &lt;span class="hps"&gt;Par exemple,&lt;/span&gt; &lt;span class="hps"&gt;ajouter une règle&lt;/span&gt; &lt;span class="hps"&gt;avec&lt;/span&gt; &lt;span class="hps"&gt;une action visant à&lt;/span&gt; &lt;span class="hps"&gt;définir une valeur&lt;/span&gt; &lt;span class="hps"&gt;mon&lt;/span&gt;&lt;span&gt;:&lt;/span&gt; &lt;span class="hps"&gt;addLines&lt;/span&gt; &lt;span class="hps atn"&gt;(&lt;/span&gt;&lt;span&gt;par exemple&lt;/span&gt;&lt;span&gt;)&lt;/span&gt; &lt;span class="hps"&gt;avec&lt;/span&gt; &lt;span class="hps"&gt;la fonction&lt;/span&gt;&lt;span&gt;: my&lt;/span&gt;&lt;span&gt;: T1&lt;/span&gt; &lt;span class="hps"&gt;[4]&lt;/span&gt; &lt;span class="hps"&gt;\ my&lt;/span&gt;&lt;span&gt;:&lt;/span&gt; &lt;span class="hps"&gt;columnA1&lt;/span&gt; &lt;span class="hps"&gt;+&lt;/span&gt; &lt;span class="hps"&gt;ma&lt;/span&gt;&lt;span&gt;: T2&lt;/span&gt; &lt;span class="hps"&gt;[4]&lt;/span&gt; &lt;span class="hps"&gt;\ my&lt;/span&gt;&lt;span&gt;:&lt;/span&gt; &lt;span class="hps"&gt;columnA2&lt;/span&gt;&lt;span&gt;.&lt;/span&gt; &lt;span class="hps"&gt;Vous pouvez remplacer le&lt;/span&gt; &lt;span class="hps"&gt;hardcoded&lt;/span&gt; &lt;span class="hps"&gt;[4]&lt;/span&gt; &lt;span class="hps"&gt;avec quelque chose comme&lt;/span&gt; &lt;span class="hps atn"&gt;[&lt;/span&gt;&lt;span class="atn"&gt;position (&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;], mais&lt;/span&gt; &lt;span class="hps"&gt;qui ne sera&lt;/span&gt; &lt;span class="hps"&gt;spécifique&lt;/span&gt; &lt;span class="hps"&gt;à&lt;/span&gt; &lt;span class="hps"&gt;l&amp;#39;une des tables&lt;/span&gt; &lt;span class="hps"&gt;(celui où&lt;/span&gt; &lt;span class="hps"&gt;vous ajoutez&lt;/span&gt; &lt;span class="hps"&gt;la règle).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="hps"&gt;Vous n&amp;#39;avez pas&lt;/span&gt; &lt;span class="hps"&gt;besoin d&amp;#39;un contrôle&lt;/span&gt; &lt;span class="hps"&gt;maître-détail&lt;/span&gt; &lt;span class="hps"&gt;pour ce faire,&lt;/span&gt; &lt;span class="hps"&gt;mais&lt;/span&gt; &lt;span class="hps"&gt;maître-détail&lt;/span&gt; &lt;span class="hps"&gt;peut être utile&lt;/span&gt; &lt;span class="hps"&gt;pour d&amp;#39;autres choses&lt;/span&gt; &lt;span class="hps"&gt;...&lt;/span&gt; &lt;span class="hps"&gt;:)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Operations entre section extensibles independantes</title><link>https://www.infopathdev.com:443/forums/thread/91270.aspx</link><pubDate>Wed, 10 Jul 2013 10:48:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91270</guid><dc:creator>EdwardV</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91270.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=91270</wfw:commentRss><description>&lt;p&gt;Bonjour a tous,&lt;/p&gt;&lt;p&gt;Je developpe un formulaire sur infopath et mon probleme est le suivant.&lt;/p&gt;&lt;p&gt;Je fais deux tableaux extensibles (nous les nommerons T1 et T2). Ces deux tableaux sont completement independants.&lt;/p&gt;&lt;p&gt;Mon but est de pouvoir faire des operations mathematiques entre ces deux tableaux, lorsque l&amp;#39;utilisateur rajoute des lignes. Par exemple, mulitiplier la ligne 4 du T1 par la ligne 4 du T2 ...&lt;/p&gt;&lt;p&gt;J&amp;#39;ai essaye beaucoup de choses mais l&amp;#39;independance des deux tableaux rend ces calculs impossibles, le resultat de l&amp;#39;operation est toujours celui de la premiere ligne ...&lt;/p&gt;&lt;p&gt;J&amp;#39;ai aussi essaye&amp;nbsp;de passer par un conteneur maitre/detail. En mode apercu, quand j&amp;#39;ecris dans le maitre, la valeur se copie dans le detail, jusque la pas de probleme. Lorsque je rajoute un element dans le maitre et rentre une valeur, le detail prend cette nouvelle valeur. Mon but est de rajouter autant de valeur que je souhaite dans le maitre, et que le detail affiche ces valeurs les unes a la suite des autres ... pensez vous que ce soit une potentielle solution ?&lt;/p&gt;&lt;p&gt;Merci de votre aide.&lt;/p&gt;</description></item></channel></rss>