Creating an outline numbering scheme

P

Paul

I have a InfoPath 2007 form that contains a repeating section within a
repeating section. I need to be able to number these as follows:

1 Header
-------------- Repeating Section - Parent -----------------------
1.1 Title
--------------------- Repeating Section - Child -----------------
1.1.1 Title
--------------------- End Child Section --------------------------
--------------------- Repeating Section - Child -----------------
1.1.2 Title
--------------------- End Child Section --------------------------
-------------- End Parent Section -------------------------------------
-------------- Repeating Section - Parent ----------------------------
1.2 Title
--------------------- Repeating Section - Child -----------------
1.2.1 Title
--------------------- End Child Section --------------------------
--------------------- Repeating Section - Child -----------------
1.2.2 Title
--------------------- End Child Section --------------------------
-------------- End Parent Section -------------------------------------

I know I can use the position() function combined with concat() in an
expression box to create the numbering for the Parent section as concat("1."
, position()). The problem is that in the expression box for the child i need
the position of the parent AND the position of the child.

Help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top