Copy repeating table from secondary datasource to primary - InfoPath Dev
in

InfoPath Dev

Copy repeating table from secondary datasource to primary

Last post 07-17-2010 09:27 AM by Jimmy. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-16-2010 11:27 PM

    Copy repeating table from secondary datasource to primary

    I need to copy a repeating table from a secondary datasource populated from a webservice to the main form datasource using rules only (no code). The reason I need to do so is that I need to save that data in the xml form itself once the user submits the form. I am using InfoPath 2007 Form Services. Any help will be greatly appreciated.
  • 07-17-2010 07:56 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Copy repeating table from secondary datasource to primary

    I don't think this is possible - best you would get is adding a button to the repeating table/section of the secondary datasource which copies that record's values somewhere else - so the user would have to manually copy each record using the button.

    All other solutions use code or maybe a third party extension software/plugin. But you may be able to use code more than you think - there are jScript solutions which will do what you want and don't require a full trust form. Quite a few examples already on the forum.

  • 07-17-2010 09:27 AM In reply to

    Re: Copy repeating table from secondary datasource to primary

    As Skarn says, it's not possible to add rows to a repeating section with InfoPath's built-in functionality. On the other hand, qRules makes this task a breeze.  Your form will still behave as though it has code in it, but you won't need to write any of the code yourself.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.