<?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 Webinars</title><link>https://www.infopathdev.com:443/forums/197.aspx</link><description>Questions about webinar videos or downloads? Ask them here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Trouble with SubmitForm (Webinar 2017-08-31 PowerApps)</title><link>https://www.infopathdev.com:443/forums/thread/119573.aspx</link><pubDate>Tue, 07 Aug 2018 08:35:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119573</guid><dc:creator>chriscain</dc:creator><slash:comments>8</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=197&amp;PostID=119573</wfw:commentRss><description>Link to webinar here: https://www.youtube.com/watch?v=drewttus35Q
&lt;br /&gt;
&lt;br /&gt;
Hi, this is a question for @Hilary Stoupa, but if anyone has a solution I would greatly appreciate some feedback! I&amp;#39;ve been following the parent/child webinar quite closely to set up a enquiry/quote app for our sales team. An enquiry is logged, and quotes are made against those enquiries as they come in. Everything runs from SharePoint lists. Everything works wonderfully except for a couple of key things:
&lt;br /&gt;
&lt;br /&gt;
1: When submitting an enquiry (parent) without any quotes (children) the app will fail to fall back to the detailscreen, instead saving data and staying in the editscreen. This doesn&amp;#39;t happen if there is a child attached. This isn&amp;#39;t game-breaking exactly, but I can see it being a nuisance in future and would like to figure it out before I release this into the wild.
&lt;br /&gt;
&lt;br /&gt;
Formula for the confirm button is: &lt;br /&gt;
Set(SubmitDateTime, Now());SubmitForm(EditForm1);If(CountRows(Filter(QuoteCollection, SAR_ID = 0)) &amp;gt; 0, UpdateIf(QuoteCollection, !IsEmpty(EditForm1.LastSubmit.ID), {SAR_ID: EditForm1.LastSubmit.ID})); Patch(&amp;#39;Sales Quotes&amp;#39;, QuoteCollection); Clear(QuoteCollection); If(EditForm1.Mode= New, Navigate(BrowseScreen1, ScreenTransition.None), Navigate(DetailScreen1, ScreenTransition.None))
&lt;br /&gt;
&lt;br /&gt;
It may be worth noting that after attempting to submit a form with no quotes, the Patch(&amp;#39;Sales Quotes&amp;#39;, QuoteCollection) section underlines red with the error &amp;quot;Modified: The specified column is read-only and can&amp;#39;t be modified&amp;quot;.

&lt;br /&gt;
&lt;br /&gt;
2. This is a little more damaging. Adding quotes (children) is fine and dandy, works a treat. Unfortunately, if I edit a quote and submit that, rather than editing the quote it will create a new one, leaving the &amp;quot;edited&amp;quot; child in there.
&lt;br /&gt;
&lt;br /&gt;
The formula for the submit button on the EditQuote screen is: &lt;br /&gt;
Collect(QuoteCollection, EditForm2.Updates); ResetForm(EditForm2);Navigate(EditScreen1, ScreenTransition.None)

&lt;br /&gt;
&lt;br /&gt;
I am a huge fan of your video webinars and have learnt a great deal from them, thank you very much for making them. 

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kind regards&lt;br /&gt;
Chris</description></item></channel></rss>