counting a repeating group, adding that to sharepoint - InfoPath Dev
in

InfoPath Dev

counting a repeating group, adding that to sharepoint

Last post 02-06-2010 08:04 AM by anilphv. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-05-2010 11:04 AM

    counting a repeating group, adding that to sharepoint

    I have two repeating groups:
    Group1
    Group2

    I have two fields outside of that to count those:
    NumberGroup1 (datatype: Text)
    NumberGroup2 (datatype: Text)

    I want to post those to a column in SharePoint in the form library. I have a rule on submit with these actions:
    Set a field's value:
    Field: NumberGroup1
    Value: count(Group1) + 1

    Set a field's value:
    Field: NumberGroup2
    Value: count(Group2) + 2

    Submit using a data connection: Main submit


    When I publish the form to the form library, I add NumberGroup1 and NumberGroup2 as columns in the library. When I fill out a form, it doesn't put any content in these columns. I've also tried using the data type for NumberGroup1 and NumberGroup2 integer, but the same thing happens - no data is added to the column.

    Any ideas on what I'm doing wrong? I did this in the past but I cannot see any difference between the two forms.
  • 02-05-2010 05:14 PM In reply to

    Re: counting a repeating group, adding that to sharepoint

    Are you sure you are getting a value in NumberGroup1 and NumberGroup2? I'd check that first, if you haven't already.

    Hilary Stoupa

  • 02-06-2010 08:04 AM In reply to

    Re: counting a repeating group, adding that to sharepoint

    Make sure You have selected "Update this value when the result of the formula is recalculated" check box for both these fields.

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