<?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: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76448.aspx</link><pubDate>Wed, 14 Mar 2012 18:03:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76448</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76448</wfw:commentRss><description>When a form uses qRules, the qRules functionality is all built into the form template (XSN) so users do not have to have anything special installed on their systems (aside from InfoPath of course) in order to use the forms.</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76443.aspx</link><pubDate>Wed, 14 Mar 2012 17:20:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76443</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76443</wfw:commentRss><description>&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Question about QRules:&amp;nbsp; if I build a form using it, do people who open the form who don&amp;#39;t have QRules installed&amp;nbsp;have problems using the QRules functionality?&amp;nbsp; Do they need the software, too, or at least an add-in of some kind?&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Thanks,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;nkstrou&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76439.aspx</link><pubDate>Wed, 14 Mar 2012 16:52:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76439</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76439</wfw:commentRss><description>&lt;p&gt;If you aren&amp;#39;t afraid to work with your form&amp;#39;s source files, you can modify the manifest to do this - see this blog &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx"&gt;post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt; also has a command for this (among tons of other commands that can prevent having to add custom code to your form).&lt;/p&gt;</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76438.aspx</link><pubDate>Wed, 14 Mar 2012 16:42:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76438</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76438</wfw:commentRss><description>&lt;p&gt;Well duh, why didn&amp;#39;t I think of that?&amp;nbsp; Thanks Hilary - you rock!!!&lt;/p&gt;
&lt;p&gt;Another question while I have you.&amp;nbsp; Given that I&amp;#39;ve set up the 13 rows in my table, if I want to set an action rule from elsewhere in my document&amp;nbsp;to update a given textbox on one of the rows, is there a way I can use position() (or any other condition)&amp;nbsp;to identify the row(s) I want?&amp;nbsp;&amp;nbsp;&amp;nbsp;I know you can&amp;#39;t&amp;nbsp;apply a filter&amp;nbsp;to the field you want to update, or at least there&amp;#39;s not a button&amp;nbsp;to go add a filter&amp;nbsp;like there is other areas.&amp;nbsp; Do you have any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76431.aspx</link><pubDate>Wed, 14 Mar 2012 15:26:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76431</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76431.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76431</wfw:commentRss><description>&lt;p&gt;In the same location you added your repeating group 13 times, you can drill down into each repeating group and set different defaults for the fields. So, if you had 13 instances of a group called Group1, and it has a field called Field1 inside it, each instance of Field1 could have a different value.&lt;/p&gt;</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76427.aspx</link><pubDate>Wed, 14 Mar 2012 14:16:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76427</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76427.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76427</wfw:commentRss><description>&lt;p&gt;Jimmy:&lt;/p&gt;
&lt;p&gt;I would prefer to avoid unnecessary code as well.&amp;nbsp; How do you use Default Value to specify different data per row in a repeating table?&amp;nbsp; It&amp;#39;s not intuitive to me how you would do that.&amp;nbsp; I know you can use position() to get the row number, but I&amp;#39;ve not seen a way to set up something like If-Then-Else logic&amp;nbsp;for&amp;nbsp;Default Value.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item><item><title>Re: Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76415.aspx</link><pubDate>Wed, 14 Mar 2012 05:08:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76415</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76415.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76415</wfw:commentRss><description>The default values dialog should allow you to set different values in each row.&amp;nbsp; Have you given that a try?&amp;nbsp; We always suggest avoiding using&amp;nbsp;unnecessary code.</description></item><item><title>Best Time/Place to Run Code?</title><link>https://www.infopathdev.com:443/forums/thread/76414.aspx</link><pubDate>Wed, 14 Mar 2012 02:00:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76414</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76414.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=76414</wfw:commentRss><description>&lt;p&gt;Hi InfoPathers:&lt;/p&gt;
&lt;p&gt;Pardon me if this a basic question because I don&amp;#39;t know IP coding very well.&amp;nbsp; &amp;nbsp;When&amp;nbsp;my IP 2010 filler&amp;nbsp;form opens, I want to automatically set some&amp;nbsp;text in 2 columns of a repeating table that has&amp;nbsp;13 rows&amp;nbsp;that show by default.&amp;nbsp; I&amp;#39;ve locked the user down from adding or removing any rows to this column since it&amp;#39;s just a summary table.&amp;nbsp;&amp;nbsp;Since different text needs to be set for the two columns I&amp;#39;m interested in, I don&amp;#39;t think I can use the Default Value for the text fields in question, so I have written code that should set the text I want based on row number.&amp;nbsp;&amp;nbsp;I&amp;#39;m thinking that the&amp;nbsp;form loading event is&amp;nbsp;not the right&amp;nbsp;place to run this code because the views haven&amp;#39;t yet initialized (at least, not if I&amp;#39;ve understood the loading event properly).&amp;nbsp; I don&amp;#39;t &lt;em&gt;think&lt;/em&gt; I want to run it when I switch to the View in question because I only want to run it&amp;nbsp;when my repeating table is blank and not &lt;em&gt;every&lt;/em&gt; time I move to that view.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Do any of you know if there is&amp;nbsp;an&amp;nbsp;easy way&amp;nbsp;set all my fields in one fell swoop and to only have to set them once?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item></channel></rss>