<?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: Connection String -- What am I doing wrong?</title><link>https://www.infopathdev.com:443/forums/thread/20066.aspx</link><pubDate>Sun, 20 May 2007 09:20:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20066</guid><dc:creator>chang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=20066</wfw:commentRss><description>&lt;p&gt;Try escaping the backslashes like in:&lt;/p&gt;&lt;p&gt;J:\\Dudley\\Projects.mdb&lt;/p&gt;</description></item><item><title>Connection String -- What am I doing wrong?</title><link>https://www.infopathdev.com:443/forums/thread/19855.aspx</link><pubDate>Mon, 14 May 2007 17:27:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19855</guid><dc:creator>drrocket0302</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=19855</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to learn jscript so that I can program my infopath forms and I&amp;#39;m having a hard time connecting to my database.&amp;nbsp; My database is stored on a shared drive.&amp;nbsp; Does it have to be on my local machine?&amp;nbsp; Heres my code:&lt;/p&gt;&lt;p&gt;&amp;nbsp;function CTRL30_32::OnClick(eventObj) &lt;/p&gt;&lt;p&gt;{ &lt;/p&gt;&lt;p&gt;var pobjConnection = new ActiveXObject(&amp;quot;ADODB.Connection&amp;quot;); &amp;nbsp; &lt;/p&gt;&lt;p&gt;pobjConnection.Open(&amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=J:\Dudley\Projects.mdb;User Id=admin;Password=;&amp;quot;) &lt;/p&gt;&lt;p&gt;var pstrSQL = &amp;quot;SELECT * FROM Projects&amp;quot;;&amp;nbsp; &amp;nbsp; &lt;/p&gt;&lt;p&gt;var pobjRS = pobjConnection.Execute(pstrSQL); &lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;I know this doesn&amp;#39;t do anything yet but every time I try to run it I get an error that it cannot find the file &amp;quot;J:\DudleyProjects.mdb&amp;quot;&amp;nbsp; It refuses to recognize the second slash mark in my data source.&amp;nbsp; Can someone please tell me what I&amp;#39;m doing wrong and/or how to fix it?&amp;nbsp; Thanks!!&lt;/p&gt;</description></item></channel></rss>