1.In design mode, place the insertion point where you want to insert the expression box.( The expression box must be part of the repeating table. )
2.If the Controls task pane is not visible, click More Controls on the Insert menu.
3.In the Controls task pane, click Expression Box.
4.In the Insert Expression Box dialog box, type position() in the XPath box.
5.To test the formula, click Preview Form on the Standard toolbar.

E2