<?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: Formula Help: Substring/Translate</title><link>https://www.infopathdev.com:443/forums/thread/41938.aspx</link><pubDate>Thu, 21 May 2009 19:33:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41938</guid><dc:creator>richardlpalmer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41938</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s super helpful. Thank you very much. :)&lt;/p&gt;
&lt;p&gt;(Looks like it doesn&amp;#39;t install, runs as a stand alone .exe. I think I&amp;#39;ll pin it to my Quck Launch.)&lt;/p&gt;</description></item><item><title>Re: Formula Help: Substring/Translate</title><link>https://www.infopathdev.com:443/forums/thread/41935.aspx</link><pubDate>Thu, 21 May 2009 18:17:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41935</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41935</wfw:commentRss><description>&lt;p&gt;May I suggest a notepad replacement that has parenthetical matching? &lt;a href="http://www.flos-freeware.ch/zip/notepad2.zip"&gt;Notepad 2&lt;/a&gt; (link is to zip) is a great text editor. If you copy a formula into it, and click by a parenthesis, the match highlights in red. Unmatched are highlighted in blue. It can simplify this type of issue for me, at least...&lt;/p&gt;</description></item><item><title>Re: Formula Help: Substring/Translate</title><link>https://www.infopathdev.com:443/forums/thread/41933.aspx</link><pubDate>Thu, 21 May 2009 18:04:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41933</guid><dc:creator>richardlpalmer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41933</wfw:commentRss><description>&lt;p&gt;Okay, this is the 2nd thread I&amp;#39;ve started only to find my own problem. I apologize for those of you trying to help only to have me figure out my own bone-headed mistake.&lt;/p&gt;
&lt;p&gt;The problem with the formula is an additional end parenthesis after the &amp;quot;T&amp;quot;. &lt;/p&gt;
&lt;p&gt;So this;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;substring-after(translate(@ows_NextReleaseDate[@ows_OfferingID = Offering_x0020_ID], &amp;quot; &amp;quot;, &amp;quot;T&amp;quot;)),&amp;quot;#&amp;quot;)&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Should be this;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;substring-after(translate(@ows_NextReleaseDate[@ows_OfferingID = Offering_x0020_ID], &amp;quot; &amp;quot;, &amp;quot;T&amp;quot;),&amp;quot;#&amp;quot;)&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Problem solved and the date(s) are now displaying perfectly.&lt;/p&gt;</description></item><item><title>Formula Help: Substring/Translate</title><link>https://www.infopathdev.com:443/forums/thread/41931.aspx</link><pubDate>Thu, 21 May 2009 17:56:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41931</guid><dc:creator>richardlpalmer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=41931</wfw:commentRss><description>&lt;p&gt;I have an existing form that I&amp;#39;m modifying due to some internal business process changes. One of the fields displays a filtered date which uses the &amp;quot;translate&amp;quot; function. It essentially displays the date minus the &amp;quot;T&amp;quot; and h:m:s after it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;translate(@ows_NextReleaseDate[@ows_OfferingID = Offering_x0020_ID], &amp;quot; &amp;quot;, &amp;quot;T&amp;quot;)&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The column that will now be providing the date is from a calculated field. This is what a date looks like: &lt;strong&gt;datetime;#2009-07-01 00:00:00&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;What I&amp;#39;ve attempted to do is use the &amp;quot;substring-after&amp;quot; function to get rid of the &amp;quot;datetime:#&amp;quot; portion, while leaving the translate function to get an accurate date.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;substring-after(translate(@ows_NextReleaseDate[@ows_OfferingID = Offering_x0020_ID], &amp;quot; &amp;quot;, &amp;quot;T&amp;quot;)),&amp;quot;#&amp;quot;)&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I keep getting an error... :(&lt;/p&gt;
&lt;p&gt;Any help on sorting it out?&lt;/p&gt;</description></item></channel></rss>