in

InfoPath Dev

Repeating Table from Web Service copy to Repeating Table from Main Data Source

Last post 05-21-2008 02:52 PM by Patrick. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-21-2008 02:52 PM

    • Patrick
    • Top 100 Contributor
      Male
    • Joined on 11-03-2007
    • Texas
    • Posts 51

    Repeating Table from Web Service copy to Repeating Table from Main Data Source

    Hi,

    I have a web service that I am connecting to which populates it's repeating parts into a repeating table.  My initial goal was to use this data in a Master - Detail relationship, but the data source will not allow me to do that. 

    So my next thought was that I could create a Master - Detail relationship on a separate control in my Main Data Source that would have default values set to feed from the Repeating Table in my secondary data source (the web service).

    I set up a test with just one field in my Main Data Source.  When I set the default value to the corresponding field in the Secondary Data Source it only populates the first row, and doesn't create any more rows.  I can't figure out why.

     

    If I need to explain this more clearly let me know please, but here is an example:

    Main Data Source: Contains(repeating group with 1 field)

    Secondary Data Source: (Web Service), Contains(Many groups, some repeating.)

     

    Using Main Data Source fields (repeating group with 1 address field) 

    Using Secondary Data Source fields (repeating group with 1 address field)

     

    Main Data Source Control (Master - Detail) (I've also tried using just a repeating table)

    Secondary Data Source Control (Repeating Table) (this is forced by InfoPath since I am using a web service)

     

    Trying to get Main Data Source "address" field to take values from Secondary Data Source "address" field values.  Currently, it will only take the first row of the Secondary "address" field.

     

    Any help would be fantastic!  Thanks!
     


     

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