<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Fill a repeating table from a view</title><link>https://www.infopathdev.com:443/forums/thread/58197.aspx</link><pubDate>Fri, 20 Aug 2010 12:38:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58197</guid><dc:creator>ghblackwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=58197</wfw:commentRss><description>&lt;p&gt;I have a sql view assigned to a secondary data source in infopath. I&amp;#39;m trying to get the values from a filtered form of that view into a repeating table using VB.NET. I can clone the rows and assign values. My question is probably much simpler... How do I capture the view into a datatable to read from (or some other mechanism that I can loop through).&lt;/p&gt;&amp;nbsp;XPath to my filtered view looks like this - not that you need it.&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt; 
&lt;p&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:vwApplicationsImpactedByProjects/@application_name[../@project_number = xdXDocument:get-DOM()/my:myFields/my:bgProjectNumber and ../@package_number = xdXDocument:get-DOM()/my:myFields/my:bgPkgNumber]&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description></item></channel></rss>