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 2007

Tip: Looking for answers? Try searching our database.

Extracting data from a Infopath Form Repeating Section

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David - 18 Apr 2007 20:14 GMT
I am trying to extract data from a Infopath Form Repeating Section that has
been submited to a Form Library. We can extract data from the Sharepoint SQL
database for all fields except fields in a repeating section.

How can one query fields in a repeating section of an Infopath Form that is
in a Form Library?

The Data Structure is similar as shown below
Form 1
 Date
 Requester Name
 Repeating Section
     Material Name (1) (Repeating Section)
     Material ID  (1) (Repeating Section)
     Material Name (2) (Repeating Section)
     Material ID (2) (Repeating Section)
Form 2
 Date
 Requester Name
 Repeating Section
     Material Name (1) (Repeating Section)
     Material ID  (1) (Repeating Section)
     Material Name (2) (Repeating Section)
     Material ID (2) (Repeating Section)      
     Material Name (3) (Repeating Section)
     Material ID (3) (Repeating Section)
Shiva[autonomysystems.com] - 19 Apr 2007 06:52 GMT
Hi David,

You can get the repeating section node through using code as below:

IXMLDOMDocument2 secondaryDOM = thisXDocument.GetDOM("Secondary DOM
Connection Name");
secondaryDOM.setProperty("SelectionNameSpaces", "Namespace of the secondary
dom");
IXMLDOMNodeList repeatingNodes = secondaryDOM.selectNodes("XPath of your
repeating section node");

Signature

Visit: http://www.autonomysystems.com
Shiva

> I am trying to extract data from a Infopath Form Repeating Section that has
> been submited to a Form Library. We can extract data from the Sharepoint SQL
[quoted text clipped - 22 lines]
>       Material Name (3) (Repeating Section)
>       Material ID (3) (Repeating Section)    
David - 01 May 2007 13:24 GMT
Where do you place that code?

> Hi David,
>
[quoted text clipped - 33 lines]
> >       Material Name (3) (Repeating Section)
> >       Material ID (3) (Repeating Section)    
 
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.