<?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>Re: Infopath Attachment Field; Submit in SQL Server</title><link>https://www.infopathdev.com:443/forums/thread/57060.aspx</link><pubDate>Sat, 17 Jul 2010 14:11:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57060</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57060</wfw:commentRss><description>&lt;p&gt;I tried an approach where in jScript I made a manual connection to the SQL server and sent the attachment field text (it&amp;#39;s BASE64 encoded already) to the database to a memo field. You can&amp;#39;t bind an Infopath field to a memo field directly - and memo fields are what&amp;#39;s needed if you have an attachment of any appreciable size.&lt;/p&gt;
&lt;p&gt;It worked - I got the attachment saved to the field - and had to write more code to read it back in to the field at the right time.&lt;/p&gt;
&lt;p&gt;But it was SO SLOW that I ditched it. That&amp;#39;s the only luck I&amp;#39;ve had with a high level language solution&amp;nbsp;within Infopath&amp;nbsp;- everything else worked from an external program - e.g. decoding the BASE64 using VBA in Microsoft Xcel/Access.&lt;/p&gt;
&lt;p&gt;Low level language (for me anyway) like C# might have a better way - but if you want the jScript solution - let me know.&lt;/p&gt;</description></item><item><title>Re: Infopath Attachment Field; Submit in SQL Server</title><link>https://www.infopathdev.com:443/forums/thread/53861.aspx</link><pubDate>Mon, 19 Apr 2010 17:31:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53861</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53861</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This thread might help:&lt;/p&gt;&lt;p&gt;http://www.infopathdev.com/forums/p/15172/53778.aspx#53778 &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Infopath Attachment Field; Submit in SQL Server</title><link>https://www.infopathdev.com:443/forums/thread/53840.aspx</link><pubDate>Mon, 19 Apr 2010 10:23:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53840</guid><dc:creator>sunscreen-gr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53840.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53840</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all, &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is there a way to get the attachment from the form to an SQL Server column using VBA? There are some examples about encodind and decoding attachments, though is this the case? &lt;br /&gt;&lt;br /&gt;Does SQL server support attachments somehow?&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Sun&lt;/p&gt;</description></item></channel></rss>