I would like to have a field ("Line Number") automatically increment each
time a user adds a new row to the repeating table. This field also needs to
be bound to a data source field. The first line should default to "1" and
then increment by "1" each time a user adds a new row. I am not linked to
any external data sources for using any type of db sequencing.
Also, if a user deletes a row, I would like any subsequent rows to
recalculate so that there are no missing numbers in the sequence.
Is this possible? Please point me in the right direction to start.
Thanks,
Chris
Anton L - 16 Aug 2005 23:47 GMT
See if this link helps:
http://www.officekb.com/Uwe/Forum.aspx/infopath/1501/Sequential-Numbering-in-Rep
eating-Tables
>I would like to have a field ("Line Number") automatically increment each
>time a user adds a new row to the repeating table. This field also needs to
[quoted text clipped - 9 lines]
>Thanks,
>Chris
ChrisB - 17 Aug 2005 16:15 GMT
Thanks a bunch Anton. I hacked around with the example code and got it working.
> See if this link helps:
> http://www.officekb.com/Uwe/Forum.aspx/infopath/1501/Sequential-Numbering-in-Rep
eating-Tables