auto-numbering field

A

Allen

I am developing a form that has a repeating table. I want the rows to
autopopulate the first field with the number of the row. This is the same
functionality that is present with the LineItem field in the default Change
Order form template that comes with InfoPath.
In comparing the field from the default form and the one I created, they
appear identical, but in my form I cannot get the number to autogenerate.
 
B

Ben walters

Allen
This may be a dumb question but hey we have to start somwhere, have looked
at the script code behind the form?
I checked out the Change Order form and there is some script that fires each
time a new line item is added to the form. This then fires the Reindex method
that updates the Item number field.

you can get to the script from Tools>Programming
or you can press alt+Shift+F11

cheers
 
A

Allen

I am still getting used to this App, so I didn't know that existed. I will
take a look.
Allen
 
Top