Finding number of Rows in a repeating table

  • Thread starter Gaurav Upadhyay
  • Start date
G

Gaurav Upadhyay

Hi Everybody,

I am using Infopath 2003 SP2. I need to programmatically find the
number of rows in a repeating table.Can somebody guide me on that.
Thanks in advance.

Regards
 
S

S.Y.M. Wong-A-Ton

Try
XDocument.DOM.selectNodes("/my:myFields/my:group1/my:group2").length
 
G

Gaurav Upadhyay

Thanks S.Y.M
It works.How can you find a solution to all my problems!! Thanks once
again
Regards
 
S

S.Y.M. Wong-A-Ton

No worries. :)
---
S.Y.M. Wong-A-Ton


Gaurav Upadhyay said:
Thanks S.Y.M
It works.How can you find a solution to all my problems!! Thanks once
again
Regards
 
Top