<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/58086.aspx</link><pubDate>Tue, 17 Aug 2010 15:04:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58086</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=58086</wfw:commentRss><description>&lt;p&gt;Sorry to bring up my old thread, but I&amp;#39;ve run into a new problem along the same lines.&lt;/p&gt;
&lt;p&gt;I have a form that has a webservice as it&amp;#39;s main datasource.&lt;/p&gt;
&lt;p&gt;There are several tables on a database that have been made into a dataset for the webservice to read and populate into the forms datasource.&lt;/p&gt;
&lt;p&gt;Each table represents a section of the form that I want to use as a repeating section, so that more than one record can be entered into any of the tables with one form. However, not all the sections will require filling in, as such the validation required in these sections needs to be ignored so I have placed each of the repeating sections inside an Optional section.&lt;/p&gt;
&lt;p&gt;My problem is that when the Optional Section &amp;quot;Insert&amp;quot; link is clicked and the section appears/expands, the repeating section is there but &amp;quot;minimized&amp;quot; so the user then has to click the &amp;quot;Insert&amp;quot; link for the repeatig section as well which doesn&amp;#39;t look good at all. When I was using a blank datasource I was able to edit the properties of the repeating section and &amp;quot;Show&amp;quot; the repeating section, however I can&amp;#39;t seem to find that option now, and most of the options in the repeating sections properties are greyed out. &lt;/p&gt;
&lt;p&gt;This is presumably an effect of having an external (webservice) as the main datasource. Any ideas why and how to overcome this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52297.aspx</link><pubDate>Mon, 01 Mar 2010 16:52:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52297</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52297</wfw:commentRss><description>&lt;p&gt;I have happened upon a property in the &amp;quot;section properties&amp;quot; that looks like it might help. &amp;quot;Do not include this section in the form by default&amp;quot; would presumably forget the section exists until the user does something, such as checking the relevant check box.&lt;/p&gt;
&lt;p&gt;I now see that this allows you to turn the section into an optional section, so I could do away with the check boxes altogether and use the Optional section links provided to allow people to add the section. Therefore, any section that isn&amp;#39;t added is therefore ignored with regards to validation etc.&lt;/p&gt;</description></item><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52296.aspx</link><pubDate>Mon, 01 Mar 2010 16:48:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52296</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52296</wfw:commentRss><description>&lt;p&gt;Each section is a different type of financial product, we have 6 different sections, all of which are hidden from the user, till they select the product they need to fill in, at which point when the relevant check box is set to true, the field appears. We would like all the fields to&amp;nbsp;be empty (or even classed as inactive if this is possible) so that this section is ignored unless it&amp;#39;s check box is set to true. My worry being that we&amp;#39;ll have 6 GUID&amp;#39;s on the result of a form, with no information to tie with them. Whether this will have an impact at a later stage I&amp;#39;m not sure. At the same time, I need to set up rules so that any compulsory fields in sections where the check box is set to false, are not actually compulsory.&lt;/p&gt;
&lt;p&gt;Effectively I need to be able to turn a section on or off with a check box, the more I think about this, the more complicated it seems to be getting.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52295.aspx</link><pubDate>Mon, 01 Mar 2010 16:38:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52295</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52295</wfw:commentRss><description>&lt;p&gt;This would be considerably trickier.&amp;nbsp; Setting the value of a field in a specific row of a repeating section is inherently difficult.&amp;nbsp; Is it critical that the inactive rows &lt;i&gt;not&lt;/i&gt; have GUIDs?&amp;nbsp; I&amp;#39;m not sure what your scenario is, but might this cause the issue of a row getting an entirely new GUID if it were made inactive and then active again (though perhaps this is the behavior you&amp;#39;re going for)?&amp;nbsp; One simple alternative could be to use conditional formatting to hide the GUID field on inactive rows.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52294.aspx</link><pubDate>Mon, 01 Mar 2010 16:16:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52294</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52294</wfw:commentRss><description>&lt;p&gt;Excellent, thank you very much. I&amp;#39;m also struggling setting a rule so that this GUID field is empty unless a check box is set to true to indicate that this section is &amp;quot;active&amp;quot;. I think I need to set the rule on the Check Box, but I&amp;#39;m not quite sure how to construct this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you help with this please?&lt;/p&gt;</description></item><item><title>Re: GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52290.aspx</link><pubDate>Mon, 01 Mar 2010 15:25:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52290</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52290.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52290</wfw:commentRss><description>&lt;p&gt;Set the default value of your repeating field to be a formula pointing to the GUID field in your secondary data source, and uncheck &amp;quot;Update this field when the value of this formula changes.&amp;quot;&lt;/p&gt;&lt;p&gt;Then add a rule to the GUID field in your repeating section to re-query your SQL connection, so that a new GUID is ready and waiting for the next row you add. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>GUID's and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/52289.aspx</link><pubDate>Mon, 01 Mar 2010 15:14:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52289</guid><dc:creator>greenawayr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=52289</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created a form with a couple of repeating sections in it. I wanted to include a hidden text field that could contain a GUID generated from an SQL database that would be different for each repeating section and it&amp;#39;s multiples. &lt;/p&gt;
&lt;p&gt;The text field connects to a data connection which contains a sql statement &amp;quot;select newid() as GUID&amp;quot; and inserts the GUID into the text field. The problem I have is that when I click &amp;quot;Insert Item&amp;quot; on the repeating section, to bring up a new section, the GUID contained in the textbox is the same as the GUID in the first entry of the repeating section. &lt;/p&gt;
&lt;p&gt;Any idea how to get this to refresh when the nex text box is generated in the repeating section? Or will it always use the same GUID because it is referencing the same data source?&lt;/p&gt;
&lt;p&gt;Any help is gladly accepted.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>