Insert A new Row in a Repeating table - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Insert A new Row in a Repeating table

Last post 06-16-2009 11:41 AM by MikeWal. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-15-2009 07:41 AM

    Insert A new Row in a Repeating table

    I recently downloaded QRules and was hoping to accomplish the following:  I have a simple form for use by warehouse personnel to receive purchase orders.  It consist of thtree field:  part#, bin and qty.  Once the quantity is enterd I am hoping to have a new row automatically added to a repeating table.  If this possible?

    Thanks, 

    Mike

  • 06-15-2009 08:56 AM In reply to

    Re: Insert A new Row in a Repeating table

    Yes, using the Insert command. You'd add a rule on the Qty field, and set the command field in the QdabraRules secondary data source to something like:

    Insert /parent=/my:myFields/my:Insert /child=/my:InsertGroup /count=1

    The XPaths in the arguments will need to change to reflect your data structures. So, for example if your repeating group is called group2 and is in another group called group1:

    Insert /parent=/my:myFields/my:group1 /child=/my:group2 /count=1

    Count is optional and defaults to one, so you wouldn't have to include it in this scenario.

    Hilary Stoupa

  • 06-16-2009 11:41 AM In reply to

    Re: Insert A new Row in a Repeating table

    Hilary, thanks.  After wacthing Ernesto's demo video's and this info from you I was able to make it work as needed.  Thanks to both of you.

     Mike

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