<?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>Microsoft Access</title><link>https://www.infopathdev.com:443/forums/141.aspx</link><description>Qdabra is committed to answering InfoPath questions. However, we do not support Microsoft Access. For non-Access questions, please use the other boards.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Relative Path for Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/65572.aspx</link><pubDate>Tue, 29 Mar 2011 19:41:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65572</guid><dc:creator>ashoke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=65572</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks a million - Hilary. It seems it&amp;#39;s working now. I might have to tweak a bit. In fact, I tried with &amp;quot;Data Source=db.accdb&amp;quot; alone. Now I have added the source file and apparently, it&amp;#39;s working. Let me see more in it.&amp;nbsp; Thanks again for the valuable suggestions. Much appreciated. Ash&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Relative Path for Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/65570.aspx</link><pubDate>Tue, 29 Mar 2011 18:55:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65570</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=65570</wfw:commentRss><description>&lt;p&gt;I do understand the difference between a relative and absolute path -- but as I said in my response, I don&amp;#39;t know what the syntax would be for a relative path to a DB in InfoPath...&lt;/p&gt;
&lt;p&gt;The template uses relative paths to its resource files.... I wonder if you could add your DB as a resource file? Instead of having it in your folder with the template? Then just use &amp;quot;Data Source=db.accdb&amp;quot;?&lt;/p&gt;</description></item><item><title>Re: Relative Path for Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/65569.aspx</link><pubDate>Tue, 29 Mar 2011 18:39:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65569</guid><dc:creator>ashoke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=65569</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Hi Hilary,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks for your quick reply. Let me give you more details of the situation. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;I have an Access 2007 db in a network location accessible by the users. Say for example, both the InfoPath 2007 form and Access db are located in a folder called &amp;quot;temp&amp;quot; and the path is like &amp;quot;G:\CORR\form\temp&amp;quot;. I found the complete path in manifest.xsf file and can replace it with something else with complete path when I move the database. This is an absolute path. If I move the db file, form template or entire folder, it doesn&amp;#39;t work. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;I want to connect to the db in a way so that if I move the entire folder the connection will remain functional.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;More specifically, what would be the replacement code of “Data Source=G:\CORR\form\temp\ db.accdb” in the .xsf file for a path that would find the db in the same folder? I want to make the absolute path to relative path.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Ash&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Relative Path for Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/65568.aspx</link><pubDate>Tue, 29 Mar 2011 18:15:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65568</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65568.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=65568</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not sure what the relative path would be for this, or if this would work -- but I question the design decision. Do you really want a copy of the Access DB with the form? Then every user has their own DB?&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t you want the DB on a network location instead?&lt;/p&gt;</description></item><item><title>Relative Path for Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/65515.aspx</link><pubDate>Mon, 28 Mar 2011 18:41:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65515</guid><dc:creator>ashoke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=65515</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Hi Everyone,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;My form is connected to an Access db. I found in the mainfest.xsf file (in source files) that the connection is hard coded. It means, it has used a full path including drive letter of the database file e.g. H:\CORR\form\temp1\db.accdb. (I think, I can get rid of drive letter issue by using server path - nto sure though). My form and database are in same folder. I’m trying to edit the .xsf file by replacing the hard coded file path to .\db.accdb to make it relative path. It means, if I move entire folder to a new location it would work. But my relative path expression is not working. &lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Any suggestion would be highly appreciated.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks,&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Ash&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>