Repeating table - subsequent rows not auto filling correctly - InfoPath Dev
in

InfoPath Dev

Repeating table - subsequent rows not auto filling correctly

Last post 05-08-2013 11:31 AM by nsterwald78. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-08-2013 10:49 AM

    Repeating table - subsequent rows not auto filling correctly

    Good morning.  I have a repeating table that is auto filling 3 fields upon the first seleciton from the dorp down "Merchant".  The first row works fine, it populates the "Amount" field and two others not shown in the table, but when you add a new row, the amount just defaults to whatever the first one was.

    I should mention Merchant data is from a SP list via a K2 SmartObject...

    So ultimatly when filling out the form, you could have 3 rows that have different merrchant names, but the amount is the same as the first one regardless of what merchant you are selcting on the new rows.  Also in the next view, all rows show the data entered in from the first one.


  • 05-08-2013 11:04 AM In reply to

    Re: Repeating table - subsequent rows not auto filling correctly

    Here is what I mean by the amount...the 2nd and 3rd rows should be $25 for the amount

     


  • 05-08-2013 11:06 AM In reply to

    Re: Repeating table - subsequent rows not auto filling correctly

    and here is the next view...it's like each row isn't acting like a new row...

     


  • 05-08-2013 11:16 AM In reply to

    Re: Repeating table - subsequent rows not auto filling correctly

     Hi - you need to add a filter. In the rule to set Amount, when you select the field from the secondary data source, there is a little button that says "Filter Data" - your filter will be something like Merchant (from 2ds) is equal to Merchant (in main ds)

    Hilary Stoupa

  • 05-08-2013 11:31 AM In reply to

    Re: Repeating table - subsequent rows not auto filling correctly

    Thanks for the reply, but I just figured it out.  I recreated the rules I had for "Set fields..."

    In recreating the rules, I notice what was wrong before (not sure why recreating them changed this and it didn't hapen that way the first time.)  But basically the "current()" denotion was missing from which field to populate.

     

    Thanks for your time though! :D


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