Highlighted

Number multiple fields within an instance

Avatar

Guest

15-12-2008

I have a subform with 4 fields left to right. Each field is numbered 1-4. When I use the Add button another instance is created below. I want the numbering of the fields in the new instance to be 5,6,7,8 and so on if I add another row.



Is this possible? The recalculate works fine on the first field but not the others.



Thank you.

Replies

Highlighted

pguerett

16-12-2008

Can't do that unless they are in the same subform instance. The second subform instance will take on the occurance number. So it will look something like this:



subformname[1].FieldName[3]



Do an app.alert(this.somExpression) on the enter event of the field to see what the expression will be.