<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69639.aspx</link><pubDate>Thu, 25 Aug 2011 14:04:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69639</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69639.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69639</wfw:commentRss><description>&lt;p&gt;Thanks again!&amp;nbsp; I&amp;#39;ll switch my form to your method and spell the name of my field correctly this time.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69638.aspx</link><pubDate>Thu, 25 Aug 2011 13:47:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69638</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69638.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69638</wfw:commentRss><description>&lt;p&gt;Ah, sorry, I didn&amp;#39;t notice that part.&amp;nbsp; It&amp;#39;s puzzling that that works when your original attempt (just having the field set itself) didn&amp;#39;t, since one would think they would produce the same result.&amp;nbsp; Just another one of InfoPath&amp;#39;s quirks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I suggest using the approach I described because it&amp;#39;s guaranteed to present an infinite loop error under any condition.&amp;nbsp; A while back, I discovered that if you have a field set itself to a blank value, it will cause an invinite loop in IP 2010, but not in 2007, so new quirks do have a way of cropping up.&amp;nbsp; My approach should help safeguard against that.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69634.aspx</link><pubDate>Thu, 25 Aug 2011 11:28:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69634</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69634.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69634</wfw:commentRss><description>&lt;p&gt;In my second post i mentioned:&lt;br /&gt;&lt;br /&gt;&amp;quot;What I ended up doing which appears to be working well is two actions with the first setting text box &amp;#39;calculating&amp;#39; = translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;) and the second setting &amp;#39;UTM_UNIT_ADDRESS&amp;#39; to = &amp;#39;calculating&amp;#39;.&amp;quot;&lt;br /&gt;&lt;br /&gt;It seems to work well but I am wondering if this is just as good as the option you&amp;#39;ve been so graciously helping me with.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69633.aspx</link><pubDate>Thu, 25 Aug 2011 11:09:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69633</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69633</wfw:commentRss><description>&lt;p&gt;Glad you worked it out.&amp;nbsp; To which two methods are you referring?&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69632.aspx</link><pubDate>Thu, 25 Aug 2011 08:32:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69632</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69632</wfw:commentRss><description>&lt;p&gt;Jimmy, PERFECT!&amp;nbsp; Thank you for that.&amp;nbsp; The question remains: which is the better method or are they both equally effective?&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69598.aspx</link><pubDate>Wed, 24 Aug 2011 14:54:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69598</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69598</wfw:commentRss><description>&lt;p&gt;It looks like you deleted and re-added the &lt;strong&gt;calculating&lt;/strong&gt; field, and spelled its name wrong the second time so the rules and condition are referencing invalid field names.&amp;nbsp; That&amp;#39;s the main source of your problem.&amp;nbsp; Also, as I said, you should re-open the condition dialog and set up the condition using the dropdown boxes instead of having the expression entered in manually.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69596.aspx</link><pubDate>Wed, 24 Aug 2011 14:13:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69596</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69596</wfw:commentRss><description>&lt;p&gt;I am following now. I&amp;#39;ve made the change to Boolean and uploaded the form. When the Unit Address field in the upper portion of the form is filled in with a single line of text the translate() function works fine.&amp;nbsp; When multiple lines are entered with carriage returns an error message is displayed and then the text is converted to ALL CAPS.&amp;nbsp; I&amp;#39;m not sure what is causing the error message.&amp;nbsp; Is the method I am using that works not a good one?&lt;br /&gt;&lt;br /&gt;Don&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69552.aspx</link><pubDate>Tue, 23 Aug 2011 14:04:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69552</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69552</wfw:commentRss><description>&lt;p&gt;If you open the properties dialog for the textbox or the field in the taskpane, you can select True/False (boolean) as its datatype.&lt;/p&gt;
&lt;p&gt;BTW, you don&amp;#39;t have to have the field represented as a control (textbox) in your form in order for it to exist and serve its purpose within the data source.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69549.aspx</link><pubDate>Tue, 23 Aug 2011 13:00:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69549</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69549</wfw:commentRss><description>&lt;p&gt;Pardon my lack of knowledge on the subject but I am not sure how to add a Boolean field.&amp;nbsp; I added a text box control but do not see anything indicating a Boolean field.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69547.aspx</link><pubDate>Tue, 23 Aug 2011 12:33:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69547</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69547</wfw:commentRss><description>&lt;p&gt;If you created the &lt;strong&gt;calculating&lt;/strong&gt; field as a Boolean field, the condition dialog should let you&amp;nbsp;select between TRUE and FALSE in the right-hand dropdown box.&amp;nbsp; That &lt;strong&gt;calculating&lt;/strong&gt; &lt;strong&gt;= false()&lt;/strong&gt; that you have there doesn&amp;#39;t look right to me.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69546.aspx</link><pubDate>Tue, 23 Aug 2011 12:23:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69546</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69546.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69546</wfw:commentRss><description>&lt;p&gt;I have attached a screen-shot of the dialogs showing how the rules were set up.&amp;nbsp; If that does not help I might be able to change the form enough to post.&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69545.aspx</link><pubDate>Tue, 23 Aug 2011 09:37:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69545</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69545.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69545</wfw:commentRss><description>&lt;p&gt;Hm, seems to work in this template.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could you attach a screenshot of the dialog where you set up the condition, or the whole XSN if you don&amp;#39;t mind sharing it?&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69543.aspx</link><pubDate>Tue, 23 Aug 2011 08:51:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69543</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69543</wfw:commentRss><description>&lt;p&gt;Thank you Jimmy.&amp;nbsp; I have tried the method mentioned in thread &lt;a href="http://www.infopathdev.com/forums/t/19919.aspx"&gt;http://www.infopathdev.com/forums/t/19919.aspx&lt;/a&gt;&amp;nbsp;but have so far had no luck.&amp;nbsp; This is what I did which may or may not be in line with the instructions provided.&lt;br /&gt;&lt;br /&gt;1. Added text box to form named &amp;quot;calculating&amp;quot; with a default value of&amp;nbsp;false() (the text box has conditional formatting to hide it when the section is both signed or unsigned; always hidden)&lt;br /&gt;2. Added the fllowing rules to a text box named &amp;quot;UTM_UNIT_ADDRESS&amp;quot; (which contains the multi-line text to be converted to ALL CAPS)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Condition: calculating =&amp;nbsp;false()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Action1: Set &amp;#39;calculating&amp;#39; =&amp;nbsp;true()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c. Action2: Set &amp;#39;.&amp;#39; = translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d. Action3: Set &amp;#39;calculating&amp;#39; = false()&lt;br /&gt;&lt;br /&gt;The result is that none of the text in text box &amp;#39;UTM_UNIT_ADDRESS&amp;#39; is converted to ALL CAPS.&lt;br /&gt;&lt;br /&gt;The same holds true when only action 2 is set as the only rule for text box &amp;#39;UTM_UNIT_ADDRESS&amp;#39; and I have tried with the text box &amp;#39;calculating&amp;#39; as hidden and not hidden.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I ended up doing which appears to be working well is two actions with the first setting text box &amp;#39;calculating&amp;#39; = translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;) and the second setting &amp;#39;UTM_UNIT_ADDRESS&amp;#39; to = &amp;#39;calculating&amp;#39;.&lt;/p&gt;
&lt;p&gt;For learning purposes, did I do something wrong when trying to use the method in above thread?&amp;nbsp; Thanks again!&lt;/p&gt;
&lt;p&gt;Don&lt;/p&gt;</description></item><item><title>Re: Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69493.aspx</link><pubDate>Mon, 22 Aug 2011 13:12:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69493</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69493</wfw:commentRss><description>&lt;p&gt;I believe that something like this should probably work:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/19919/69074.aspx#69074"&gt;http://www.infopathdev.com/forums/p/19919/69074.aspx#69074&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Use of Translate() Function in Multiple-Line Text Box</title><link>https://www.infopathdev.com:443/forums/thread/69488.aspx</link><pubDate>Mon, 22 Aug 2011 12:00:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69488</guid><dc:creator>dsfcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69488.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69488</wfw:commentRss><description>&lt;p&gt;I have read many posts on this forum concerning the use of a Translate() function (specifically, placing translate(., &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;) in the value field for the text box)&amp;nbsp;in order to convert all text into CAPS and have been using it quite successfully until now. I have a text box that is muli-line with paragraph breaks and wrapping of text allowed.&amp;nbsp; I am pretty sure it is the paragraph breaks that are causing my problem but I need to keep them enabled and still convert text entered into the box into CAPS.&lt;/p&gt;
&lt;p&gt;The problem is that whenever multi-line text is inputted an error: &lt;strong&gt;&amp;quot;A calclulation in the form has not been completed.&amp;nbsp; The number of calculations used for a single action exceeded the maximum limit.&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This does not prevent the text from being converted to CAPS but the error message is quite annoying.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp; -Don&lt;/p&gt;</description></item></channel></rss>