<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Appending Text to a Field Value To Yield Final Result</title><link>https://www.infopathdev.com:443/forums/thread/73226.aspx</link><pubDate>Fri, 23 Dec 2011 05:57:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73226</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73226</wfw:commentRss><description>&lt;p&gt;Update:&lt;/p&gt;&lt;p&gt;Not sure what I was doing wrong before;&amp;nbsp; but re-entered and it is working.&amp;nbsp; I must have entered different key strokes in condition section versus formula section.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Appending Text to a Field Value To Yield Final Result</title><link>https://www.infopathdev.com:443/forums/thread/73225.aspx</link><pubDate>Fri, 23 Dec 2011 05:41:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73225</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73225</wfw:commentRss><description>&lt;p&gt;Jimmy:&lt;/p&gt;&lt;p&gt;After creating rule per your guidelines, I key in a value in the field, it appends the &amp;quot;sec&amp;quot; many times (e.g., 120 sec sec sec sec...) until I get the following error:&lt;/p&gt;&lt;p&gt;&amp;quot;&lt;strong&gt;An error occurred in the form&amp;#39;s rules or code. The number of rule actions or the number of calls to the OnAfterChange event for a single update in the data exceeded the maximum limit.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;The rules or code may be causing an infinite loop. To prevent this, ensure that the rule action or event handler does not update the data which causes the same rule action or event handler to execute&lt;/strong&gt;.&amp;quot;&lt;/p&gt;&lt;p&gt;I checked the box in the rule to stop processing after the rule is run, but I get the same result.&amp;nbsp; Any guidance on what&amp;#39;s going on and how to just get one cycle?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Appending Text to a Field Value To Yield Final Result</title><link>https://www.infopathdev.com:443/forums/thread/73214.aspx</link><pubDate>Thu, 22 Dec 2011 19:30:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73214</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73214</wfw:commentRss><description>&lt;p&gt;You can accomplish this without a separate field if you add a condition to your rule:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Condition: &lt;strong&gt;(the field)&lt;/strong&gt; does not contain &lt;strong&gt;sec&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Action: Set &lt;strong&gt;(the field)&lt;/strong&gt; to the formula: &lt;strong&gt;concat(., &amp;#39; sec&amp;#39;)&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Appending Text to a Field Value To Yield Final Result</title><link>https://www.infopathdev.com:443/forums/thread/73210.aspx</link><pubDate>Thu, 22 Dec 2011 19:12:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73210</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73210.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73210</wfw:commentRss><description>&lt;p&gt;It depends where you want to use this appended text in the end.&amp;nbsp; If the report you mention is simply a read-only InfoPath view, then you can use a Calculated Value control to display your formula.&amp;nbsp; This control doesn&amp;#39;t have to be bound to any field, so you won&amp;#39;t have to add an additional temp field in your data source.&lt;/p&gt;&lt;p&gt;Otherwise, your other option is likely&amp;nbsp;setting a field&amp;#39;s value of&amp;nbsp;some temp field.&amp;nbsp; Hope I understood your scenario correctly :)&amp;nbsp; If not, feel free to clarify and I&amp;#39;ll be more than happy to help out!&lt;/p&gt;</description></item><item><title>Appending Text to a Field Value To Yield Final Result</title><link>https://www.infopathdev.com:443/forums/thread/73188.aspx</link><pubDate>Thu, 22 Dec 2011 06:18:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73188</guid><dc:creator>cbrown00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=73188</wfw:commentRss><description>&lt;p&gt;I know it is possible to use a rule in a control to set its value by using concatenate function and pulling values from other different controls.&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to find a solution where I don&amp;#39;t have to set up a different data element just to make the concatenation happen.&amp;nbsp; So, my question is can you&amp;nbsp;use a rule to set the value in a data element&amp;nbsp;by taking the value&amp;nbsp;entered, but then&amp;nbsp;auto-append text to it so that whenever the field is used, it returns&amp;nbsp;not just the value, but the appended text, too.&amp;nbsp;&amp;nbsp;&amp;nbsp;I&amp;#39;m wanting to create a field where a time value is entered, say 60, and using a rule to add &amp;quot;sec&amp;quot; to it so that when the data element is referenced later in a report,&amp;nbsp;it will return &amp;quot;60 sec&amp;quot; versus just the &amp;quot;60&amp;quot; shown.&amp;nbsp;&amp;nbsp; I have tried concat function in a rule for the field to make this happen, but it still only returns the value.. cannot get the text to show up in a report referencing the data element.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t need the result to indicate 60 sec in the form....just for that to be the real value.&amp;nbsp; Hope this makes sense.&lt;/p&gt;</description></item></channel></rss>