<?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: Data Connection File Name String</title><link>https://www.infopathdev.com:443/forums/thread/75957.aspx</link><pubDate>Thu, 01 Mar 2012 14:53:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75957</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=75957</wfw:commentRss><description>Just inserting the people picker into a blank form, this is the formula you should use: concat(my:group/pc:Person/pc:DisplayName, count(my:group/pc:Person/pc:DisplayName)).&amp;nbsp; Not sure why its saying a number is required.</description></item><item><title>Re: Data Connection File Name String</title><link>https://www.infopathdev.com:443/forums/thread/75951.aspx</link><pubDate>Thu, 01 Mar 2012 13:20:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75951</guid><dc:creator>Adam Gullion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=75951</wfw:commentRss><description>&lt;p&gt;Anson, Thanks for the sugesstion.&amp;nbsp; When I try that&amp;nbsp;I get a error&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A number is required.&lt;br /&gt;concat(my:ContactSelector/my:Person/my:DisplayName ---&amp;gt;,&amp;lt;-- count(my:ContactSelector/my:Person/my:DisplayName))&lt;/p&gt;</description></item><item><title>Re: Data Connection File Name String</title><link>https://www.infopathdev.com:443/forums/thread/75904.aspx</link><pubDate>Wed, 29 Feb 2012 21:47:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75904</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75904.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=75904</wfw:commentRss><description>Remove the quotes around your xpath and the dash at the end.&amp;nbsp; Then try again and see if that works.</description></item><item><title>Data Connection File Name String</title><link>https://www.infopathdev.com:443/forums/thread/75886.aspx</link><pubDate>Wed, 29 Feb 2012 19:37:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75886</guid><dc:creator>Adam Gullion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=75886</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I am using InfoPath 2007 connection to 2010 SharePoint.&amp;nbsp;I am trying to create a unique file name each and every time someone files it out without using the Now function to keep it clean and neat.&amp;nbsp; I do not want to overwrite existing records due to the nature of the form.&amp;nbsp;I was trying to use a concat string to include the contact selector DisplayName and Count Function for DisplayName however is does not display as I intended.&amp;nbsp; See example below.&amp;nbsp; &lt;/span&gt;
&lt;p&gt;&amp;nbsp;I tried entering &lt;em&gt;&lt;strong&gt;concat(&amp;quot;&lt;u&gt;DisplayName&lt;/u&gt; -&amp;quot;, count(&lt;u&gt;DisplayName&lt;/u&gt;))&lt;/strong&gt;&lt;/em&gt; when I click OK&amp;nbsp;it displays: &lt;strong&gt;&lt;em&gt;concat(&amp;quot;my:ContactSelector/my:Person/my:DisplayName -&amp;quot;, count(DisplayName))&lt;/em&gt;&lt;/strong&gt; and when form is submitted &amp;nbsp;displays as &lt;strong&gt;&lt;em&gt;my_ContactSelector_my_Person_my_DisplayName -1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I just want it to display as &lt;strong&gt;&lt;em&gt;Gullion Adam 1&lt;/em&gt;&lt;/strong&gt; the first time i enter the form and &lt;strong&gt;&lt;em&gt;Gullion Adam 2&lt;/em&gt;&lt;/strong&gt; then next time etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;</description></item></channel></rss>