Hi,
I have create a sub form with an addInstance-feature. I also added a textbox and a numeric field. The text says Journey and the mumeric field is empty, but has a script to add +1. The result in the PDF is Journey 1 as title. When I click the + button, the new sub form gets the name Journey 2.
The result is Journey 3 - Journey 2 then Journey 1 while it has to be journey 1 - journey 2 -journey 3
Can anyone help to get this in the correct order? Or is there another way to add a counter in a title?
The code I use now in FormCalc is:
Incitant7.subVoyage.subVoyage.subVoyagePers.subButtonPerson.fldPerson[*] = Sum(Incitant7.subVoyage.subVoyage.subVoyagePers.subButtonPerson.fldPerson.rawValue + 1)