prb: get the sectionnumbers of multiple repeating section

B

Ben

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

K.Ramana Reddy(GGK Tech)

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.
 
B

Ben

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
 

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