Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2005

Tip: Looking for answers? Try searching our database.

Counting the number of repeating sections in Infopath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anton L - 28 Apr 2005 22:43 GMT
Hi, I have a condition for a field in a repeating section that is something
like
if # of repeating sections > 1, set the value of the field to the value in
the previous repeating sections.

Can ( and how do ) I do this using InfoPath?
Nic Roche - 29 Apr 2005 01:48 GMT
> Can ( and how do ) I do this using InfoPath?

From a script block (a DOM or control event):

Dim iCount

   iCount = XDocument.DOM.selectNodes( sXPATHToSection ).Length

Nic Roche

> Hi, I have a condition for a field in a repeating section that is
> something
[quoted text clipped - 3 lines]
>
> Can ( and how do ) I do this using InfoPath?
Anton L - 09 May 2005 20:25 GMT
While this works great for a repeating section, it doens't seem to work for
repeating tables. Is there a trick I need to know?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.