<?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>Re: attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104114.aspx</link><pubDate>Wed, 23 Sep 2015 17:44:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104114</guid><dc:creator>DDEBBABY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104114</wfw:commentRss><description>ok I see thanks so much</description></item><item><title>Re: attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104113.aspx</link><pubDate>Wed, 23 Sep 2015 17:43:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104113</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104113</wfw:commentRss><description>The new data connection you added will have query fields and data fields. Add a rule to set the query field for ID in the new data connection to the ID field in your main data source. Then add a rule to run the query.</description></item><item><title>Re: attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104112.aspx</link><pubDate>Wed, 23 Sep 2015 17:35:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104112</guid><dc:creator>DDEBBABY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104112</wfw:commentRss><description>I am confused with step 4. how do you do this?</description></item><item><title>Re: attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104110.aspx</link><pubDate>Wed, 23 Sep 2015 17:24:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104110</guid><dc:creator>DDEBBABY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104110</wfw:commentRss><description>wow ok thanks so much I will see if I understand and try this.&amp;nbsp; Thanks sooo much</description></item><item><title>Re: attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104109.aspx</link><pubDate>Wed, 23 Sep 2015 17:19:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104109</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104109</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You are having an issue because this is a list form and attachments are handled differently there - you&amp;#39;ll notice the attachments field isn&amp;#39;t repeating. If you attach some files in preview and go to File &amp;gt; Save As and look at the XML, you&amp;#39;ll see that there is nothing stored in the attachments node. &lt;/p&gt;&lt;p&gt;The only work around I can come up with is:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Add a query (receive) connection to the same list that the form is for &lt;/li&gt;&lt;li&gt;Set the query to NOT run on load&lt;/li&gt;&lt;li&gt;Include the ID and Attachments in the&amp;nbsp;query.&amp;nbsp;&lt;/li&gt;&lt;li&gt;As part of your logic that needs to check for the count of attachments, set the ID field in the query fields for the new data connection to the ID from the main data source in your form.&lt;/li&gt;&lt;li&gt;Execute the query&lt;/li&gt;&lt;li&gt;Count the returned repeating attachmentUrl field in the secondary data connection&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Of course - this all only works if your form has an ID in the main DS, which means it has to have been submitted at least once.&lt;/p&gt;</description></item><item><title>attachment field</title><link>https://www.infopathdev.com:443/forums/thread/104104.aspx</link><pubDate>Wed, 23 Sep 2015 15:27:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104104</guid><dc:creator>DDEBBABY</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104104.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104104</wfw:commentRss><description>I am trying to create a text box that is attached to the attachment field that will count the number of attachments but I cannot get this to work properly.&amp;nbsp; Can someone take a look what I may be doing wrong</description></item></channel></rss>