<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: adding file attachment to form created from data connection</title><link>https://www.infopathdev.com:443/forums/thread/42677.aspx</link><pubDate>Wed, 10 Jun 2009 07:27:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42677</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42677</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;Hi,&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;If your file attachment control is binded to secondary data source, then your repeating section should also be binded to secondary data source only.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;I think you are added repeating section from Primary data source and trying to add attachment from secondary data source into that repeating section.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: adding file attachment to form created from data connection</title><link>https://www.infopathdev.com:443/forums/thread/42674.aspx</link><pubDate>Wed, 10 Jun 2009 06:49:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42674</guid><dc:creator>clareabradley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42674</wfw:commentRss><description>&lt;p&gt;I have tried database field as both image and varbinary(MAX).&lt;/p&gt;
&lt;p&gt;Lots of fileds on my form are within a repeating section and When I try to enter a File attachment control in this repeating section I get a file attachment binding pop up. I select the correct data field and then again I get the message:&lt;/p&gt;
&lt;p&gt;A file attachment control must be bound to a non-repeating field with a picture or file attachment data type. If the field is part of a repeating group, then the file attachment control must be inside a repeating table or repeating section that is bound to that group.&lt;/p&gt;
&lt;p&gt;The repeating section on my form is bound to the Main datasource on the form to the data fields section.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: adding file attachment to form created from data connection</title><link>https://www.infopathdev.com:443/forums/thread/42584.aspx</link><pubDate>Mon, 08 Jun 2009 06:05:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42584</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42584.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42584</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Make sure the attachement is in repeating section.Data Type in Database can be image/varbinary. &lt;/p&gt;</description></item><item><title>adding file attachment to form created from data connection</title><link>https://www.infopathdev.com:443/forums/thread/42576.aspx</link><pubDate>Sun, 07 Jun 2009 07:10:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42576</guid><dc:creator>clareabradley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=42576</wfw:commentRss><description>&lt;p&gt;I am trying to add a file attachment field to a form created from a dataconnection but keep getting the error that it should be a certain type.&lt;/p&gt;
&lt;p&gt;The error message is &amp;quot;A file attachment control must be bound to a non-repeating field with a picture or file attachment data type. If the field is part of a repeating group, then the file attachment control must be inside a repeating table or repeating section that is bound to that group&amp;quot;&lt;/p&gt;
&lt;p&gt;What field type should it be in the database?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Clare&lt;/p&gt;</description></item></channel></rss>