<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/34187.aspx</link><pubDate>Wed, 12 Nov 2008 15:36:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34187</guid><dc:creator>guptasourav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34187</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That worked Swathip. Thanks a ton for this. The only thing I had to change is, I removed the bold text and alter it a bit from the value and it worked.&lt;span style="font-size:10pt;color:black;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;color:black;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;xdXDocument:GetDOM(&amp;quot;Emp&amp;quot;)/Employees/Emp[&lt;b&gt;count(preceding-sibling::Emp) = &lt;/b&gt;count(current()/../preceding-sibling::my:group2)]/EmpID&lt;/span&gt;&lt;span style="font-size:10pt;color:black;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;This is the solution that worked for me &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;color:black;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;xdXDocument:GetDOM(&amp;quot;Emp&amp;quot;)/dfs:myFields/dfs:dataFields/ns2:Employees/Emp[(count(current()/../preceding-sibling::my:group2) + 1)]/EmpID&lt;/span&gt;&lt;span style="font-size:10pt;color:black;line-height:115%;font-family:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/34167.aspx</link><pubDate>Wed, 12 Nov 2008 10:07:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34167</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34167</wfw:commentRss><description>&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;Hi,&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;Set the following xpath as default value to achieve your requirement.&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;xdXDocument:GetDOM(&amp;quot;secondary datasource name&amp;quot;)/RootNode/RepeatingNode[count(preceding-sibling::RepeatingNode) = count(current()/../preceding-sibling::my:RepeatingNodeOfMainDataSource)]/IDFieldNode&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&lt;/span&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;Example:&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;xdXDocument:GetDOM(&amp;quot;Emp&amp;quot;)/Employees/Emp[count(preceding-sibling::Emp) = count(current()/../preceding-sibling::my:group2)]/EmpID&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-themecolor:text1;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/34148.aspx</link><pubDate>Wed, 12 Nov 2008 05:21:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34148</guid><dc:creator>paresh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34148</wfw:commentRss><description>&lt;p&gt;I think, you are choosing different node from the secondary data source to set the value of textbox.&lt;/p&gt;&lt;p&gt;Do let me know if you need more information.&lt;/p&gt;&lt;p&gt;&amp;nbsp;For more information, you can drop me a note on paresh[DOT]vs{AT}gmail[DOT]com&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Paresh &lt;/p&gt;&lt;p&gt;&amp;nbsp;http://www.openzeas.com/blogs/Paresh&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/33998.aspx</link><pubDate>Fri, 07 Nov 2008 14:24:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33998</guid><dc:creator>guptasourav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33998</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Paresh and Anuma for your reply. &lt;/p&gt;&lt;p&gt;My&amp;nbsp; textbox is under a repeating section group. To set the values in text box I went to Textbox properties--&amp;gt; Default Value --&amp;gt; fx --&amp;gt; Secondary datasource --&amp;gt; fieldname.&lt;/p&gt;&lt;p&gt;This works but it shows me same values in all the section. The values is the first element in the recordset. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Am I doing something wrong. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/33978.aspx</link><pubDate>Fri, 07 Nov 2008 05:04:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33978</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33978</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I think that text box field is a not repeating field in the schema. In the schema that field should be displayed under the repeating section group. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/33977.aspx</link><pubDate>Fri, 07 Nov 2008 04:35:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33977</guid><dc:creator>paresh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33977</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Can you please check again your binding of the secondary datasource to the repeating section?&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Paresh&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://www.openzeas.com/blogs/Paresh&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Same values in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/33963.aspx</link><pubDate>Thu, 06 Nov 2008 19:59:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33963</guid><dc:creator>guptasourav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33963.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=33963</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I am using a repeating section in a readonly view. I want to add a unique ID from database to each section in the repearting section.&amp;nbsp;&lt;/p&gt;&lt;p&gt;To achieve this I created a secondary datasource where I am recieving all the IDs. Then I pulled a textbox control in my repeating section. Set the default value of textbox as the value from secondary datasource.&lt;/p&gt;&lt;p&gt;It gives me values but the values appear same in all the sections.I want different values in each section as in the secondary datasource has. For example 1st section should has an ID 123, 2nd 234, 3rd 567 ...and so on.&lt;/p&gt;&lt;p&gt;Do any one know how to do this or some other approach. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description></item></channel></rss>