<?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: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/76044.aspx</link><pubDate>Fri, 02 Mar 2012 22:37:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76044</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76044</wfw:commentRss><description>&lt;p&gt;So, your initial serial number you listed wasn&amp;#39;t 0 padded - you will have some additional work to handle for that - you can use substring-after to get the number portion after &amp;quot;SN&amp;quot;, and concat to add it back on - if you search the forum, there may be some formulas you can try for that 0 padding.&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/76028.aspx</link><pubDate>Fri, 02 Mar 2012 18:13:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76028</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76028.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76028</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ok I believe i have the logic down its the execution I need help with. &lt;/p&gt;
&lt;p&gt;I assume&amp;nbsp;I start with a rule that requires the data.&amp;nbsp; I am assuming the SPlist data source that holds the Serial number field Right? &lt;/p&gt;
&lt;p&gt;Then create a&amp;nbsp;Rule that takes that That &amp;quot;SN00001&amp;quot; breaks it up and adds one and re-adds SN&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75960.aspx</link><pubDate>Thu, 01 Mar 2012 15:44:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75960</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75960</wfw:commentRss><description>&lt;p&gt;Safest is to requery the list right before - you have to get the latest data to make sure you have the latest numbers.&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75864.aspx</link><pubDate>Wed, 29 Feb 2012 18:02:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75864</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75864.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75864</wfw:commentRss><description>&lt;p&gt;My frist question can i create a rule that looks at the SPlist or do i need to create a data connection then have it requery everytime the button is pressed?&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75828.aspx</link><pubDate>Wed, 29 Feb 2012 01:28:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75828</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75828.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75828</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;"&gt;Yup I understand but, there will always be only one person assigning&amp;nbsp;serial numbers. Right now they way we handle it is passing around an excel spread sheet from folder to folder.&amp;nbsp; I&amp;#39;d be surprise if more than one person is the at one moment in time.&amp;nbsp; I will never be worried about this unless we hire other quality person til then I am not concerned. &lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75826.aspx</link><pubDate>Wed, 29 Feb 2012 01:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75826</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75826</wfw:commentRss><description>&lt;p&gt;Sure - I mean in theory that sounds fine. If the form is in heavy use, with lots of users, you still run the risk of overlap. So, on the click of your button, you&amp;#39;d need to query to get the highest serial number - as Ernesto points out, these aren&amp;#39;t really numbers, so how will you do that? That would be the first issue. Then, you can, as E. mentions, use some substring functions to get the number portion of that string and increment it, then concat things back together (add the &amp;quot;SN&amp;quot; back on).&lt;/p&gt;
&lt;p&gt;What kind of traffic do you anticipate for this form?&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75767.aspx</link><pubDate>Mon, 27 Feb 2012 21:14:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75767</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75767</wfw:commentRss><description>&lt;p&gt;To explain it better, when I create my form, my repeating table&amp;nbsp;it is populated from a SPlist which in turn can be edited&amp;nbsp;and updated using &amp;nbsp;qRules command Updatesharepointlist upon save.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What if I had qRules Look at my list check for the last number, creates it +1 then updatesharepoint list. &lt;/p&gt;
&lt;p&gt;So when the next button is pressed it dose the exact same thing but the list will already be updated so it will grab the next number?&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75765.aspx</link><pubDate>Mon, 27 Feb 2012 20:48:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75765</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75765</wfw:commentRss><description>&lt;p&gt;Very good points.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;As&amp;nbsp;I have it set up right now Serial field&amp;nbsp;is in my main repeating table that is linked to My list via qRules.&amp;nbsp; Cant i make it so When they hit # it looks at the list, concats number, and updates my list right away so when the next # is hit it gets the right one? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am never worried about (c) only one person will ever be assigning serials &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75762.aspx</link><pubDate>Mon, 27 Feb 2012 20:12:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75762</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75762</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I don&amp;#39;t think there&amp;#39;s anything that qRules can do to help you. Unfortunately, it&amp;#39;s a tricky scenario. For example:&lt;/p&gt;&lt;p&gt;(a)&amp;nbsp; If I click the # button for the first line item, its serial number will be SN1203001, right? And if I click the second line item, the serial number will be the same, because the form is checking the Sharepoint list and not the item right above it in the form, correct?&lt;/p&gt;&lt;p&gt;(b) You&amp;#39;ll have to parse the serial number because InfoPath cannot handle&amp;nbsp; SN1203000 + 1. So you&amp;#39;ll need something like concat(&amp;quot;SN&amp;quot;, 1203000 + 1).&lt;/p&gt;&lt;p&gt;(c) What if two users open the form, and then both click the # button. When they submit, you&amp;#39;ll end up with two line items with identical serial numbers.&lt;/p&gt;&lt;p&gt;Anyway, again, I&amp;#39;m sorry but I don&amp;#39;t think qRules can help in this case. I&amp;#39;m sorry that the above probably doesn&amp;#39;t help; just some things to think about.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Creating Incrementing Serial Number Button</title><link>https://www.infopathdev.com:443/forums/thread/75760.aspx</link><pubDate>Mon, 27 Feb 2012 20:04:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75760</guid><dc:creator>Glebron</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75760.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75760</wfw:commentRss><description>&lt;p&gt;Wondering if qRules can handle this or something Info path can just do.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I pull my line Items from from my SPList I get a couple of blank fields that the User has to populate as expected.&amp;nbsp; One being&amp;nbsp;a serial Number, Now i don&amp;#39;t want it just to auto fill I needed the User to be able to manually populate the serial for each line so&amp;nbsp;I added a button in my repeating table.&amp;nbsp;The user will only populate Serial for orders that will processed for a partial then they can add the rest when the order will be completely filled. So i need the button to take the next number from the List not the form.&lt;/p&gt;
&lt;p&gt;Right now our current Serial number is&amp;nbsp; SN1203000&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>