<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Auto number on submit (2 document libraries)</title><link>https://www.infopathdev.com:443/forums/thread/76637.aspx</link><pubDate>Tue, 20 Mar 2012 15:57:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76637</guid><dc:creator>stgiesbrecht</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76637.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76637</wfw:commentRss><description>Thanks for the suggestions.&amp;nbsp; I am currently trying it out with the GenerateGuid command and it looks as though it will work well.&amp;nbsp; Just have to train the users that the numbers mean nothing other than a unique id rather than wanting a simple sequential numbering sequence.</description></item><item><title>Re: Auto number on submit (2 document libraries)</title><link>https://www.infopathdev.com:443/forums/thread/76612.aspx</link><pubDate>Tue, 20 Mar 2012 11:10:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76612</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76612</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.infopathdev.com/files/folders/qrules/entry61704.aspx"&gt;Here &lt;/a&gt;is a document on using qRules to generate unique filenames.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Auto number on submit (2 document libraries)</title><link>https://www.infopathdev.com:443/forums/thread/76604.aspx</link><pubDate>Tue, 20 Mar 2012 00:10:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76604</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76604</wfw:commentRss><description>&lt;p&gt;I agree with Ernesto that this doesn&amp;#39;t seem like something qRules could help with - but logically, couldn&amp;#39;t you compare the max of the ID in the two libraries, and then increment the highest by 1?&lt;/p&gt;
&lt;p&gt;That is, create a data connection to each library, and have two rules - one with a condition that max ID in Library 1 is higher than max ID in Library 2 - if that condition is true, you&amp;#39;d use the max from Library 1 + 1 for your new ID. If that condition is false (in other words, if max ID in Library 2 is higher than Library 1) you&amp;#39;d use the max from Library 2 +1.... make sense?&lt;/p&gt;
&lt;p&gt;I have to add, just for the sake of completeness, that there are risks in this approach (getting a max and incrementing by 1) - even if you query the data sources right before you submit, there is always a non-zero chance you could have two forms with the same ID. qRules has a GenerateGuid command - if you used GUIDs, you could be confident of uniqueness and you wouldn&amp;#39;t have to all this.&lt;/p&gt;</description></item><item><title>Re: Auto number on submit (2 document libraries)</title><link>https://www.infopathdev.com:443/forums/thread/76603.aspx</link><pubDate>Mon, 19 Mar 2012 23:37:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76603</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76603</wfw:commentRss><description>&lt;p&gt;Hi Scott-&lt;/p&gt;&lt;p&gt;Which command were you thinking about within qRules?&lt;/p&gt;&lt;p&gt;I can&amp;#39;t think of a qRules command that will accomplish this, but let me know what you were thinking to see if it&amp;#39;s possible.&lt;/p&gt;&lt;p&gt;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Auto number on submit (2 document libraries)</title><link>https://www.infopathdev.com:443/forums/thread/76599.aspx</link><pubDate>Mon, 19 Mar 2012 22:00:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76599</guid><dc:creator>stgiesbrecht</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76599.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76599</wfw:commentRss><description>&lt;p&gt;I am looking for a way to generate a sequential number for a form when I submit it.&amp;nbsp; I can do it on a single document library with a receive&amp;nbsp;data connection and taking the max(id) and then using that as the file name.&amp;nbsp; The problem is that I have two document libraries.&amp;nbsp; I create the new documents in library 1 and then when the status changes, I need to submit the ddocument to library 2 and delete it from library 1 (so that only specific users are able to edit it).&amp;nbsp; I then delete the document from library 1 using qRules.&amp;nbsp; If I then create a new document in library 1, it is using the next document id, which now is in library 2, so I end up with the same number.&amp;nbsp; I would like create the new document with the next highest number based on the max number in library&amp;nbsp;1 and library 2.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas on how to accomplish this in the easiest way?&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Scott&lt;/p&gt;</description></item></channel></rss>