<?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: Guaranteeing a unique file name that can be updated</title><link>https://www.infopathdev.com:443/forums/thread/36168.aspx</link><pubDate>Tue, 23 Dec 2008 03:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36168</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36168</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the projectname concatenated with the now() function. &amp;nbsp;Now() function gives the current date with time. Also store this value in to a variable called file name and submit the form with this field as the file name and set the file name value only when that field is empty so that when the user updates the record then also it will submit with the actual file name not as a new record.&lt;/p&gt;</description></item><item><title>Guaranteeing a unique file name that can be updated</title><link>https://www.infopathdev.com:443/forums/thread/36159.aspx</link><pubDate>Mon, 22 Dec 2008 19:54:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36159</guid><dc:creator>KarenSL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=36159</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m very new to Infopath and I can&amp;#39;t seem to find any step-by-step instructions for newbies to learn correctly so bear with me b&amp;#39;c I&amp;#39;ve probably missed a critical piece.&amp;nbsp; I have a form that submits a new entry to a Sharepoint form library, works as expected.&amp;nbsp; I have a view on this same form that is read-only so the entry can be reviewed.&amp;nbsp; Now what I need is the ability to update&amp;nbsp;an entry.&amp;nbsp; I&amp;#39;m assuming that my problem is finding a unique file name that&amp;#39;s not&amp;nbsp;already used&amp;nbsp;and won&amp;#39;t generate a 2nd entry&amp;nbsp;when updating the record.&amp;nbsp; Originally I planned to use the project name plus the date for my filename, however if they update the entry on a different date then it generates a new entry, so using the date in my file name is out.&amp;nbsp; Then I thought I&amp;#39;d use just the project name, but there&amp;#39;s the potential for duplicate entries as more users add items.&amp;nbsp; Everything else in the form should have the ability to be updated (requestor, phone number, sponsor name, summary of project) so none of them can be used because of it creating a new record when updated.&amp;nbsp; I&amp;#39;ve also put in a number generator, but on the submit it just generates a new number with a new entry.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What am I missing here?&amp;nbsp; What do I need to do to be able to update an entry?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The technical details: Infopath 2007, Sharepoint 2007&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Karen.&lt;/p&gt;</description></item></channel></rss>