<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Writing Repeating List from Form Library Datasource in VBScript</title><link>https://www.infopathdev.com:443/forums/thread/38380.aspx</link><pubDate>Thu, 12 Feb 2009 21:52:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38380</guid><dc:creator>thebear98</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38380.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=38380</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;&amp;nbsp;I&amp;#39;m stuck on InfoPath/Sharepoint &amp;#39;03&amp;nbsp;and VBscript...&lt;br /&gt;&amp;nbsp;I have a secondary datasource returning ParentProjID, ProjID, and ProjTitle from all forms in&amp;nbsp;a form library.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &lt;img style="WIDTH:207px;HEIGHT:141px;" height="141" src="http://mdweb.slac.stanford.edu/temp/getChildProjects.gif" width="207" alt="" /&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;I need to create a repeating list of&amp;nbsp;projectID&amp;#39;s and ProjTitle&amp;#39;s where ParentProjID&amp;nbsp;matches the current forms&amp;#39; ProjID.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp; &lt;img style="WIDTH:174px;HEIGHT:102px;" height="102" src="http://mdweb.slac.stanford.edu/temp/setChildProjects.gif" width="174" alt="" /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;So, ChildProjID = @ProjID[@ParentProjID = ProjID],&amp;nbsp;etc...&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Currently, I am able to display only the first matching item in the repeating list.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;What is the best way to&amp;nbsp;do this in VBScript?&lt;/p&gt;</description></item></channel></rss>