<?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: Handling File Attachments on form with Access Data Source</title><link>https://www.infopathdev.com:443/forums/thread/19707.aspx</link><pubDate>Wed, 09 May 2007 16:55:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19707</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19707.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=19707</wfw:commentRss><description>&lt;p&gt;Here are a couple links to get you started.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2004/07/08/Identify-the-Current-Table-Row.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2004/07/08/Identify-the-Current-Table-Row.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is a start on determining which row you have.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/06/13/Using-XPath_2700_s-_2700_preceding_2D00_sibling_2700_-Axis-Correctly.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/06/13/Using-XPath_2700_s-_2700_preceding_2D00_sibling_2700_-Axis-Correctly.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Then moving either next or previous or first or last.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/06/09/Create-Miniature-Navigation-Buttons-with-Centered-Arrows.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/06/09/Create-Miniature-Navigation-Buttons-with-Centered-Arrows.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Here is even how to make cute little buttons for each one.&lt;/p&gt;</description></item><item><title>Re: Handling File Attachments on form with Access Data Source</title><link>https://www.infopathdev.com:443/forums/thread/19706.aspx</link><pubDate>Wed, 09 May 2007 16:34:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19706</guid><dc:creator>drrocket0302</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=19706</wfw:commentRss><description>Thanks for the response Clay.&amp;nbsp; I&amp;#39;ve got another issue that I could really use some help on as well.&amp;nbsp; Since this is my first time using infopath I&amp;#39;m sure I&amp;#39;m not setting things up the right way.&amp;nbsp; What I&amp;#39;ve done is I have a default view that is&amp;nbsp;a&amp;nbsp;project request form that someone can fill it out and it&amp;nbsp;submits to my&amp;nbsp;database.&amp;nbsp; I then have a query view that has all the queryfields on it so that someone can query the database with whatever information they have.&amp;nbsp; My run query button then switches to another view runs the query and&amp;nbsp;displays the query results.&amp;nbsp; I set up all of the controls in this view in sections instead of repeating sections because my boss didnt like how it looked originally.&amp;nbsp; However, this limits my results in this view&amp;nbsp;to the first record that was queried.&amp;nbsp; What I would really like to do is have a next button at the bottom of this view that would display the information from the next record that matches the query criteria much like a movenext command on a recordset would but I can&amp;#39;t figure out how to do this.&amp;nbsp; Any suggestions.</description></item><item><title>Re: Handling File Attachments on form with Access Data Source</title><link>https://www.infopathdev.com:443/forums/thread/19680.aspx</link><pubDate>Tue, 08 May 2007 20:29:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19680</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=19680</wfw:commentRss><description>&lt;p&gt;Attachments are difficult without web services.&amp;nbsp; I would recommend you look at the Database Accelerator, this is a web service suite which installs on your server, which can be sql 2005 express.&amp;nbsp; This gives you the ability to store your forms in SQL server, extract your data into tables, and have active directory and Sharepoint integration. I would check it out and see if it wouldn&amp;#39;t make development of your form solution much faster and easier.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.qdabra.com/proddetail.asp?prod=QDBXL1"&gt;http://www.qdabra.com/proddetail.asp?prod=QDBXL1&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I have used DBXL to do exactly what you are talking about, having InfoPath Forms with embedded attachments and being able to extract them to a database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Handling File Attachments on form with Access Data Source</title><link>https://www.infopathdev.com:443/forums/thread/19676.aspx</link><pubDate>Tue, 08 May 2007 17:01:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19676</guid><dc:creator>drrocket0302</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19676.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=19676</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m using Infopath for the first time and cant seem to figure out how to handle file attachments on my form.&amp;nbsp; I am using an access database as my data source but on my form, which is a project request form, and I&amp;#39;d like to have a section where the user can upload whatever attachments may be be needed to complete the request.&amp;nbsp;So I created a new field and change the file type to attachment in the&amp;nbsp;data source.&amp;nbsp;However, data connections to a database&amp;nbsp;do not allow me to submit this field.&amp;nbsp; So I decided to create a second data connection that would submit it to my email instead.&amp;nbsp; But this isnt working&amp;nbsp;either.&amp;nbsp;&amp;nbsp;So then I&amp;nbsp;used some VBscript to do this but&amp;nbsp;it&amp;nbsp;errors out at the attachments.add line.&amp;nbsp; Is my data source field referenced correctly?&amp;nbsp; If not can somebody give me a heads up on what wrong with it.&amp;nbsp; Also if anyone has any ideas on how to solve this any other way, that would be great. Thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sub CTRL60_4_OnClick(eventObj) &lt;/p&gt;&lt;p&gt;Dim objOutlook &lt;/p&gt;&lt;p&gt;Dim objOutlookMsg &lt;/p&gt;&lt;p&gt;Dim objOutlookRecip &lt;/p&gt;&lt;p&gt;Dim objOutlookAttach &lt;/p&gt;&lt;p&gt;Dim frmSavePath &amp;#39;Create the Outlook session. &lt;/p&gt;&lt;p&gt;Set objOutlook = CreateObject(&amp;quot;Outlook.Application&amp;quot;) Set objOutlookMsg = objOutlook.CreateItem(0) &amp;#39;olMailItem &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With objOutlookMsg &amp;#39;Add the To recipient(s) to the message. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Set objOutlookRecip = .Recipients.Add(&amp;quot;my email&amp;quot;) &lt;/p&gt;&lt;p&gt;objOutlookRecip.Type = 1 &amp;#39;olTo &lt;/p&gt;&lt;p&gt;.Subject = &amp;quot;This is an Automation test with Microsoft Outlook&amp;quot; &lt;/p&gt;&lt;p&gt;.body = &amp;quot;This is the body of the message&amp;quot; &lt;/p&gt;&lt;p&gt;.Importance = 2 &amp;#39;High importance &lt;/p&gt;&lt;p&gt;&amp;#39;Resolve each Recipient&amp;#39;s name. &lt;/p&gt;&lt;p&gt;For Each objOutlookRecip In .Recipients &lt;/p&gt;&lt;p&gt;objOutlookRecip.Resolve &lt;/p&gt;&lt;p&gt;Next &lt;/p&gt;&lt;p&gt;Set objOutlookAttach = .Attachments.Add(XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:Attachments&amp;quot;))&lt;/p&gt;&lt;p&gt;Display the message before sending &lt;/p&gt;&lt;p&gt;.display &lt;/p&gt;&lt;p&gt;End With &lt;/p&gt;&lt;p&gt;Set objOutlook = Nothing &lt;/p&gt;&lt;p&gt;Set objOutlookMsg = Nothing &lt;/p&gt;&lt;p&gt;Set objOutlookRecip = Nothing &lt;/p&gt;&lt;p&gt;Set objOutlookAttach = Nothing &lt;/p&gt;&lt;p&gt;End Sub&lt;/p&gt;</description></item></channel></rss>