<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Help needed on dual approval workflow Thanks.</title><link>https://www.infopathdev.com:443/forums/thread/47592.aspx</link><pubDate>Mon, 05 Oct 2009 13:03:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47592</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47592</wfw:commentRss><description>Anyone have any thoughts on my post?&amp;nbsp; I would appreciate anything.&amp;nbsp;Thanks.</description></item><item><title>Help needed on dual approval workflow Thanks.</title><link>https://www.infopathdev.com:443/forums/thread/47552.aspx</link><pubDate>Fri, 02 Oct 2009 17:14:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47552</guid><dc:creator>ZaiZai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47552</wfw:commentRss><description>&lt;b&gt;&lt;font size="2"&gt;
&lt;p&gt;Can anyone help with this issue???? If you need clarification, please ask and I will try to provide more details.&lt;/p&gt;
&lt;p&gt;IP 2003&lt;/p&gt;
&lt;p&gt;SQL Server 2005&lt;/p&gt;
&lt;p&gt;Workflow: Invoice tracking system with dual approvals.&lt;/p&gt;
&lt;p&gt;Problem: One set of approval buttons works fine. The other doesn&amp;#39;t.&lt;/p&gt;&lt;/b&gt;
&lt;p&gt;Error: &lt;/p&gt;
&lt;p&gt;InfoPath cannot submit the form.&lt;/p&gt;
&lt;p&gt;An error occurred while the form was being submitted.&lt;/p&gt;
&lt;p&gt;[0x80040E38][Microsoft Cursor Engine] Row cannot be located for updating. Some values may have been changed since it was last read.&lt;/p&gt;&lt;b&gt;
&lt;p&gt;Overview of flow:&lt;/p&gt;&lt;/b&gt;
&lt;p&gt;User enters invoice details via a separate input form which works fine.&lt;/p&gt;
&lt;p&gt;A second form allows a user to view all invoices after running a simple query like &amp;quot;New&amp;quot; invoices. The results are in a Master Detail setup.&lt;/p&gt;
&lt;p&gt;Everything works nicely.&lt;/p&gt;
&lt;p&gt;When a user selects one record in the master view they have the detail view display below. The detail part has 2 send buttons. &lt;/p&gt;
&lt;p&gt;One button updates a few SQL fields/flags a non-SQL field called &amp;quot;formstatus&amp;quot; to &lt;u&gt;admin&lt;/u&gt;/submits to main connection in SQL/Sends form via a data connection (Email with attachment) to person.&lt;/p&gt;
&lt;p&gt;Another button follows the same as the button just above but with minor differences in values. Like the &amp;quot;formstatus&amp;quot; is equaled to &lt;u&gt;case&lt;/u&gt; instead.&lt;/p&gt;
&lt;p&gt;Both buttons fills a non SQL field called &amp;quot;Get&amp;quot; with the SQL Primary Key Number. &lt;/p&gt;
&lt;p&gt;Everything works nicely still.&lt;/p&gt;
&lt;p&gt;The recipients open the attachment. Depending on the person, the form switches to another view.&lt;/p&gt;
&lt;p&gt;This view has one main repeating section relating to the main data connection (SQL). The repeating sections filters to the appropriate record by using the value in the filed &amp;quot;Get&amp;quot;. &lt;/p&gt;
&lt;p&gt;Everything works nicely.&lt;/p&gt;
&lt;p&gt;Within this repeating section in this separate view, there are sections that have conditions set to display differently depending on the value set in &amp;quot;formstatus&amp;quot;.&lt;/p&gt;
&lt;p&gt;Everything works nicely.&lt;/p&gt;
&lt;p&gt;Within these sections are buttons called &amp;quot;Approve&amp;quot; and &amp;quot;Reject&amp;quot;. Both buttons fill in a few fields/ connects to the main data connection/ then emails without attachment.&lt;/p&gt;
&lt;p&gt;If &amp;quot;formstatus&amp;quot; = &amp;quot;case&amp;quot;: Everything works just fine. The person can click either buttons with issues and the email is sent.&lt;/p&gt;&lt;b&gt;&lt;u&gt;
&lt;p&gt;If &amp;quot;formstatus&amp;quot; = &amp;quot;admin&amp;quot;: the first click of either buttons generates the error&lt;/p&gt;&lt;/b&gt;&lt;/u&gt;
&lt;p&gt;InfoPath cannot submit the form.&lt;/p&gt;
&lt;p&gt;An error occurred while the form was being submitted.&lt;/p&gt;
&lt;p&gt;[0x80040E38][Microsoft Cursor Engine] Row cannot be located for updating. Some values may have been changed since it was last read.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;During testing, I was both the &amp;quot;admin&amp;quot; and &amp;quot;case&amp;quot; recipients so I received both emails. It doesn&amp;#39;t matter in which order I open these two attachments. The &amp;quot;admin&amp;quot; buttons always generates this error it seems. The &amp;quot;case&amp;quot; set of buttons are fine. &lt;/p&gt;&lt;b&gt;&lt;u&gt;
&lt;p&gt;Question:&lt;/p&gt;&lt;/b&gt;&lt;/u&gt;
&lt;p&gt;Why does this error happen for one set of buttons and not the other when both buttons are for the same record? &lt;/p&gt;
&lt;p&gt;Is there a method to follow when using master/detail and repeating sections in a workflow that consists of more than one approvers? &lt;/p&gt;&lt;b&gt;&lt;u&gt;
&lt;p&gt;Additional Information and Question:&lt;/p&gt;&lt;/b&gt;&lt;/u&gt;
&lt;p&gt;I was able to make both set of buttons work, but it created another problem. On open, these two attachments were ruled to set a query field &amp;quot;InvoiceID&amp;quot; to the value in the field &amp;quot;Get&amp;quot;, then query against the main data connection, then open to the view. My hope was that it would refresh things so that the error didn&amp;#39;t happen. &lt;/p&gt;
&lt;p&gt;The result: Both buttons work nicely. BUT, the view and the repeating section in that view which is running on a filter of the &amp;quot;Get&amp;quot; value doesn&amp;#39;t always display! Very strange. It displays some times and when it does, the buttons work nicely. The other times, the view is blank! &lt;/p&gt;
&lt;p&gt;This method of refreshing the connection each time a form is opened to a main data connection has worked, but in this situation it doesn&amp;#39;t always. &lt;/p&gt;
&lt;p&gt;My thought is that the issue may be in the repeating section when this method is used. My previous attempts with this method were on standard sections not repeating.&lt;/p&gt;
&lt;p&gt;If anyone knows what I doing wrong here, please let me know.&lt;u&gt;&lt;/p&gt;&lt;/u&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>