Insert multiple rows from a secondary repeating table to a primary repeating table (c#) - InfoPath Dev
in

InfoPath Dev

Insert multiple rows from a secondary repeating table to a primary repeating table (c#)

Last post 12-10-2009 10:27 AM by dngo4579. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-10-2009 10:09 AM

    Insert multiple rows from a secondary repeating table to a primary repeating table (c#)

    • I have a secondary data source (ds) that infopath receives and displays (read only) in a repeating table. 
    • The user will click on a checkbox on each row of the secondary ds table that they want.
      • I want whichever row they checked to display in a table that binds to the main data source (submit data).
    •  IS THIS POSSIBLE?  I BEEN PLAYING AROUND WITH IT AND LOOKED ONLINE BUT CAN'T FIND ANYTHING.  PLEASE HELP!   C# PLEASE (IF CODE REQUIRED)!
  • 12-10-2009 10:18 AM In reply to

    Re: Insert multiple rows from a secondary repeating table to a primary repeating table (c#)

    Code is usually needed for this. The good news is that your scenario is easily solved with qRules (which is why it was developed, to help people who cannot or do not want to write their own code). The command called CopyTable allows you to copy the entire 2DS table (or specific rows) into the main data source.

    The other option is custom code. Good luck!

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


  • 12-10-2009 10:27 AM In reply to

    Re: Insert multiple rows from a secondary repeating table to a primary repeating table (c#)

    Any suggestions on how to do it with c# code?

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