InfoPath 2007: Repeating table--Button needs to point to the node from which button was clicked

S

shazam26

Hi,

Setup: Designing InoPath 2007 browser based form. I've a repeating
table with bunch of fields in it and a button which repeats as part
of the table

Code So far: XPATHNAVIGATOR main = MinaDatasource.CreatNavigator()
XpathIterator fields = main.select("field's xpth",
Namespacemanager) ... etc....

Basically, right now I'm looping to get my data. For example, if I've
a 3 repetition of the tables and if user click the button that is part
of 2nd repetition then I want to extract data that only points to that
2nd table.
I want to know how can I find out which repetition's button triggered
the event so that i can loop to that specific data.

thanks in advance,
Shazam.
 
B

Bob C.

In IP2003 the clicked event code for the button you would reference the
current node via the event argument e.

e.Source.selectSingleNode("ActStopDateTime").text

Hopefully it's similar in IP2007
 

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