<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — MS Access integration with FA]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6649</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6649&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in MS Access integration with FA.]]></description>
		<lastBuildDate>Wed, 18 Jan 2017 08:36:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: MS Access integration with FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27405#p27405</link>
			<description><![CDATA[<p>Before safely using strings in SQL statements, cleaning them up has traditionally been done using the likes of <strong>mysql_real_escape_string</strong> and <strong>add_slashes</strong>. Whilst the latter can be used for insertion/updation of records in MS Access, the following function will be suited for many instances where <strong>offending/unsafe/exploitable</strong> characters need to be stripped:<br /></p><div class="codebox"><pre><code>function msaccess_escape_string($str) {
    $lf = &quot;\n&quot;;
    $str = str_replace(Array(&quot;&#039;&quot;, &#039;&quot;&#039;, &quot;\t&quot;, &quot;\r&quot;, $lf, &quot;\\&quot;),&quot;&quot;, $str);
    if ($str == NULL) $str = &#039; &#039;; // Access does not allow null fields to be blank in insert using this method
    return $str;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 18 Jan 2017 08:36:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27405#p27405</guid>
		</item>
		<item>
			<title><![CDATA[Re: MS Access integration with FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27388#p27388</link>
			<description><![CDATA[<p>Migrating data from any string format especially the MySQL ANSI date format <strong>yyyy-mm-dd</strong> into MS Access <strong>Short Date</strong> format irrespective of the locale setting (<strong>m/d/Y</strong> or <strong>d/m/Y</strong>) is done using the <strong>DateValue(str DateAsString)</strong> function.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 15 Jan 2017 12:09:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27388#p27388</guid>
		</item>
		<item>
			<title><![CDATA[MS Access integration with FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27387#p27387</link>
			<description><![CDATA[<p>FA uses MySQL whilst many applications use MS Access. PHP on Windows allows for interfacing with both MySQL and MS Access. Attached herewith is the possible choice of PHP data connection strings for both MDB and ACCDB versions (2000 and 2007) of MS Access databases and sample usage PHP code to interface with it.</p><p>Those who run POS applications based on MS Access can use this means to interface with FA.</p><p>Further interfacing sample code is available in <a href="https://github.com/apmuthu/phpprojects/tree/master/MSAccessInPHP">my GitHub repo</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 15 Jan 2017 09:31:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27387#p27387</guid>
		</item>
	</channel>
</rss>
