<?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: formulas</title><link>https://www.infopathdev.com:443/forums/thread/90698.aspx</link><pubDate>Fri, 14 Jun 2013 15:50:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90698</guid><dc:creator>agorman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90698</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Wow, Thank you for that quick response. I will have a play with this to understand it better - I follow the substring part, but the 2nd line will take a bit of work to comprehend (or maybe not)&lt;/p&gt;&lt;p&gt;Thank you for the help&lt;/p&gt;&lt;p&gt;A&lt;/p&gt;</description></item><item><title>Re: formulas</title><link>https://www.infopathdev.com:443/forums/thread/90693.aspx</link><pubDate>Fri, 14 Jun 2013 09:28:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90693</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90693.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90693</wfw:commentRss><description>&lt;p&gt;You &amp;#39;ll need some helper columns I think for this so that you understand what is going on.&lt;/p&gt;&lt;p&gt;I have a Surname Field&lt;br /&gt;A data field called ExField&lt;br /&gt;A current time field&lt;/p&gt;&lt;p&gt;Break it down into pieces so that you learn and understand how to get what you need.&lt;/p&gt;&lt;p&gt;Field UserName 2 - to show the first 2 letters of a surname - default value -&amp;nbsp; substring(Surname, 1, 2)&lt;br /&gt;Field TTime - to show the now () function with no spaces or T - translate(substring-after(now(), &amp;quot;T&amp;quot;), &amp;quot;:&amp;quot;, &amp;quot;&amp;quot;)&lt;/p&gt;&lt;p&gt;put it all together in another field ie RefNumber - concat(substring(Surname, 1, 3), ExtField, TTime)&lt;/p&gt;&lt;p&gt;I can&amp;#39;t get the last letter of a surname (yet). Substring functions in InfoPath rely on you telling the forms how many characters are in a word. Obviously surnames are of different lengths. You could, if this is in SharePoint add a calculated column and it could give you the last letter using and excel function.&lt;/p&gt;</description></item><item><title>formulas</title><link>https://www.infopathdev.com:443/forums/thread/90682.aspx</link><pubDate>Thu, 13 Jun 2013 21:59:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90682</guid><dc:creator>agorman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90682.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90682</wfw:commentRss><description>I am very new to InfoPath and am trying to understand the FX functions. 

I have a field that want to propagate with a a reference code made up of:  the first, second and last letter of the users surname,  plus first 3 letters of the data from another field, plus the current time.

For example,  if the surname was Williams, and the other field I want to use had the data &amp;#39;BASIC&amp;#39; in it, and the time was 09:23 ,  - then the result would look like this WISBAS0923 - is this possible to do.

I have tried different variations in the formula section but without success.

Thanks

Angie</description></item></channel></rss>