qRules v3.4 Insert's new /firstparentonly parameter - InfoPath Dev
in

InfoPath Dev

qRules v3.4 Insert's new /firstparentonly parameter

Last post 12-23-2011 07:14 AM by Jimmy. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-23-2011 01:33 AM

    • djasp
    • Not Ranked
      Male
    • Joined on 10-01-2011
    • NL
    • Posts 12

    qRules v3.4 Insert's new /firstparentonly parameter

    Hi,

    i have an tryed to use the new /firstparenonly=false option which inserted the right amount of child fields in the nested repeating table. so far so good.

    the repeating table gets filled with sharepoint list data.

    the first repeating table in the repeating table has 5 rows filled with all the rows from my sharepoint list

    the second has 5 rows filled but not with the same data, it repeated the last row of my sharepoint list 5 times.

    Did i do something wrong?

    I can share more info(please ask what you want to know more)

    Thank you.

     

    Filed under:
  • 12-23-2011 03:14 AM In reply to

    Re: qRules v3.4 Insert's new /firstparentonly parameter

    Could you show us the rule logic (particularly the formulas) you're using to copy the data over?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 12-23-2011 03:52 AM In reply to

    • djasp
    • Not Ranked
      Male
    • Joined on 10-01-2011
    • NL
    • Posts 12

    Re: qRules v3.4 Insert's new /firstparentonly parameter

    yes off course

    i think it has something to do with the counter.

    I have a repeating table with in my case at the moment 3 rows.

    In this table is a repeating table with 5 rows.

    when i do a count for filling the table with 5 rows the sharepoint list has 5 rows (so thats good)

    the repeating table(with 5 rows) inside the first row of my repeating table(of 3 items) gets filled with the right data
    then the counter is 0, after filling the repeating table(with 5 rows) inside the second and the third row of my repeating table(of 3 items) my counter is -10.

    rules filling repeating table (with 5 rows):

    IDnumber = row[number(Count)]/@ows_ID
    PB = @ows_PB[@ows_ID = idnumber]
    Count = Count -1

    i don't know where to put the counter or do a re-count...
    any idea's?

  • 12-23-2011 05:22 AM In reply to

    • djasp
    • Not Ranked
      Male
    • Joined on 10-01-2011
    • NL
    • Posts 12

    Re: qRules v3.4 Insert's new /firstparentonly parameter

    Hi i think i solved it.

    after the table filling you need to do a recount in a seperate rule

    It works !

  • 12-23-2011 07:14 AM In reply to

    Re: qRules v3.4 Insert's new /firstparentonly parameter

    Excellent!  Thanks for letting us know.

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