Can you auto number a repeating group without the Count() function? - InfoPath Dev
in

InfoPath Dev

Can you auto number a repeating group without the Count() function?

Last post 08-14-2014 09:15 AM by CCBSFranco. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-13-2014 02:45 PM

    Can you auto number a repeating group without the Count() function?

    Is it possible to use the position() function to auto number a repeating group? Or another function besides the count()? 

  • 08-14-2014 09:15 AM In reply to

    Re: Can you auto number a repeating group without the Count() function?

    For anyone looking for an alternative to the count() function to autonumber rows, I figured one out.

    Create a field, "ItemCount", and set the default value to 0 or 1 depending one how your groupings are set up.  Uncheck the refresh when form recalculates. Now create another field in your repeating group. Let's call it "row". Set the default value of "row" to "ItemCount" and again make sure the refresh when form recalculates is off. Now make an action rule on that "row" field. Set the field's value of "ItemCount" to "ItemCount" + 1.

     

    I know that this is quite more steps than the count() function method but if you absolutely need to not use count(), then this is your work around. Hope this helps.

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