Repeater section - InfoPath Dev
in

InfoPath Dev

Repeater section

Last post 09-25-2006 05:47 AM by kucheria. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-23-2006 10:19 AM

    Repeater section

    I have been facing a problem to populate data in repeater section. When i use a rule to fill data, only first record gets populated. What can i do to solve this problem.

    Thanks in advance..

    Regards,
    Arvind Kucheria
  • 09-23-2006 01:22 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694
    Hi Arvind Kucheria welcome to the forums,

    Have you thought of using the current() function which tells the section which record to check against.

    One other thing you could do is to set a rule insert that clears cells out to prevent and data holdover from the previous row.
  • 09-24-2006 01:05 AM In reply to

    Thanks for reply Shiva.

    I want to poulate multiple child records. I want to copy data from secondary data source to main data source.

    I would be very thankful for any help.


  • 09-25-2006 12:38 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694
    Hi Arvind Kucheria,

    If you have a rule the secondary data source and copy the resutls to the main data source. It shouldn#%92t be too hard to implement using rules and xpath. Of course, you could just do it in code too.

    1. Main data source field is non repeating field

    You need to write On After Change event for secondary data source fields. In this function you need to get the secondary value and set this value to main data source field. When ever second value comes then you need differentiate for those values, before set this second value you need to append some thing like that spaces are any special characters between them.

    2. Main data source field is repeating field

    If you have main data source is also repeating then you need to create empty node for every secondary data source value and set the value for it before appending this node to main data source.
  • 09-25-2006 05:47 AM In reply to

    Hi Shiva,

    While trying the second option , i try to create a node and i get the following error:

    "Element ' ' is unexpected according to content model of parent element"...

    I have tried everything but no sucess.

    Thanks so much...

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