<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95933.aspx</link><pubDate>Sun, 16 Feb 2014 07:38:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95933</guid><dc:creator>zaca011</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95933</wfw:commentRss><description>Sorry for late reply. It&amp;#39;s work .Thanks.</description></item><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95681.aspx</link><pubDate>Wed, 05 Feb 2014 12:19:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95681</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95681</wfw:commentRss><description>&lt;p&gt;I see. May&amp;nbsp;I know how you are specifying which document to update? or is this already fixed by setting each submit to a File Name - where File Name is equivalent to the previous month? If so, you may use the formula:&lt;/p&gt;
&lt;p&gt;substring(addDays(today(), -30), 1, 7)&lt;/p&gt;</description></item><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95680.aspx</link><pubDate>Wed, 05 Feb 2014 10:15:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95680</guid><dc:creator>zaca011</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95680</wfw:commentRss><description>thanks but  that won&amp;#39;t solve my problem , form should be completed at the beginning of the month for the previous month and saved with the title last month</description></item><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95659.aspx</link><pubDate>Tue, 04 Feb 2014 16:02:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95659</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95659</wfw:commentRss><description>&lt;p&gt;The substring function returns a specific part of a text string. The first argument defines the text string, the second argument defines the starting position, and the third argument defines how many characters to include.&lt;/p&gt;
&lt;p&gt;So if the function &lt;strong&gt;today() &lt;/strong&gt;returns a value of 2014-02-04, the value for substring(&lt;strong&gt;today()&lt;/strong&gt;, 0,8) now will be: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2014-02&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Where 0 is the starting position, and 8 displays the number of characters. The formula is also equal to substring(&lt;strong&gt;today()&lt;/strong&gt;, 1,7) since 0 does not really exist. &lt;/p&gt;
&lt;p&gt;Going back to the issue, the problem here is specifying the file name at the submit data connection wizard. So using a &lt;strong&gt;field&lt;/strong&gt; from your form which generates the file name&amp;nbsp;instead of the formula substring(&lt;strong&gt;today()&lt;/strong&gt;, 0,8) should enable you to specify which ever file name you desire.&lt;/p&gt;
&lt;p&gt;After configuring this set-up, drag the &lt;strong&gt;field&lt;/strong&gt; on to your canvas. Preview your form, enter the desired file name, update and submit your form. Hope this helps.&lt;/p&gt;</description></item><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95657.aspx</link><pubDate>Tue, 04 Feb 2014 14:43:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95657</guid><dc:creator>zaca011</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95657.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95657</wfw:commentRss><description>thanks for reply.

I don&amp;#39;t understand what will return substring(field1, 0,8)</description></item><item><title>Re: infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95609.aspx</link><pubDate>Sun, 02 Feb 2014 22:22:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95609</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95609.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95609</wfw:commentRss><description>&lt;p&gt;Hi zaca011,&lt;/p&gt;
&lt;p&gt;If you are using &lt;strong&gt;today() &lt;/strong&gt;in your formula, then it would return the date today. What you may need to do here is to substitute &lt;strong&gt;today() &lt;/strong&gt;with a field where it will specify the file name of which ever document you wish to update. Your formula should look similar to this:&lt;/p&gt;
&lt;p&gt;substring(&lt;u&gt;&lt;strong&gt;field1&lt;/strong&gt;&lt;/u&gt;, 0, 8)&lt;/p&gt;
&lt;p&gt;I suggest using another control such as a drop-down list whihc first queries the data in order for you to specify the document, thus making your form a lot more dynamic. Hope this helps.&lt;/p&gt;</description></item><item><title>infopath save filename like last month</title><link>https://www.infopathdev.com:443/forums/thread/95527.aspx</link><pubDate>Thu, 30 Jan 2014 14:59:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95527</guid><dc:creator>zaca011</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=95527</wfw:commentRss><description>I&amp;#39;m trying to save a document under the name of the previous month, 
in submit coonnection for file name I set : substring(today(); 0; 8)  ,  but with this command file has a name 2014-01 , and I need to be called 2014-00
Does anyone know how I pulled this off?</description></item></channel></rss>