<?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>Combining Concat and Substring</title><link>https://www.infopathdev.com:443/forums/thread/97116.aspx</link><pubDate>Wed, 23 Apr 2014 18:07:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97116</guid><dc:creator>tjb105</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=97116</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to do something similar.&amp;nbsp; I would like to get the result of First Initial of Last name combined with a seperate field of last 4.&amp;nbsp; This is the fomula I am using:&amp;nbsp; concat(substring(@PATIENT_LAST_NAME), 1, 1) @Last_4_of_Patient_SSN&lt;/p&gt;&lt;p&gt;&amp;nbsp;This is the error I receive:&lt;/p&gt;&lt;p&gt;Expected value type: end-of-string&lt;/p&gt;&lt;p&gt;Actual value: ..&lt;br /&gt;concat(substring(&lt;a href="mailto:../@PATIENT_LAST_NAME"&gt;../@PATIENT_LAST_NAME&lt;/a&gt;), 1, 1) --&amp;gt;..&amp;lt;&lt;a href="mailto:--/@Last_4_of_Patient_SSN"&gt;--/@Last_4_of_Patient_SSN&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74532.aspx</link><pubDate>Wed, 25 Jan 2012 06:21:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74532</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74532</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re welcome, glad it worked!&lt;/p&gt;</description></item><item><title>Re: First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74469.aspx</link><pubDate>Tue, 24 Jan 2012 13:39:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74469</guid><dc:creator>bfry24</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74469.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74469</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks again Jo Ann, that was the solution I was looking for.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74453.aspx</link><pubDate>Tue, 24 Jan 2012 07:32:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74453</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74453</wfw:commentRss><description>&lt;p&gt;Try this: translate(concat(substring(&lt;u&gt;FirstName&lt;/u&gt;, 1, 1), &lt;u&gt;LastName&lt;/u&gt;), &amp;quot;ABCDEFGHIJKLMONPQRSTUVWXYZ&amp;quot;, &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;).&lt;/p&gt;
&lt;p&gt;Hope that works! =)&lt;/p&gt;</description></item><item><title>Re: First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74448.aspx</link><pubDate>Tue, 24 Jan 2012 05:28:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74448</guid><dc:creator>bfry24</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74448.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74448</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Jo Ann, thank you very much for the assistance as that did work.&lt;/p&gt;&lt;p&gt;The only question is how can I get the result all in lower case. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is what I tried but does not work: &amp;nbsp;&lt;/p&gt;&lt;p&gt;concat(translate(substring(firstName, 1, 1 ),&amp;nbsp; “abcdefghijklmnopqrstuvwyxz” ,“ABCDEFGHIJKLMNOPQRSTUVWYXZ”)), translate(substring(lastName, “abcdefghijklmnopqrstuvwyxz” ,“ABCDEFGHIJKLMNOPQRSTUVWYXZ”, ))&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74444.aspx</link><pubDate>Tue, 24 Jan 2012 03:17:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74444</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74444</wfw:commentRss><description>&lt;p&gt;Hi and welcome to InfoPathDev forums!&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll need to use substring to get the first letter in the FirstName&amp;nbsp;and then combine the result to the value of your LastName using concat, something like: concat(substring(&lt;u&gt;FirstName&lt;/u&gt;, 1, 1), &lt;u&gt;LastName&lt;/u&gt;)&lt;/p&gt;</description></item><item><title>First Initial Last Name</title><link>https://www.infopathdev.com:443/forums/thread/74438.aspx</link><pubDate>Tue, 24 Jan 2012 00:12:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74438</guid><dc:creator>bfry24</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74438</wfw:commentRss><description>&lt;p&gt;I am very new to using InfoPath and using formulas.&amp;nbsp; Is there any tutorials on formulas in InfoPath?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I want to create a formula that will take the first letter in the firstName field and merge it with the entire lastName field, all in lower case.&lt;/p&gt;&lt;p&gt;Can anyone help with this? &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>