Hello,
i have a repeating section populated with data from a secondary data
source, this data is then filter'd using the hide option, what i want
to get is the section id's for some way of identifying each visible
repeating section so i can export the visible results
this is annoying me as i dont like, well more cant fully grasp the way
infopath identifies each repeating section/table/option/
anythingthatrepeats
thank you
Ben
K.Ramana Reddy(GGK Tech) - 26 Jul 2007 15:32 GMT
Hi,
In Infopath we have formula Position().
First Insert Expression box in repeating section and add this formula.
it will increment the number every time you added section to the view.
I hope this will help for you.

Signature
k.Ramana Reddy
http://www.GGKtech.com
> Hello,
>
[quoted text clipped - 10 lines]
>
> Ben
Kalyan G Reddy MVP (GGK Tech) - 26 Jul 2007 16:26 GMT
Hello Ben
Is this what you are trying to do?
http://archive.infopathdev.com/howto/tutorials/default.aspx?i=09675edc52e94ab8bf
79e218eb7218aa

Signature
Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com
> Hello,
>
[quoted text clipped - 10 lines]
>
> Ben
Ben - 27 Jul 2007 09:09 GMT
Hello, thanks for your replies, the position tag could be useful but
maybe not in the way i want as i would need to reference it in code to
get that section and it doesnt work too well on continious filtering,
that is you filter, then filter again as the first section on the
second filter starts at the number of the last item in the first
filter.
basically i want to know of a way that i can identity each section so
i can extract the nodes and copy them to another section which i call
"Review", basically this is a search and search result review form, im
working on a way that the user can click a button or other interactive
control and it will copy the data of each filtered section and
transfer them to the review view, i have it working on single sections
using the current() technique but this wont work on all visible
sections.
i appreciate your support
Regards
Ben