Parent child list form video - InfoPath Dev
in

InfoPath Dev

Parent child list form video

Last post 11-04-2014 03:31 PM by JenniferLindsay. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-11-2014 08:34 PM

    • teylyn
    • Top 500 Contributor
    • Joined on 03-29-2012
    • Taranaki, New Zealand
    • Posts 49

    Parent child list form video

     Hi, I've watched Jennifer's video about Parent-Child list forms on youtube https://www.youtube.com/watch?v=H09KGvd3vZw with great interest and re-created the lists and forms on my system. One issue, though:

     At 21:55 we can see an error. I also get this error when I try to add a new item, and I think I found the reason.  The error only comes up if the main data source has already been populated. So, if you open the form and click "New item" right away, everything works fine. The form is in "new item mode". If you open the form, edit one item, and THEN click New item, it will fail, since the main data source contains the previously edited item and the form is now in "edit item mode". Blanking out the ID will not be sufficient to start a new item. Instead, the Submit will attempt to change the existing item. Trying to submit an existing item with a blanked ID is the cause of the error.  The error also happens when you open the form, create a new item and then create another new item.

    Are my assumptions about the cause of this error correct?  Do you see the same thing?

    How can we clear the main data source after editing an existing item, so we can truly create a new one?  If that won't work, the whole approach will fall flat, since users will want to add new items after editing existing ones. Or add several new items without closing the form.

    cheers, Ingeborg

    teylyn - MS MVP (Excel) www.teylyn.com @ingeborgNZ
  • 09-15-2014 04:17 PM In reply to

    • teylyn
    • Top 500 Contributor
    • Joined on 03-29-2012
    • Taranaki, New Zealand
    • Posts 49

    Re: Parent child list form video

    Bump. Anyone? 

    teylyn - MS MVP (Excel) www.teylyn.com @ingeborgNZ
  • 11-04-2014 01:35 PM In reply to

    Re: Parent child list form video

     Sorry for not seeing this. I've asked Jennifer to reply.

    Patrick Halstead
    Project Manager at Qdabra
  • 11-04-2014 03:31 PM In reply to

    Hi Ingeborg,

    You are correct in your assessment of the list form's mode.  The only non-code way we can think of to get around this is to include an additional button with the New Record action (see screenshot).  After editing an item, if the user wishes to edit another item he/she must click the New Record button first to reset the form to new item mode.


    Jennifer Lindsay
    Qdabra® Software/InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.