Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Number multiple fields within an instance

Avatar

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

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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.