<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[FLEXquarters.com Limited]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/]]></link>
<description />
<generator><![CDATA[Kayako case v4.66.2]]></generator>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC with QRemote Client Driver Licensing Requirements (2025) - Power BI]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3095]]></link>
<guid isPermaLink="false"><![CDATA[4db0f8b0fc895da263fd77fc8aecabe4]]></guid>
<pubDate><![CDATA[Fri, 30 May 2025 12:38:42 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QODBC-Desktop] QODBC with QRemote Client Driver Licensing Requirements&nbsp;(2025) - Power BI&nbsp;
Also refer to:&nbsp;QODBC Licensing Information
The types of licenses needed vary based on your requirements&nbsp;and your environment setup.
Please re...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">[QODBC-Desktop] QODBC with QRemote Client Driver Licensing Requirements&nbsp;(2025) - Power BI</span><strong>&nbsp;</strong></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also refer to:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2587/">QODBC Licensing Information</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">The types of licenses needed vary based on your requirements&nbsp;and your environment setup.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the detailed information on QODBC Licensing below.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>1) Power BI Gateway application accessing QuickBooks remotely:</strong></span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server and QuickBooks company file<br />Machine B - QRemote Client, Power Bi Gateway</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Single Client - SB-QBCF.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>2) Power BI Gateway application accessing QuickBooks remotely &ndash; QuickBooks company file on a different machine. Power Bi Gateway application accessing QuickBooks remotely &ndash; QuickBooks company file on different machine.:</strong></span></p>
<p><span style="color: #ff0000;">Note: Accessing a QuickBooks company file from a different computer or shared drive can impact the performance of both QuickBooks and QODBC. Thus, we do not recommend such an environment setup. To achieve the best performance, it is advisable to run QODBC, the QuickBooks application, and the QuickBooks company file on the same computer.</span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server<br />Machine B - QRemote Client, Power BI Gateway<br />Machine C &ndash; QuickBooks company file</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License <br />Machine C &ndash; No QODBC / QRemote License</p>
<p>&nbsp;</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Single Client.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>3) Multiple Power BI Gateway applications accessing QuickBooks remotely:</strong></span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server, and QuickBooks company file<br />Machine B - QRemote Client, Power BI Gateway<br />Machine C - QRemote Client, Power BI Gateway</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License <br />Machine C &ndash; QRemote License</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Multiple Clients - SB-QBCF.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>4) Multiple Power BI Gateway applications accessing QuickBooks remotely &ndash; QuickBooks company file on a different machine.:</strong></span></p>
<p><span style="color: #ff0000;">Note: Accessing a QuickBooks company file from a different computer or shared drive can impact the performance of both QuickBooks and QODBC. Thus, we do not recommend such an environment setup. To achieve the best performance, it is advisable to run QODBC, the QuickBooks application, and the QuickBooks company file on the same computer.</span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server<br />Machine B - QRemote Client, Power Bi Gateway<br />Machine C &ndash; QuickBooks company file<br />Machine D - QRemote Client, Power Bi Gateway</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License <br />Machine C &ndash; No QODBC / QRemote License<br />Machine D &ndash; QRemote License</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Multiple Clients.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>5) Multiple Power BI Gateway applications accessing QuickBooks remotely.:</strong></span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server, Power BI Gateway, and QuickBooks company file<br />Machine B - QRemote Client, Power BI Gateway<br />Machine C - QuickBooks, QODBC, QRemote Server, Power BI Gateway</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License <br />Machine C &ndash; QODBC Server Edition License</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Multiple Clients and Server - SB-QBCF.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>6) Multiple Power BI Gateway applications accessing QuickBooks remotely &ndash; QuickBooks company file on a different machine.</strong></span></p>
<p><span style="color: #ff0000;">Note: Accessing a QuickBooks company file from a different computer or shared drive can impact the performance of both QuickBooks and QODBC. Thus, we do not recommend such an environment setup. To achieve the best performance, it is advisable to run QODBC, the QuickBooks application, and the QuickBooks company file on the same computer.</span></p>
<p>Machine A - QuickBooks, QODBC, QRemote Server, Power BI Gateway<br />Machine B - QRemote Client, Power BI Gateway<br />Machine C &ndash; QuickBooks company file<br />Machine D - QuickBooks, QODBC, QRemote Server, Power BI Gateway</p>
<p>License <br />Machine A &ndash; QODBC Server Edition License<br />Machine B &ndash; QRemote License <br />Machine C &ndash; No QODBC / QRemote License<br />Machine D &ndash; QODBC Server Edition License</p>
<p>&nbsp;</p>
<div><img style="border: 1px solid black;" src="//support.flexquarters.com/esupport/newimages/3095/QRemote Server Edition - Power BI Diagram - Multiple Clients and Server.png" alt="" /></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;">Keywords: Power BI, Remote Access, QRemote Configuration, QRemote License information</span></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092]]></link>
<guid isPermaLink="false"><![CDATA[6ad4174eba19ecb5fed17411a34ff5e6]]></guid>
<pubDate><![CDATA[Thu, 29 May 2025 09:52:15 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QODBC-Desktop] Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query
Problem Description:
I am using Microsoft Excel 365 and trying to import data using the Microsoft Query option. However, I cannot find Microsoft Query (Legacy) ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">[QODBC-Desktop] Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using Microsoft Excel 365 and trying to import data using the Microsoft Query option. However, I cannot find Microsoft Query (Legacy) under the Get Data tab.<br />Why is Microsoft Query (Legacy) missing in Excel 365, and how can I enable it?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab. This tool is commonly used to import data from external sources via ODBC connections. If you're using QODBC or any ODBC-based system like QuickBooks, enabling this option is necessary.</p>
<p>Note: We recommend using the 64-bit version of Microsoft Excel for better performance and compatibility when working with large datasets.</p>
<p>&nbsp;</p>
<p>Prerequisites:</p>
<p>Microsoft Excel 2016 or later (including Excel 365)<br /> Administrative access to change Excel options.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/3092/001 No Microsoft Query.png" alt="" /></p>
<p>&nbsp;</p>
<p>As shown in above image, the Microsoft Query option does not appear under the Get Data tab by default.</p>
<p>&nbsp;</p>
<p>Step-by-Step Instructions to enable Microsoft Query:</p>
<h4 data-start="1844" data-end="1892"><strong data-start="1849" data-end="1892">Step&nbsp;</strong><strong>1: Enable Legacy Data Import Wizards.</strong></h4>
<p>&nbsp;&nbsp;</p>
<ul>
<li data-start="1390" data-end="1420">
<p data-start="1393" data-end="1420">Open <strong data-start="1398" data-end="1417">Microsoft Excel</strong>.</p>
</li>
<li data-start="1421" data-end="1493">
<p data-start="1424" data-end="1451">Click on the <strong data-start="1325" data-end="1333">File</strong> tab.</p>
</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/3092/002 Click on File.png" alt="" /></p>
<p>&nbsp;</p>
<ul style="list-style-type: disc;">
<li>Click on <strong data-start="1280" data-end="1291">Options</strong> at the bottom-left corner.</li>
</ul>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/3092/003 File - Options.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<ul style="list-style-type: disc;">
<li data-start="1494" data-end="1586">
<p data-start="1497" data-end="1586">In the <strong data-start="1504" data-end="1521">Excel Options</strong> window, select the <strong data-start="1541" data-end="1549">Data</strong> category from the left-hand panel.</p>
</li>
<li data-start="1587" data-end="1650">
<p data-start="1590" data-end="1650">Scroll down to the <strong data-start="1609" data-end="1639">Legacy Data Import Wizards</strong> section.</p>
</li>
<li data-start="1651" data-end="1742">
<p data-start="1654" data-end="1714">Check the box labeled <strong data-start="1676" data-end="1711">"From Microsoft Query (Legacy)"</strong>.</p>
</li>
<li data-start="1651" data-end="1742">
<p data-start="1654" data-end="1714">&nbsp;Click <strong data-start="1752" data-end="1758">OK</strong> to apply changes.</p>
</li>
<li data-start="1651" data-end="1742">
<p data-start="1746" data-end="1778">&nbsp;Close and restart Excel for the changes to take effect.</p>
</li>
</ul>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/3092/004 Checked Microsoft Query (Legacy).png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4 data-start="1844" data-end="1892"><strong data-start="1849" data-end="1892">Step 2: Access Microsoft Query (Legacy)</strong></h4>
<p data-start="1894" data-end="1917">After restarting Excel:</p>
<ul style="list-style-type: disc;" data-start="1919" data-end="2047">
<li data-start="1919" data-end="1947">
<p data-start="1922" data-end="1947">Go to the <strong data-start="1932" data-end="1940">Data</strong> tab.</p>
</li>
<li data-start="1948" data-end="2047">
<p data-start="1951" data-end="2021">Click <strong data-start="1957" data-end="2018">Get Data &gt; Legacy Wizards &gt; From Microsoft Query (Legacy)</strong>.</p>
</li>
</ul>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/3092/005 Legacy Wizard.png" alt="" /></p>
<p>&nbsp;</p>
<p>By following the steps above, you can restore and use the Microsoft Query (Legacy) wizard in Excel 365, allowing seamless data import via QODBC from external applications such as QuickBooks.</p>
<p>&nbsp;</p>
<p>Tags:&nbsp;"Microsoft Query" is not a data option.&nbsp;Microsoft Query is missing, how to enable&nbsp;Microsoft Query, show&nbsp;Microsoft Query</p>
<p align="center">&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - How to fix duplicate records in the table]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3083]]></link>
<guid isPermaLink="false"><![CDATA[d3157f2f0212a80a5d042c127522a2d5]]></guid>
<pubDate><![CDATA[Tue, 03 Sep 2024 14:01:53 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to&nbsp;fix duplicate records in the QODBC table.
Problem Description:
I want to cancel my&nbsp;QODBC Driver for QuickBooks Desktop monthly subscription. How do I cancel the subscription to QODBC Driver for QuickBooks Desktop?
&n...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to&nbsp;fix duplicate records in the QODBC table.</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I want to cancel my&nbsp;QODBC Driver for QuickBooks Desktop monthly subscription. <br /><br />How do I cancel the subscription to QODBC Driver for QuickBooks Desktop?</span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>&nbsp;</p>
<p>Start QuickBooks and log in to the QuickBooks company file as QuickBooks user "Admin".</p>
<p>Connect to QuickBooks Data using the QODBC 32-bit Test Tool.</p>
<p>Execute the following SQL statement.</p>
<p>&nbsp;</p>
<p>sp_optimizefullsync TableName</p>
<p>&nbsp;</p>
<p>example</p>
<p>sp_optimizefullsync Customer<br />or</p>
<p>sp_optimizefullsync Vendor</p>
<p>or</p>
<p>sp_optimizefullsync Invoice</p>
<p>&nbsp;</p>
<p>Tags: QuickBooks Desktop, QBD,Desktop Subscription QODBC Desktop, Cancel subscription</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p>Start QuickBooks and log in to the QuickBooks company file as QuickBooks user "Admin".</p>
<p>Connect to QuickBooks Data using the QODBC 32-bit Test Tool.</p>
<p>Execute the following SQL statement.</p>
<p>&nbsp;</p>
<p>sp_optimizefullsync&nbsp;TableName</p>
<p>&nbsp;</p>
<p>example</p>
<p>sp_optimizefullsync&nbsp;Customer</p>
<p>or</p>
<p>sp_optimizefullsync Vendor</p>
<p>or</p>
<p>sp_optimizefullsync&nbsp;Invoice</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Windows cannot find fqqbsav.exe]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3060]]></link>
<guid isPermaLink="false"><![CDATA[0a5c79b1eaf15445da252ada718857e9]]></guid>
<pubDate><![CDATA[Mon, 14 Nov 2022 08:30:55 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Solved:[QODBC-ALL] Troubleshooting - Windows cannot find fqqbsav.exe&nbsp;
Problem Description
Issue 1:
I just updated QODBC to the latest build, 349. When trying to connect to the&nbsp;QRemote DSN, I get the following error message.
Windows cannot fi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Solved:[QODBC-ALL] Troubleshooting - Windows cannot find fqqbsav.exe&nbsp;</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem Description</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Issue 1:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I just updated QODBC to the latest build, 349. When trying to connect to the&nbsp;QRemote DSN, I get the following error message.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Windows cannot find 'fqqbvsav.exe'. Make sure you typed the name correctly, and then try again.</span></p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/3060/qodbc.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Issue 2:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I moved everything over to a new computer and upgraded to the latest QOCBC. I can't get the connection. The latest error is windows cannot find 'fqqbvsav.exe' Make sure you typed the name correctly, and then try again.</span></p>
<p>&nbsp;</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/3060/2022-09-03_12-54-59.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Reason</span></h3>
<p>&nbsp;The issue is caused when the QRemote Client driver cannot write to the folder.&nbsp;</p>
<p>"C:\Program Files (x86)\QODBC Driver for QuickBooks".</p>
<p>The issue is reported as bug/task ID: B01491. We are working on fixing the issue.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solutions</span></h3>
<p>Solution 1:</p>
<p>Open the QRemote Client DSN using the ODBC Data Source. Opening the DSN configuration will create/update necessary files in the QODBC folder.</p>
<p>This should fix the issue.</p>
<p>Please make sure you have logged into Windows as "Administrator".</p>
<p>&nbsp;</p>
<p>QODBC Desktop</p>
<div>Start &gt;&gt;QODBC Driver for QuickBooks &gt;&gt; Configure&nbsp;32-Bit QODBC Data Source &gt;&gt; Switch to the "System DSN" tab. Select the "QuickBooks Data QRemote" DSN &gt;&gt; Click "Configure". Close the DSN.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<p>QODBC&nbsp;Online</p>
<div>Start &gt;&gt;QODBC Driver for QuickBooks Online &gt;&gt; Configure 32-Bit QODBC Online Data Source &gt;&gt; Switch to the "System DSN" tab. Select the "QuickBooks Online Data QRemote" DSN &gt;&gt; Click "Configure". Close the DSN.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<p>QODBC POS</p>
<div>Start &gt;&gt;QODBC Driver for QuickBooks POS &gt;&gt; Configure&nbsp;32-Bit QODBC POS Data Source &gt;&gt; Switch to the "System DSN" tab. Select the "QuickBooks POS Data QRemote" DSN &gt;&gt; Click "Configure". Close the DSN.</div>
<div>&nbsp;</div>
<p>Please test your application now.</p>
<p>&nbsp;</p>
<p>&nbsp;Solution 2:</p>
<p>&nbsp;If the above solution does not work, it means you do not have permission to write to the QODBC folder in the program files.</p>
<p>&nbsp;Please contact your system administrator to either provide you with Read and Write&nbsp;access to the QODBC folder in the program files.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QODBC with Office 64-Bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3025]]></link>
<guid isPermaLink="false"><![CDATA[2bd235c31c97855b7ef2dc8b414779af]]></guid>
<pubDate><![CDATA[Wed, 21 Aug 2019 07:58:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Using QODBC with Office 64-Bit
QuickBooks is a 32-Bit application, but other applications such as MS Excel, MS Access, and MS SQL Server are also available in 64-Bit architecture.
Since a 64-Bit application cannot talk to a 32-bit driver, we have to do...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;"> Using QODBC with Office 64-Bit</span></h2>
<p>QuickBooks is a 32-Bit application, but other applications such as MS Excel, MS Access, and MS SQL Server are also available in 64-Bit architecture.</p>
<p>Since a 64-Bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect, and we call it QRemote.&nbsp; QRemote works as a bridge between 64-Bit Applications and the 32-Bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-Bit Web Servers and 64-Bit applications to talk to QuickBooks live for the first time via the QODBC Driver.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Office 64-Bit</span></h3>
<div id="yui_3_15_0_2_1552399662222_814">
<p id="yui_3_15_0_2_1552399662222_813" class="ygrps-yiv-1231338846MsoNormal">To use QODBC with MS Office 64-Bit, you need to use QRemote. This feature (QRemote) is built-in to fully licensed versions of QODBC.</p>
</div>
<p>For Excel: <a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2772">Click Here</a></p>
<p>For Access: <a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2771">Click Here</a>&nbsp;</p>
<p>For QODBC&nbsp;bundled with QuickBooks Enterprise Edition, we suggest installing Office 32-Bit -&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3000" target="_blank">How to convert MS Office from 64-bit to 32-bit</a>.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Office 32-Bit</span></h3>
<div id="yui_3_15_0_2_1552399662222_814">
<p class="ygrps-yiv-1231338846MsoNormal">Please refer to the following articles for&nbsp;How to connect and use MS Office (32-bit) with QODBC.</p>
<p>For Excel: <a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit">Click Here</a></p>
<p>For Access: <a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Click Here</a></p>
<p>Video - <a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2509">Click Here</a></p>
<p>&nbsp;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use PowerShell with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2826]]></link>
<guid isPermaLink="false"><![CDATA[12311d05c9aa67765703984239511212]]></guid>
<pubDate><![CDATA[Thu, 01 Sep 2016 10:11:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use PowerShell with QODBC
Download Sample
Sample Code for using QODBC DSN:
$connectstring = "DSN=QuickBooks Data;"$sql = "Select TOP 10 Name from Customer"$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)$conn.open()$cmd = New-O...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use PowerShell with QODBC</span></h2>
<p><a href="http://support.flexquarters.com/esupport/newimages/PowerShell/DisplaySQL.zip">Download Sample</a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Sample Code for using QODBC DSN:</span></h3>
<p>$connectstring = "DSN=QuickBooks Data;"<br /><br />$sql = "Select TOP 10 Name from Customer"<br /><br />$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)<br /><br />$conn.open()<br /><br />$cmd = New-Object system.Data.Odbc.OdbcCommand($sql,$conn)<br /><br />$da = New-Object system.Data.Odbc.OdbcDataAdapter($cmd)<br /><br />$dt = New-Object system.Data. data table<br /><br />$null = $da.fill($dt)<br /><br />$conn.close()<br /><br />$dt<br /><br /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step1.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Script execution &amp; Result:</span></span></h3>
<p>Open Windows PowerShell (x86) from the start menu: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step2.png" alt="" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step3.png" alt="" /></p>
<p>Navigate to your PowerShell script folder: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step4.png" alt="" /></p>
<p><br />Run your PowerShell script: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p><br />Result: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step6.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Sample Code for using QRemote DSN:</span></h3>
<p>$connectstring = "DSN=QuickBooks Data QRemote;"<br /><br />$sql = "Select TOP 10 Name from Customer"<br /><br />$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)<br /><br />$conn.open()<br /><br />$cmd = New-Object system.Data.Odbc.OdbcCommand($sql,$conn)<br /><br />$da = New-Object system.Data.Odbc.OdbcDataAdapter($cmd)<br /><br />$dt = New-Object system.Data. data table<br /><br />$null = $da.fill($dt)<br /><br />$conn.close()<br /><br />$dt<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step7.png" alt="" /></p>
<p><br />Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436">&nbsp;to configure QRemote</a>.</p>
<p>Please Note: If you have a 64-bit application, you must use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote.</strong>"</p>
<p>Also, Refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2439" target="_blank">QODBC Reports Architecture Mismatch Problem When connecting</a></p>
<hr class="kbhr" />]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Update from a select statement not working]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2818]]></link>
<guid isPermaLink="false"><![CDATA[d53697441ef12a45422f6660202f9840]]></guid>
<pubDate><![CDATA[Fri, 19 Aug 2016 13:02:28 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Update from a select statement not working 
Problem Description:
I am trying to update records through the select statement. But it is not working. UPDATE Customer SET CustomFieldProjectNumber = i.JobNumber FROM ( SELECT ListID, {fn S...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Update from a select statement not working </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to update records through the select statement. But it is not working. <br /><br />UPDATE Customer SET CustomFieldProjectNumber = i.JobNumber FROM ( SELECT ListID, {fn SUBSTRING("Name", 1, 5)} AS JobNumber FROM Customer WHERE TimeCreated &gt; {ts '2016-01-01 00:00:00.000'} ) i WHERE i.ListID = Customer.ListID<br /><br />I am getting the "Unexpected extra token: (" error in QODBC Test Tool.&nbsp;</span>&nbsp;</p>
<p><img src="https://support.flexquarters.com/esupport/newimages/2818/Q1.png" alt="" /></p>
<p>Any Assistance Is Appreciated.</p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can execute the below query in MS Access linked table without any issue.<br /><br />Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit" target="_blank">How to Use QODBC with MS Access 2016 / 365 / 2013 32-bit </a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to link the Customer table in MS Access &amp; execute the query in the access query editor.<br /><br />MS Access&gt;&gt; create tab &gt;&gt; Query Design &gt;&gt; Paste query &gt;&gt; Execute query using Run button <br /><br />Update Customer qe inner join Customer de on qe.ListID = de.ListID set qe.CustomFieldProjectNumber = MID (de.Name,1,5) WHERE qe.TimeCreated &gt;#2016-01-01 00:00:01#<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Accessing QuickBooks Data remotely via SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2815]]></link>
<guid isPermaLink="false"><![CDATA[f5b1b89d98b7286673128a5fb112cb9a]]></guid>
<pubDate><![CDATA[Fri, 19 Aug 2016 08:06:02 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Accessing QuickBooks Data remotely via SQL Server
First, you need to create Linked Server in SQL Server.
For 32-bit SQL Server. Please refer to&nbsp;How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote.
For 64-bit SQL Server....]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Accessing QuickBooks Data remotely via SQL Server</span></h2>
<p>First, you need to create Linked Server in SQL Server.</p>
<p>For 32-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a>.</p>
<p>For 64-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>.</p>
<p>&nbsp;</p>
<p>I have already created a linked server, "QRemote."</p>
<p><img src="//support.flexquarters.com/esupport/newimages/Remotely/step1.png" alt="" /></p>
<p>After creating Linked Server, You need to create a new database in SQL Server for creating the stored procedure which accepts SQL queries. The stored procedure will call the linked server and execute the query.</p>
<p>To create a database, You need to right-click on "Database" &amp; click on "New Database."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step2.png" alt="" /></span></p>
<p>Enter the database name &amp; click "OK." In this example, I am creating the database "QODBC."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step3.png" alt="" /></span></p>
<p>Database created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step4.png" alt="" /></span></p>
<p>Now, We will create a stored procedure that accepts SQL queries. The stored procedure will call the linked server and execute the query. <br /><br />In Object Explorer, connect to an instance of Database Engine and then expand that instance. <br /><br />Expand Databases, expand Your database, and then expand Programmability. <br /><br />Right-click Stored Procedures, and then click New Stored Procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step5.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>We will create two stored procedures first one will give us a list of all customers &amp; second procedure will accept SQL queries through parameters &amp; execute them on the linked server &amp; provide the query result.</p>
<p>We will create the stored procedure named GetCustomer, which will query the Customer table through the linked table in SQL Server &amp; provide a list of the customers.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step6.png" alt="" /></span></p>
<p>Stored Procedure Created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step7.png" alt="" /></span></p>
<p><strong>Stored Procedure Code:</strong></p>
<p>================================================================<br />SET ANSI_NULLS ON<br />GO<br />SET QUOTED_IDENTIFIER ON<br />GO<br /><br />CREATE PROCEDURE GetCustomer<br /><br />AS<br />BEGIN<br />SET NOCOUNT ON;<br /><br />SELECT * from QRemote...customer<br /><br />END<br />GO<br />================================================================<br /><br /></p>
<p><strong>Note: The above-stored procedure code is, for example. You can change it as per your requirement.</strong></p>
<p>By executing this stored procedure, we will get a list of the Customers.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step10.png" alt="" /></span></p>
<p>We will create a second stored procedure named QODBCQuery which will accept SQL query through parameters &amp; execute on the linked server &amp; provide the query result.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step8.png" alt="" /></span></p>
<p>Stored Procedure Created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step9.png" alt="" /></span></p>
<p><strong>Stored Procedure Code:</strong></p>
<p>================================================================<br />SET ANSI_NULLS ON<br />GO<br />SET QUOTED_IDENTIFIER ON<br />GO <br /><br />Create PROCEDURE QODBCQuery<br /><br />@sqlQuery nvarchar( 4000)<br /><br />AS<br />BEGIN<br />SET NOCOUNT ON;<br /><br />DECLARE @TSQL varchar(8000)<br />SELECT @TSQL = 'SELECT * FROM OPENQUERY(QRemote,''' + @sqlQuery + ''')'<br />EXEC (@TSQL)<br /><br />END<br />GO<br />================================================================</p>
<p><strong>Note: The above-stored procedure code is, for example. You can change it as per your requirement.</strong></p>
<p>We must pass the query as the parameter value to execute this stored procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step11.png" alt="" /></span></p>
<p>Query results through the stored procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step12.png" alt="" /></span></p>
<p><br /><br /></p>
<p>Now, We will create SQL Server DSN on the non-SQL Server machine to access QuickBooks Data remotely via SQL Server.</p>
<p>Locate the QODBC Driver for the QuickBooks program group on your desktop. Click on the Configure QODBC Data Source icon to create SQL Server DSN.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step13.png" alt="" /></span></p>
<p>Click on the System DSN tab to create a DSN that both Windows applications and services can call. Click on the Add button to create a new DSN.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step14.png" alt="" /></span></p>
<p>Select SQL Server &amp; click "Finish."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step15.png" alt="" /></span></p>
<p>Enter the DSN name and SQL Server machine IP address &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step16.png" alt="" /></span></p>
<p>Select the authenticity of SQL Server &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step17.png" alt="" /></span></p>
<p>Select the SQL Server database where we have created the stored procedure &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step18.png" alt="" /></span></p>
<p>Click "Finish."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step19.png" alt="" /></span></p>
<p>Click on "Test Data Source.." to test the connection.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step20.png" alt="" /></span></p>
<p>Test connection success.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step21.png" alt="" /></span></p>
<p><br /><br /></p>
<p><strong>Note:</strong> If you are using the latest version of QODBC, you can use the "QODBC 64-Bit Test tool"</p>
<p>Open the "QODBC 64-Bit Test tool" from the start menu</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-22.png" alt="" /></span></p>
<p>Click on the "Drop-down Menu" button</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-23.png" alt="" /></span></p>
<p>Select DSN from the Drop-down list</p>
<p><strong>For example: </strong>"QuickBooks Data 64-Bit QRemote."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-24.png" alt="" /></span></p>
<p>Click on the "Connect" button.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-25.png" alt="" /></span></p>
<p>Write down the query in the marked field. Please refer to the image</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-26.png" alt="" /></span></p>
<p>Click on the "Run" button</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-27.png" alt="" /></span></p>
<p><strong>Note:</strong> The above Query is, for example. You can change it as per your requirement.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-28.png" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Import QuickBooks data to SQL Server Database (Local Table)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2814]]></link>
<guid isPermaLink="false"><![CDATA[8e987cf1b2f1f6ffa6a43066798b4b7f]]></guid>
<pubDate><![CDATA[Tue, 09 Aug 2016 16:02:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Import QuickBooks data to SQL Server Database (Local Table)
First, you need to create Linked Server in SQL Server.
For 32-bit SQL Server. Please refer to&nbsp;How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote.
For 6...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Import QuickBooks data to SQL Server Database (Local Table)</span></h2>
<p>First, you need to create Linked Server in SQL Server.</p>
<p>For 32-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a>.</p>
<p>For 64-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>.</p>
<p>&nbsp;</p>
<p>I have already created a linked server, "QRemote."</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step13.png" alt="" /></p>
<p>After creating Linked Server, You need to make the stored procedure, which will read data from the Linked Server table &amp; write it into SQL Server local table.</p>
<p>For storing Linked Server data in the local database. It would be best if you used the INSERT INTO SELECT query as below.</p>
<p>For Example:<br /><br />SELECT * INTO SQL_Local_TableName FROM YourLinkedServerName...TableName;</p>
<p>First, we will add a single table in the local database. After that, we will create a stored procedure for all tables</p>
<p>We will add an Account table in the local database with the table name as Tbl_Account.<br /><br />SELECT * INTO Tbl_Account FROM QRemote...Account</p>
<p><img src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step14.png" alt="" /></p>
<p>The Tbl_Account table is created for the local database with 105 records.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step15.png" alt="" /></p>
<p>Now we will query in local table Tbl_Account.<br />Select * from Tbl_Account<br />Data is available in the local database table.</p>
<p><img src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step16.png" alt="" /></p>
<p>Now, We will create a stored procedure that will read data from the Linked Server table &amp; write it into SQL Server local table. <br /><br />In Object Explorer, connect to an instance of Database Engine and then expand that instance. <br /><br />Expand Databases, expand Your database, and then expand Programmability. <br /><br />Right-click Stored Procedures and then click the New Stored Procedure.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step1.png" alt="" /></p>
<p>&nbsp;</p>
<p>We will create the stored procedure named Import_QODBC_Tables, which will check in the local database if the table exists. It will drop the table &amp; recreate the table &amp; read all the linked server tables &amp; create a new table in a local database.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step2.png" alt="" /></p>
<p><br /><br /></p>
<p>After writing the stored procedure, click on execute to create the stored procedure.</p>
<p><img src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step3.png" alt="" /></p>
<p>Stored Procedure Created.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step4.png" alt="" /></p>
<p><strong>Stored Procedure Code:</strong></p>
<p>================================================================</p>
<p>USE [QODBC]<br />GO<br />/****** Object:&nbsp; StoredProcedure [dbo].[Import_QODBC_Tables]&nbsp;&nbsp;&nbsp; Script Date: 07/29/2016 00:28:38 ******/<br />SET ANSI_NULLS ON<br />GO<br />SET QUOTED_IDENTIFIER ON<br />GO<br /><br /><br />Create PROCEDURE [dbo].[Import_QODBC_Tables]<br /><br /><br />AS<br />begin<br /><br />IF OBJECT_ID (N'Tbl_Account', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Account<br />&nbsp; &nbsp;<br />SELECT * INTO Tbl_Account&nbsp;&nbsp; &nbsp;FROM QRemote...Account<br /><br />IF OBJECT_ID (N'Tbl_AccountTaxLineInfo', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_AccountTaxLineInfo<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_AccountTaxLineInfo&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...AccountTaxLineInfo<br /><br />IF OBJECT_ID (N'Tbl_ARRefundCreditCard', N'U') IS NOT NULL <br />&nbsp; <br />Drop table&nbsp;Tbl_ARRefundCreditCard<br /><br />SELECT * INTO&nbsp; &nbsp; Tbl_ARRefundCreditCard&nbsp; &nbsp; FROM&nbsp;&nbsp; &nbsp;QRemote...ARRefundCreditCard<br /><br />IF OBJECT_ID (N'Tbl_ARRefundCreditCardRefundAppliedTo', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_ARRefundCreditCardRefundAppliedTo<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ARRefundCreditCardRefundAppliedTo&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ARRefundCreditCardRefundAppliedTo<br /><br />IF OBJECT_ID (N'Tbl_BarCode', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BarCode<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BarCode&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BarCode<br /><br />IF OBJECT_ID (N'Tbl_Bill', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Bill<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Bill&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Bill<br /><br />IF OBJECT_ID (N'Tbl_BillExpenseLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillExpenseLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_BillItemLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillItemLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillItemLine<br /><br />IF OBJECT_ID (N'Tbl_BillLinkedTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillLinkedTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_BillingRate', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillingRate<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillingRate&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillingRate<br /><br />IF OBJECT_ID (N'Tbl_BillingRateLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillingRateLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillingRateLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillingRateLine<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCheck', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCheck<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCheck&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCheck<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCheckLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCheckLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCheckLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCheckLine<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCheckLineLinkedTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCheckLineLinkedTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCheckLineLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCheckLineLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCreditCard', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCreditCard<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCreditCard&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCreditCard<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCreditCardLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCreditCardLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCreditCardLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCreditCardLine<br /><br />IF OBJECT_ID (N'Tbl_BillPaymentCreditCardLineLinkedTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillPaymentCreditCardLineLinkedTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillPaymentCreditCardLineLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillPaymentCreditCardLineLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_BillToPay', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BillToPay<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BillToPay&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BillToPay<br /><br />IF OBJECT_ID (N'Tbl_BuildAssembly', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BuildAssembly<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BuildAssembly&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BuildAssembly<br /><br />IF OBJECT_ID (N'Tbl_BuildAssemblyComponentItemLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_BuildAssemblyComponentItemLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_BuildAssemblyComponentItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...BuildAssemblyComponentItemLine<br /><br />IF OBJECT_ID (N'Tbl_Charge', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Charge<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Charge&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Charge<br /><br />IF OBJECT_ID (N'Tbl_ChargeLinkedTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_ChargeLinkedTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ChargeLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ChargeLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_Check', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Check<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Check&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote..."Check"<br /><br />IF OBJECT_ID (N'Tbl_CheckApplyCheckToTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CheckApplyCheckToTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CheckApplyCheckToTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CheckApplyCheckToTxn<br /><br />IF OBJECT_ID (N'Tbl_CheckExpenseLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CheckExpenseLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CheckExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CheckExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_CheckItemLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CheckItemLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CheckItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CheckItemLine<br /><br />IF OBJECT_ID (N'Tbl_Class', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Class<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Class&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Class<br /><br />IF OBJECT_ID (N'Tbl_ClearedStatus', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_ClearedStatus<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ClearedStatus&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ClearedStatus<br /><br />IF OBJECT_ID (N'Tbl_Company', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Company<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Company&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Company<br /><br />IF OBJECT_ID (N'Tbl_CompanyActivity', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CompanyActivity<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CompanyActivity&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CompanyActivity<br /><br />IF OBJECT_ID (N'Tbl_CreditCardCharge', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardCharge<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardCharge&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardCharge<br /><br />IF OBJECT_ID (N'Tbl_CreditCardChargeExpenseLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardChargeExpenseLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardChargeExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardChargeExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_CreditCardChargeItemLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardChargeItemLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardChargeItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardChargeItemLine<br /><br />IF OBJECT_ID (N'Tbl_CreditCardCredit', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardCredit<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardCredit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardCredit<br /><br />IF OBJECT_ID (N'Tbl_CreditCardCreditExpenseLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardCreditExpenseLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardCreditExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardCreditExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_CreditCardCreditItemLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditCardCreditItemLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditCardCreditItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditCardCreditItemLine<br /><br />IF OBJECT_ID (N'Tbl_CreditMemo', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditMemo<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditMemo&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditMemo<br /><br />IF OBJECT_ID (N'Tbl_CreditMemoLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditMemoLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditMemoLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditMemoLine<br /><br />IF OBJECT_ID (N'Tbl_CreditMemoLinkedTxn', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CreditMemoLinkedTxn<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CreditMemoLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CreditMemoLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_Currency', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Currency<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Currency&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Currency<br /><br />IF OBJECT_ID (N'Tbl_Customer', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Customer<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Customer&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Customer<br /><br />IF OBJECT_ID (N'Tbl_CustomerAddtionalNote', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomerAddtionalNote<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomerAddtionalNote&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomerAddtionalNote<br /><br />IF OBJECT_ID (N'Tbl_CustomerContacts', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomerContacts<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomerContacts&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomerContacts<br /><br />IF OBJECT_ID (N'Tbl_CustomerShipToAddress', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomerShipToAddress<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomerShipToAddress&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomerShipToAddress<br /><br />IF OBJECT_ID (N'Tbl_CustomerMsg', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomerMsg<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomerMsg&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomerMsg<br /><br />IF OBJECT_ID (N'Tbl_CustomerType', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomerType<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomerType&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomerType<br /><br />IF OBJECT_ID (N'Tbl_CustomField', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_CustomField<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_CustomField&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...CustomField<br /><br />IF OBJECT_ID (N'Tbl_DateDrivenTerms', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_DateDrivenTerms<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_DateDrivenTerms&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...DateDrivenTerms<br /><br />IF OBJECT_ID (N'Tbl_Deposit', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Deposit<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Deposit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Deposit<br /><br />IF OBJECT_ID (N'Tbl_DepositLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_DepositLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_DepositLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...DepositLine<br /><br />IF OBJECT_ID (N'Tbl_Employee', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Employee<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Employee&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Employee<br /><br />IF OBJECT_ID (N'Tbl_EmployeeAddtionalNote', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EmployeeAddtionalNote<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EmployeeAddtionalNote&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EmployeeAddtionalNote<br /><br />IF OBJECT_ID (N'Tbl_EmployeeEarning', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EmployeeEarning<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EmployeeEarning&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EmployeeEarning<br /><br />IF OBJECT_ID (N'Tbl_Entity', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Entity<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Entity&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Entity<br /><br />IF OBJECT_ID (N'Tbl_EntityAdditionalNote', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EntityAdditionalNote<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EntityAdditionalNote&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EntityAdditionalNote<br /><br />IF OBJECT_ID (N'Tbl_EntityContacts', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EntityContacts<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EntityContacts&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EntityContacts<br /><br />IF OBJECT_ID (N'Tbl_EntityShipToAddress', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EntityShipToAddress<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EntityShipToAddress&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EntityShipToAddress<br /><br />IF OBJECT_ID (N'Tbl_Estimate', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_Estimate<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Estimate&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Estimate<br /><br />IF OBJECT_ID (N'Tbl_EstimateLine', N'U') IS NOT NULL <br />&nbsp; <br />Drop table Tbl_EstimateLine<br /><br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EstimateLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EstimateLine<br /><br />IF OBJECT_ID (N'Tbl_EstimateLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_EstimateLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_EstimateLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...EstimateLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_Host', N'U') IS NOT NULL<br />Drop table Tbl_Host<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Host&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Host<br /><br />IF OBJECT_ID (N'Tbl_HostMetaData', N'U') IS NOT NULL<br />Drop table Tbl_HostMetaData<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_HostMetaData&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...HostMetaData<br /><br />IF OBJECT_ID (N'Tbl_HostSupportedVersions', N'U') IS NOT NULL<br />Drop table Tbl_HostSupportedVersions<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_HostSupportedVersions&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...HostSupportedVersions<br /><br />IF OBJECT_ID (N'Tbl_InventoryAdjustment', N'U') IS NOT NULL<br />Drop table Tbl_InventoryAdjustment<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_InventoryAdjustment&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...InventoryAdjustment<br /><br />IF OBJECT_ID (N'Tbl_InventoryAdjustmentLine', N'U') IS NOT NULL<br />Drop table Tbl_InventoryAdjustmentLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_InventoryAdjustmentLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...InventoryAdjustmentLine<br /><br />IF OBJECT_ID (N'Tbl_InventorySite', N'U') IS NOT NULL<br />Drop table Tbl_InventorySite<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_InventorySite&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...InventorySite<br /><br />IF OBJECT_ID (N'Tbl_Invoice', N'U') IS NOT NULL<br />Drop table Tbl_Invoice<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Invoice&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Invoice<br /><br />IF OBJECT_ID (N'Tbl_InvoiceLine', N'U') IS NOT NULL<br />Drop table Tbl_InvoiceLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_InvoiceLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...InvoiceLine<br /><br />IF OBJECT_ID (N'Tbl_InvoiceLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_InvoiceLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_InvoiceLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...InvoiceLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_Item', N'U') IS NOT NULL<br />Drop table Tbl_Item<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Item&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Item<br /><br />IF OBJECT_ID (N'Tbl_ItemAssembliesCanBuild', N'U') IS NOT NULL<br />Drop table Tbl_ItemAssembliesCanBuild<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemAssembliesCanBuild&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemAssembliesCanBuild where ItemInventoryAssemblyRefFullName='assembly item' and TxnDate={d'2018-01-01'}<br /><br />IF OBJECT_ID (N'Tbl_ItemDiscount', N'U') IS NOT NULL<br />Drop table Tbl_ItemDiscount<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemDiscount&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemDiscount<br /><br />IF OBJECT_ID (N'Tbl_ItemFixedAsset', N'U') IS NOT NULL<br />Drop table Tbl_ItemFixedAsset<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemFixedAsset&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemFixedAsset<br /><br />IF OBJECT_ID (N'Tbl_ItemGroup', N'U') IS NOT NULL<br />Drop table Tbl_ItemGroup<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemGroup&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemGroup<br /><br />IF OBJECT_ID (N'Tbl_ItemGroupLine', N'U') IS NOT NULL<br />Drop table Tbl_ItemGroupLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemGroupLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemGroupLine<br /><br />IF OBJECT_ID (N'Tbl_ItemInventory', N'U') IS NOT NULL<br />Drop table Tbl_ItemInventory<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemInventory&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemInventory<br /><br />IF OBJECT_ID (N'Tbl_ItemInventoryAssembly', N'U') IS NOT NULL<br />Drop table Tbl_ItemInventoryAssembly<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemInventoryAssembly&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemInventoryAssembly<br /><br />IF OBJECT_ID (N'Tbl_ItemInventoryAssemblyLine', N'U') IS NOT NULL<br />Drop table Tbl_ItemInventoryAssemblyLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemInventoryAssemblyLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemInventoryAssemblyLine<br /><br />IF OBJECT_ID (N'Tbl_ItemNonInventory', N'U') IS NOT NULL<br />Drop table Tbl_ItemNonInventory<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemNonInventory&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemNonInventory<br /><br />IF OBJECT_ID (N'Tbl_ItemOtherCharge', N'U') IS NOT NULL<br />Drop table Tbl_ItemOtherCharge<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemOtherCharge&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemOtherCharge<br /><br />IF OBJECT_ID (N'Tbl_ItemPayment', N'U') IS NOT NULL<br />Drop table Tbl_ItemPayment<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemPayment&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemPayment<br /><br />IF OBJECT_ID (N'Tbl_ItemReceipt', N'U') IS NOT NULL<br />Drop table Tbl_ItemReceipt<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemReceipt&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemReceipt<br /><br />IF OBJECT_ID (N'Tbl_ItemReceiptExpenseLine', N'U') IS NOT NULL<br />Drop table Tbl_ItemReceiptExpenseLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemReceiptExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemReceiptExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_ItemReceiptItemLine', N'U') IS NOT NULL<br />Drop table Tbl_ItemReceiptItemLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemReceiptItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemReceiptItemLine<br /><br />IF OBJECT_ID (N'Tbl_ItemReceiptLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_ItemReceiptLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemReceiptLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemReceiptLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_ItemSalesTax', N'U') IS NOT NULL<br />Drop table Tbl_ItemSalesTax<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemSalesTax&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemSalesTax<br /><br />IF OBJECT_ID (N'Tbl_ItemSalesTaxGroup', N'U') IS NOT NULL<br />Drop table Tbl_ItemSalesTaxGroup<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemSalesTaxGroup&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemSalesTaxGroup<br /><br />IF OBJECT_ID (N'Tbl_ItemSalesTaxGroupLine', N'U') IS NOT NULL<br />Drop table Tbl_ItemSalesTaxGroupLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemSalesTaxGroupLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemSalesTaxGroupLine<br /><br />IF OBJECT_ID (N'Tbl_ItemSites', N'U') IS NOT NULL<br />Drop table Tbl_ItemSites<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemSites&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemSites<br /><br />IF OBJECT_ID (N'Tbl_ItemService', N'U') IS NOT NULL<br />Drop table Tbl_ItemService<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemService&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemService<br /><br />IF OBJECT_ID (N'Tbl_ItemSubtotal', N'U') IS NOT NULL<br />Drop table Tbl_ItemSubtotal<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ItemSubtotal&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ItemSubtotal<br /><br />IF OBJECT_ID (N'Tbl_JobType', N'U') IS NOT NULL<br />Drop table Tbl_JobType<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_JobType&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...job type<br /><br />IF OBJECT_ID (N'Tbl_JournalEntry', N'U') IS NOT NULL<br />Drop table Tbl_JournalEntry<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_JournalEntry&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...JournalEntry<br /><br />IF OBJECT_ID (N'Tbl_JournalEntryCreditLine', N'U') IS NOT NULL<br />Drop table Tbl_JournalEntryCreditLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_JournalEntryCreditLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...JournalEntryCreditLine<br /><br />IF OBJECT_ID (N'Tbl_JournalEntryDebitLine', N'U') IS NOT NULL<br />Drop table Tbl_JournalEntryDebitLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_JournalEntryDebitLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...JournalEntryDebitLine<br /><br />IF OBJECT_ID (N'Tbl_JournalEntryLine', N'U') IS NOT NULL<br />Drop table Tbl_JournalEntryLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_JournalEntryLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...JournalEntryLine<br /><br />IF OBJECT_ID (N'Tbl_ListDeleted', N'U') IS NOT NULL<br />Drop table Tbl_ListDeleted<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ListDeleted&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ListDeleted<br /><br />IF OBJECT_ID (N'Tbl_OtherName', N'U') IS NOT NULL<br />Drop table Tbl_OtherName<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_OtherName&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote... another name<br /><br />IF OBJECT_ID (N'Tbl_PaymentMethod', N'U') IS NOT NULL<br />Drop table Tbl_PaymentMethod<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PaymentMethod&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...payment method<br /><br />IF OBJECT_ID (N'Tbl_PayrollItemNonWage', N'U') IS NOT NULL<br />Drop table Tbl_PayrollItemNonWage<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PayrollItemNonWage&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PayrollItemNonWage<br /><br />IF OBJECT_ID (N'Tbl_PayrollItemWage', N'U') IS NOT NULL<br />Drop table Tbl_PayrollItemWage<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PayrollItemWage&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PayrollItemWage<br /><br />IF OBJECT_ID (N'Tbl_Preferences', N'U') IS NOT NULL<br />Drop table Tbl_Preferences<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Preferences&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Preferences<br /><br />IF OBJECT_ID (N'Tbl_PriceLevel', N'U') IS NOT NULL<br />Drop table Tbl_PriceLevel<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PriceLevel&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PriceLevel<br /><br />IF OBJECT_ID (N'Tbl_PriceLevelPerItem', N'U') IS NOT NULL<br />Drop table Tbl_PriceLevelPerItem<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PriceLevelPerItem&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PriceLevelPerItem<br /><br />IF OBJECT_ID (N'Tbl_PurchaseOrder', N'U') IS NOT NULL<br />Drop table Tbl_PurchaseOrder<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PurchaseOrder&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PurchaseOrder<br /><br />IF OBJECT_ID (N'Tbl_PurchaseOrderLine', N'U') IS NOT NULL<br />Drop table Tbl_PurchaseOrderLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PurchaseOrderLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PurchaseOrderLine<br /><br />IF OBJECT_ID (N'Tbl_PurchaseOrderLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_PurchaseOrderLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_PurchaseOrderLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...PurchaseOrderLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_ReceivePayment', N'U') IS NOT NULL<br />Drop table Tbl_ReceivePayment<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ReceivePayment&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...receive payment<br /><br />IF OBJECT_ID (N'Tbl_ReceivePaymentLine', N'U') IS NOT NULL<br />Drop table Tbl_ReceivePaymentLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ReceivePaymentLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ReceivePaymentLine<br /><br />IF OBJECT_ID (N'Tbl_ReceivePaymentLineLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_ReceivePaymentLineLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ReceivePaymentLineLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ReceivePaymentLineLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_ReceivePaymentToDeposit', N'U') IS NOT NULL<br />Drop table Tbl_ReceivePaymentToDeposit<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ReceivePaymentToDeposit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ReceivePaymentToDeposit<br /><br />IF OBJECT_ID (N'Tbl_Sales', N'U') IS NOT NULL<br />Drop table Tbl_Sales<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Sales&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Sales<br /><br />IF OBJECT_ID (N'Tbl_SalesLine', N'U') IS NOT NULL<br />Drop table Tbl_SalesLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesLine<br /><br />IF OBJECT_ID (N'Tbl_SalesOrder', N'U') IS NOT NULL<br />Drop table Tbl_SalesOrder<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesOrder&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesOrder<br /><br />IF OBJECT_ID (N'Tbl_SalesOrderLine', N'U') IS NOT NULL<br />Drop table Tbl_SalesOrderLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesOrderLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesOrderLine<br /><br />IF OBJECT_ID (N'Tbl_SalesOrderLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_SalesOrderLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesOrderLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesOrderLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_SalesReceipt', N'U') IS NOT NULL<br />Drop table Tbl_SalesReceipt<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesReceipt&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesReceipt<br /><br />IF OBJECT_ID (N'Tbl_SalesReceiptLine', N'U') IS NOT NULL<br />Drop table Tbl_SalesReceiptLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesReceiptLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesReceiptLine<br /><br />IF OBJECT_ID (N'Tbl_SalesRep', N'U') IS NOT NULL<br />Drop table Tbl_SalesRep<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesRep&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesRep<br /><br />IF OBJECT_ID (N'Tbl_SalesTaxCode', N'U') IS NOT NULL<br />Drop table Tbl_SalesTaxCode<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesTaxCode&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesTaxCode<br /><br />IF OBJECT_ID (N'Tbl_SalesTaxPaymentCheck', N'U') IS NOT NULL<br />Drop table Tbl_SalesTaxPaymentCheck<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesTaxPaymentCheck&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesTaxPaymentCheck<br /><br />IF OBJECT_ID (N'Tbl_SalesTaxPaymentCheckLine', N'U') IS NOT NULL<br />Drop table Tbl_SalesTaxPaymentCheckLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SalesTaxPaymentCheckLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SalesTaxPaymentCheckLine<br /><br />IF OBJECT_ID (N'Tbl_ShipMethod', N'U') IS NOT NULL<br />Drop table Tbl_ShipMethod<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ShipMethod&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ShipMethod<br /><br />IF OBJECT_ID (N'Tbl_SpecialAccount', N'U') IS NOT NULL<br />Drop table Tbl_SpecialAccount<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SpecialAccount&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SpecialAccount<br /><br />IF OBJECT_ID (N'Tbl_SpecialItem', N'U') IS NOT NULL<br />Drop table Tbl_SpecialItem<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_SpecialItem&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...SpecialItem<br /><br />IF OBJECT_ID (N'Tbl_StandardTerms', N'U') IS NOT NULL<br />Drop table Tbl_StandardTerms<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_StandardTerms&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...StandardTerms<br /><br />IF OBJECT_ID (N'Tbl_TaxCode', N'U') IS NOT NULL<br />Drop table Tbl_TaxCode<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_TaxCode&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...TaxCode<br /><br />IF OBJECT_ID (N'Tbl_Template', N'U') IS NOT NULL<br />Drop table Tbl_Template<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Template&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Template<br /><br />IF OBJECT_ID (N'Tbl_Terms', N'U') IS NOT NULL<br />Drop table Tbl_Terms<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Terms&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Terms<br /><br />IF OBJECT_ID (N'Tbl_TimeTracking', N'U') IS NOT NULL<br />Drop table Tbl_TimeTracking<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_TimeTracking&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...TimeTracking<br /><br />IF OBJECT_ID (N'Tbl_ToDo', N'U') IS NOT NULL<br />Drop table Tbl_ToDo<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_ToDo&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...ToDo<br /><br />IF OBJECT_ID (N'Tbl_Transaction', N'U') IS NOT NULL<br />Drop table Tbl_Transaction<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Transaction&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote..."Transaction"<br /><br />IF OBJECT_ID (N'Tbl_Transfer', N'U') IS NOT NULL<br />Drop table Tbl_Transfer<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Transfer&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Transfer<br /><br />IF OBJECT_ID (N'Tbl_TransferInventory', N'U') IS NOT NULL<br />Drop table Tbl_TransferInventory<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_TransferInventory&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...TransferInventory<br /><br />IF OBJECT_ID (N'Tbl_TransferInventoryLine', N'U') IS NOT NULL<br />Drop table Tbl_TransferInventoryLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_TransferInventoryLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...TransferInventoryLine<br /><br />IF OBJECT_ID (N'Tbl_TxnDeleted', N'U') IS NOT NULL<br />Drop table Tbl_TxnDeleted<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_TxnDeleted&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...TxnDeleted<br /><br />IF OBJECT_ID (N'Tbl_UnitOfMeasureSet', N'U') IS NOT NULL<br />Drop table Tbl_UnitOfMeasureSet<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_UnitOfMeasureSet&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...UnitOfMeasureSet<br /><br />IF OBJECT_ID (N'Tbl_UnitOfMeasureSetRelatedUnit', N'U') IS NOT NULL<br />Drop table Tbl_UnitOfMeasureSetRelatedUnit<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_UnitOfMeasureSetRelatedUnit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...UnitOfMeasureSetRelatedUnit<br /><br />IF OBJECT_ID (N'Tbl_UnitOfMeasureSetDefaultUnit', N'U') IS NOT NULL<br />Drop table Tbl_UnitOfMeasureSetDefaultUnit<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_UnitOfMeasureSetDefaultUnit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...UnitOfMeasureSetDefaultUnit<br /><br />IF OBJECT_ID (N'Tbl_Vehicle', N'U') IS NOT NULL<br />Drop table Tbl_Vehicle<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Vehicle&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Vehicle<br /><br />IF OBJECT_ID (N'Tbl_VehicleMileage', N'U') IS NOT NULL<br />Drop table Tbl_VehicleMileage<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VehicleMileage&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VehicleMileage<br /><br />IF OBJECT_ID (N'Tbl_Vendor', N'U') IS NOT NULL<br />Drop table Tbl_Vendor<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_Vendor&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...Vendor<br /><br />IF OBJECT_ID (N'Tbl_VendorContacts', N'U') IS NOT NULL<br />Drop table Tbl_VendorContacts<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorContacts&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorContacts<br /><br />IF OBJECT_ID (N'Tbl_VendorCredit', N'U') IS NOT NULL<br />Drop table Tbl_VendorCredit<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorCredit&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorCredit<br /><br />IF OBJECT_ID (N'Tbl_VendorCreditExpenseLine', N'U') IS NOT NULL<br />Drop table Tbl_VendorCreditExpenseLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorCreditExpenseLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorCreditExpenseLine<br /><br />IF OBJECT_ID (N'Tbl_VendorCreditItemLine', N'U') IS NOT NULL<br />Drop table Tbl_VendorCreditItemLine<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorCreditItemLine&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorCreditItemLine<br /><br />IF OBJECT_ID (N'Tbl_VendorCreditLinkedTxn', N'U') IS NOT NULL<br />Drop table Tbl_VendorCreditLinkedTxn<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorCreditLinkedTxn&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorCreditLinkedTxn<br /><br />IF OBJECT_ID (N'Tbl_VendorType', N'U') IS NOT NULL<br />Drop table Tbl_VendorType<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_VendorType&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...VendorType<br /><br />IF OBJECT_ID (N'Tbl_WorkersCompCode', N'U') IS NOT NULL<br />Drop table Tbl_WorkersCompCode<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_WorkersCompCode&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...WorkersCompCode<br /><br />IF OBJECT_ID (N'Tbl_WorkersCompCodeRateHistory', N'U') IS NOT NULL<br />Drop table Tbl_WorkersCompCodeRateHistory<br />SELECT * INTO&nbsp;&nbsp; &nbsp;Tbl_WorkersCompCodeRateHistory&nbsp;&nbsp; &nbsp;FROM&nbsp;&nbsp; &nbsp;QRemote...WorkersCompCodeRateHistory<br /><br />end</p>
<p>&nbsp;</p>
<p>================================================================<br /><br /></p>
<p>All tables are imported to SQL Server Database by executing this stored procedure.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step17.png" alt="" /></p>
<p>You can see that all tables are imported into SQL Server Database.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step18.png" alt="" /></p>
<p>You can add this stored procedure to SQL Agent &amp; schedule it. So it will automatically add all tables to SQL Server Database.</p>
<p>Now we will add this stored procedure to SQL Agent.</p>
<p>Right-click on SQL Server Agent &amp; click on New &gt;&gt; Job to create a new Job.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step5.png" alt="" /></p>
<p>A New Job popup will appear. Specify the name of the job.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step6.png" alt="" /></p>
<p>Click next on the "Steps" in the left menu. An SQL job can contain one or more steps. A step might be simply an SQL statement or a stored procedure call. Add your effort here.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step7.png" alt="" /></p>
<p>Enter step name and type. Select&nbsp;the database, write the stored procedure execution command "exec Import_QODBC_Tables," &amp; click ok.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step8.png" alt="" /></p>
<p>Job step added.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step9.png" alt="" /></p>
<p>The job is added to SQL Server Agent.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step10.png" alt="" /></p>
<p>You can run a Job by right-clicking on the Job name &amp; click on "Start Job at Step..."</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step11.png" alt="" /></p>
<p>The job is executing.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLImportALL/step12.png" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Excel Automation - How to open, refresh and close a company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2813]]></link>
<guid isPermaLink="false"><![CDATA[39d352b0395ba768e18f042c6e2a8621]]></guid>
<pubDate><![CDATA[Tue, 09 Aug 2016 14:40:40 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Excel Automation - How to open, refresh and close a company file
Download Sample
Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to Microsoft Office wi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Excel Automation - How to open, refresh and close a company file</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/ExcelAutomation/Excel Automation.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks &amp; load the company file in QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Excel &amp; create a new spreadsheet.<br />First, please select the "Data" tab, Navigate to "From Other Sources"-&gt;" From Microsoft Query."<br /><br />Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br />Please refer to <a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a><br /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to Use the Query Wizard to create/edit queries.). </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time used MS Excel to access QuickBooks. You will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by Query Wizard. Choose any table and click "Next" until you reach Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Trial Balance report query. <br />sp_report TrialBalance show Debit_Title, Credit_Title, Label, Debit, Credit parameters DateMacro = 'LastMonth', ReportBasis = 'Cash'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step6.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the below message box about SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to an Excel spreadsheet. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will disable auto-refresh of data from Data--&gt;Connection--&gt;Properties--&gt;Uncheck Enable Background Refresh &amp; Click OK:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add a button &amp; we will write code for the button click event. On button click, it will open the connection, refresh the report data &amp; close the connection.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can add a button from the Developer tab in MS Excel. If the Developer tab is not available, display it.<br /><br />Display the Developer tab<br />Click the File tab, click Options, and then click the Customize Ribbon category.<br />Select the Developer check box in the Main Tabs list, and click OK.<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Command Button. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to Refresh Data. Double-click on the command button to write code.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the below code to open the connection, refresh the report data &amp; close the connection.<br /><br />Private Sub CommandButton1_Click()<br />ActiveWorkbook.Connections("Query from QuickBooks Data").Refresh<br />End Sub<br /><br />Note: Query from QuickBooks Data is the name of the connection. You can get it from the Data--&gt; Connections.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step15.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data will be refreshed by clicking the Refresh Data button.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step16.png" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Connecting multiple QuickBooks companies via Excel]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2809]]></link>
<guid isPermaLink="false"><![CDATA[b4fd1d2cb085390fbbadae65e07876a7]]></guid>
<pubDate><![CDATA[Thu, 28 Jul 2016 17:25:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Connecting multiple QuickBooks companies via Excel
Download Sample
There is a limitation with the QuickBooks&nbsp;Desktop SDK: it can connect only one company file to a user session at a time. It means you cannot access multiple company files at the sam...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Connecting multiple QuickBooks companies via Excel</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/MultipleCompany/MultipleQBCompanyConnection.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">There is a limitation with the QuickBooks&nbsp;Desktop SDK: it can connect only one company file to a user session at a time.<br /> <br />It means you cannot access multiple company files at the same time. <br /> <br />You need to close the connection with one company file and switch to another. ( i.e., connection closed for company A and Connection open for company be should have a gap of 15-30 seconds for switching operation.)</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This is applicable to QuickBooks Desktop. When using QuickBooks Online, you can connect to multiple company files simultaneously.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In this article, we will connect to two different QuickBooks Desktop company files using two different QODBC DSNs with auto login configured. In this example, we will use two auto logins, DSN CompanyA &amp; CompanyB. <br /><br />Please Refer:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2360" target="_blank">How to set up QODBC Desktop for Auto-login into QuickBooks Desktop</a><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank">How to set up the QODBC Driver to auto-connect to QuickBooks Desktop. (Video)</a><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Here is my DSN configuration for the First QuickBooks Desktop Company file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step26.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks&nbsp;Desktop &amp; loaded the company file that you have chosen in the auto login DSN. The company file path in QuickBooks &amp; DSN should be matched.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step25.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Excel &amp; create a new spreadsheet.<br />First, please select the "Data" tab, Navigate to "From Other Sources"-&gt;" From Microsoft Query."</span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to Use the Query Wizard to create/edit queries.) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'CompanyA' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks Desktop, you will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by Query Wizard. Choose any table and click "Next" until you reach the Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Trial Balance report query. <br />sp_report TrialBalance show Debit_Title, Credit_Title, Label, Debit, Credit parameters DateMacro = 'LastMonth', ReportBasis = 'Cash'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step6.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the below message box about SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to Excel sheet1. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Repeating the above steps will export another report in sheet 2 using DSN CompanyB. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We need to close the first company file, which is open in QuickBooks Desktop. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step24.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Here is my DSN configuration for the Second Company file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step27.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks Desktop&nbsp;and load the company file that you have chosen in athe uto login DSN. The company file path in QuickBooks &amp; DSN should be matched.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step23.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Navigate to sheet2<br />First, please select the "Data" tab, navigate to "From Other Sources"-&gt;" From Microsoft Query."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to Use the Query Wizard to create/edit queries.) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'CompanyB' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time use MS Excel to access QuickBooks Desktop, you will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by Query Wizard. Choose any table and click "Next" until you reach Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Profit &amp; Loss report query. <br />sp_report ProfitAndLossStandard show Amount_Title, Text, Label, Amount parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'TotalOnly'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step18.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the below message box about SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step19.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step20.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to Excel sheet2. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step21.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the export is complete, close the company file opened in QuickBooks Desktop. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step24.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will disable auto-refresh of data from Data--&gt;Connection--&gt;Properties--&gt;Uncheck Enable Background Refresh &amp; Click OK:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We need to disable auto-refresh data for both company file connections (i.e., Query from CompanyA &amp; Query from CompanyB ).</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add a button &amp; we will write code for the button click event. On button click, it will open the connection for CompanyA, refresh the report data &amp; close the connection for CompanyA, sleep for 15 seconds, open the connection for CompanyB, refresh the report data &amp; close the connection for CompanyB.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can add a button from the Developer tab in MS Excel. If the Developer tab is not available, display it.<br /><br />Display the Developer tab<br />Click the File tab, click Options, and then click the Customize Ribbon category.<br />Select the Developer check box in the Main Tabs list, and click OK.<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Command Button. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to Refresh Data. Double-click on the command button to write code.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the below code to open a connection for Company A, refresh the report data &amp; close the connection for Company A, sleep for 15 seconds, open the connection for CompanyB, restore the report data &amp; close the connection for CompanyB. <br /><br />Fifteen seconds of sleep is required to close the company file and swiswitch to another private&nbsp;Sub CommandButton1_Click()<br />ActiveWorkbook.Connections("Query from CompanyA").Refresh<br />Application.Wait (Now + TimeValue("0:00:15"))<br />ActiveWorkbook.Connections("Query from CompanyB").Refresh<br />End Sub <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step22.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data will be refreshed by clicking the Refresh Data button.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step16.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>Keywords: QuickBooks Desktop, win log with multiple companies, log in with various companies</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using ADODC and ADODB with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2795]]></link>
<guid isPermaLink="false"><![CDATA[a7f592cef8b130a6967a90617db5681b]]></guid>
<pubDate><![CDATA[Wed, 06 Jul 2016 14:13:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using ADODC and ADODB with QODBC
Download Sample
ADODB with QODBC
Open VB6, you can find it via Windows Start-&gt;All Programs-&gt;Microsoft Visual Studio 6.0 : 
Create a New Standard EXE project.

Then Add "Command Button" by double clicking on the...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Using ADODC and ADODB with QODBC</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/VB6/QODBCVB6.zip">Download Sample</a></span></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">ADODB with QODBC</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open VB6, you can find it via Windows Start-&gt;All Programs-&gt;Microsoft Visual Studio 6.0 : </span></p>
<p>Create a New Standard EXE project.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Add "Command Button" by double clicking on the command button Icon. A command button will be added. Rename it to Get Customer via ADODB:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double click on Command Button &amp; add the below code in the command button click event: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Private Sub Command1_Click()<br /><br />Dim oConnection As ADODB.Connection<br />Dim oRecordset As ADODB.Recordset<br />Dim sMsg As String<br />Dim sConnectString As String<br />Dim sSQL As String<br /><br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "SELECT top 10 Name FROM Customer"<br />Set oConnection = New ADODB.Connection<br />Set oRecordset = New ADODB.Recordset<br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(10)<br />Do While (Not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordset.Fields("Name") &amp; Chr(10)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************" &amp; Chr(10)<br />MsgBox sMsg<br /><br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br /><br />End Sub</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now execute the code from Run &gt;&gt; Start With Full Compile </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double click on Get Customer via ADODB which will get the top 10 customer's name &amp; display it in msg box:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step6.png" alt="" /></span></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">ADODC with QODBC</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add ADODC control in the same project we created in the above ADODB example.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will configure ADODC control by right click on ADODC control &amp; click on ADODC Properties:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">From the General tab, Select ODBC Data Source QuickBooks Data.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Navigate to the RecordSource tab, Select Command type to 2 - adCmdTable &amp; table name Customer, and click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add three text boxes showing Customer table data through ADODC control.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will configure text boxes to display data from ADODC control. Choose DataSource Adodc1 (i.e., ADODC Control name) &amp; DataField FullName (i.e., Field name which you want to show):</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Similarly, we will configure the other two textboxes with the Phone &amp; Email fields.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now execute the code from Run &gt;&gt; Start With Full Compile </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The following customer data will be displayed by clicking on the "Next" button.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VB6/step15.png" alt="" /></span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC with SSIS]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2782]]></link>
<guid isPermaLink="false"><![CDATA[60243f9b1ac2dba11ff8131c8f4431e0]]></guid>
<pubDate><![CDATA[Fri, 27 May 2016 14:22:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to use QODBC with SSIS 
Either QODBC or QRemote is required on the machine where the SSIS package will be developed and deployed, or SSIS services are installed.
Development - On the machine, you are developing, the SSIS package should have QODBC i...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to use QODBC with SSIS </span></h2>
<p>Either QODBC or QRemote is required on the machine where the SSIS package will be developed and deployed, or SSIS services are installed.</p>
<p>Development - On the machine, you are developing, the SSIS package should have QODBC installed.</p>
<p>Deployment - On the machine you wish to deploy or run the SSIS Package - You should have QODBC installed.&nbsp;</p>
<p>The first step is to install and test QODBC.</p>
<p>Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2512">Connecting QODBC Driver to QuickBooks for the First Time (Video)</a></p>
<p>If the QuickBooks application is installed on another machine, you can connect to QuickBooks from a remote device using QRemote Server. You need to install QODBC on both machines.</p>
<p>Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/">Accessing QuickBooks Data Remotely using QODBC &amp; QRemote. (Video)</a></p>
<p>When deploying the SSIS package to SQL Server, you need to configure the QRemote client to connect with QuickBooks.</p>
<p>Please follow the below steps to use QODBC with SSIS.<br /><br />1. Go to the Start menu &amp; open SQL Server Business Intelligence Development Studio from SQL Server. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step1.png" alt="" /></span></p>
<p><br /><br />2. Create a new Integration Service Project by clicking on Integration Service Project &amp; Enter Project Name, setting the project location, and clicking OK. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step2.png" alt="" /></span></p>
<p><br /><br />The Project is created.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step3.png" alt="" /></span></p>
<p><br /><br />3. In this sample project, we will transfer QuickBooks data using the ADO.Net source to Flat File Destination. Wes, we need to add Data Flow Task in the Control Flo to the perform tab. You can add it by double click on Data Flow Task. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step4.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step5.png" alt="" /></span></p>
<p><br /><br />4. We need to add ADO.Net Source in the Data Flow tab. You can add it by double click on ADO.Net Source. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step6.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step7.png" alt="" /></span></p>
<p><br /><br />5. Now, we need to configure ADO.Net Source. By right click on ADO.Net Source &amp; click on Edit.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step8.png" alt="" /></span></p>
<p><br /><br />Add a new ADO.Net connection by clicking on New.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step9.png" alt="" /></span></p>
<p><br /><br />Add new Data connection by clicking on New.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step10.png" alt="" /></span></p>
<p><br /><br />Select Provider to .Net Providers\Odbc Data Provider, Select DSN to QuickBooks Data QRemote and click on Test Connection.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step11.png" alt="" /></span></p>
<p><br /><br />Test Connection Succeeded.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step12.png" alt="" /></span></p>
<p><br /><br />You can select Data Access Mode as Table or view the whole table data. You can also select Data Access Mode as an SQL command for accessing table data with condition &amp; accessing report data using sp_report. In this example, I have selected Table or view as Data Access Mode &amp; selected Customer table. Click on OK &amp; you will notice the connection has been added.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step13.png" alt="" /></span></p>
<p><br /><br />You can preview output data by clicking the Preview button.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step14.png" alt="" /></span></p>
<p><br /><br />Close the Preview by clicking the close button &amp; click on OK to save configurations.<br /><br />6. We need to add Flat File Destination in the Data Flow tab. You can add it by double click on Flat File Destination. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step15.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step16.png" alt="" /></span></p>
<p><br /><br />7. Now, we need to link ADO.Net Source with Flat File Destination by dragging the link from ADO.Net Source to Flat File Destination. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step17.png" alt="" /></span></p>
<p><br /><br />8. Now, we need to configure Flat File Destination. By right click on Flat File Destination &amp; click on Edit. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step18.png" alt="" /></span></p>
<p><br /><br />Add a new Flat File connection by clicking on New.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step19.png" alt="" /></span></p>
<p><br /><br />Select Flat File Format &amp; click OK.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step20.png" alt="" /></span></p>
<p><br /><br />Select the Destination file you want to store output using the Browse button.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step21.png" alt="" /></span></p>
<p><br /><br />Enable Unicode &amp; Column names in the first data row option &amp; Click on OK to save configurations<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step22.png" alt="" /></span></p>
<p><br /><br />You will notice the OK button is disabled. To enable it, you need to click on Mapping, then click OK to complete the configuration.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step23.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step24.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step25.png" alt="" /></span></p>
<p><br /><br />9. Run the SSIS package to perform the transfer operation by clicking the play icon. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step26.png" alt="" /></span></p>
<p><br /><br />SSIS Package execution completed &amp; 163 rows are transferred from ADO.Net Source to Flat File Destination.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step27.png" alt="" /></span></p>
<p><br /><br />Here is a Flat text file which is containing the ADO.Net Source result.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step28.png" alt="" /></span></p>
<p><br /><br />Please <a href="http://support.flexquarters.com/esupport/newimages/SSIS1/QODBC%20SSIS.zip">click here</a>&nbsp;to download the Sample SSIS Package.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am evaluating your driver and have had success running SELECT queries against QuickBooks in SSMS, where I could use the QRemote DSN. When setting up the ODBC connection in SSIS, I get an error when enumerating the columns. <br /><br />Unknown Data type found in column<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SSIS1/step29.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To resolve this error, you need to select &ldquo;ADO.NET Source.&rdquo; instead of ODBC Source in the SSIS package. </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Sample Code for C++ with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2779]]></link>
<guid isPermaLink="false"><![CDATA[b1300291698eadedb559786c809cc592]]></guid>
<pubDate><![CDATA[Mon, 23 May 2016 14:35:44 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Sample Code for C++ with QODBC 
#include &lt;iostream&gt;#include &lt;windows.h&gt;#include &lt;sql.h&gt;#include &lt;sqlext.h&gt;#include &lt;string.h&gt;#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt;#include &lt;conio.h&gt; using namespace std; voi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Sample Code for C++ with QODBC </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">#include &lt;iostream&gt;<br />#include &lt;windows.h&gt;<br />#include &lt;sql.h&gt;<br />#include &lt;sqlext.h&gt;<br />#include &lt;string.h&gt;<br />#include &lt;stdio.h&gt;<br />#include &lt;stdlib.h&gt;<br />#include &lt;conio.h&gt;<br /> <br />using namespace std;<br /> <br />void ConvertTimeStampStructToString(TIMESTAMP_STRUCT tTimeStamp, CHAR *strTimeStamp, LONG lSizeTimeStamp)<br />{<br />strcpy(strTimeStamp, "");<br />sprintf(sr timestamp, "%d-%d-%d %d:%d:%d," tTimeStamp.year, tTimeStamp.month, tTimeStamp.day, tTimeStamp.hour, tTimeStamp.minute, tTimeStamp.second);<br />}<br /> <br />int main()<br />{<br />SQLHENV henv = SQL_NULL_HENV; // Environment<br />SQLHDBC hdbc = SQL_NULL_HDBC; // Connection handle<br />SQLHSTMT hstmt = SQL_NULL_HSTMT; // Statement handle<br /> <br />SQLCHAR sListId[256] = "";<br />SQLCHAR sEditSequence[256] = "";<br />SQLCHAR sName[256] = "";<br />BOOL bIsActive = 0;<br />TIMESTAMP_STRUCT tTimeModified = {0};<br />TIMESTAMP_STRUCT tTimeCreated = {0}; <br />SQLINTEGER cbData;<br /> <br />SQLRETURN retcode;<br />int iKey;<br /> <br />CHAR *sTimeStamp = new CHAR[32]();<br /> <br />SQLCHAR statement[]="SELECT * FROM ShipMethod";<br /> <br />retcode = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &amp;henv);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLAllocHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLAllocHandle: Environment handle initialized." &lt;&lt; endl;<br /> <br />retcode = SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION,(SQLCHAR *)(void*)SQL_OV_ODBC2, -1);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLSetEnvAttr failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLSetEnvAttr : ODBC 2.0 initialized." &lt;&lt; endl;<br /> <br />retcode = SQLAllocHandle(SQL_HANDLE_DBC, henv, &amp;hdbc);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLAllocHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLSetEnvAttr: Database handle initialized." &lt;&lt; endl;<br /> <br />retcode = SQLSetConnectAttr(hdbc, SQL_LOGIN_TIMEOUT, (SQLPOINTER)10, 0);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLSetConnectAttr failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLSetConnectAttr : Set Login Timeout." &lt;&lt; endl;<br /> <br />retcode = SQLConnect(hdbc, (SQLCHAR*) <strong>"QuickBooks Data" </strong>, SQL_NTS, (SQLCHAR*) NULL, 0, NULL, 0);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLConnect failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLConnect : Database connection successfully." &lt;&lt; endl;<br /> <br />retcode = SQLAllocHandle( SQL_HANDLE_STMT, hdbc, &amp;hstmt);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLAllocHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLAllocHandle : Handle initialized." &lt;&lt; endl;<br /> <br />retcode = SQLExecDirect(hstmt, statement, SQL_NTS);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLExecDirect failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLExecDirect : Query executed successfully." &lt;&lt; endl;<br /> <br />cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; endl;<br />cout &lt;&lt; "Query: <strong> SELECT * FROM ShipMethod </strong>" &lt;&lt; endl;<br />cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; endl;<br />cout &lt;&lt; "ListId" &lt;&lt; ", " &lt;&lt; "TimeModified" &lt;&lt; ", " &lt;&lt; "TimeCreated" &lt;&lt; ", " &lt;&lt; "EditSequence" &lt;&lt; ", " &lt;&lt; "Name" &lt;&lt; ", " &lt;&lt; "IsActive" &lt;&lt; endl &lt;&lt; endl;<br />cout &lt;&lt; endl &lt;&lt; endl;<br />while(SQLFetch(hstmt) == SQL_SUCCESS){<br /> <br />retcode = SQLGetData(hstmt, 1, SQL_C_CHAR, (SQLPOINTER)sListId, sizeof(sListId), &amp;cbData);<br /> <br />retcode = SQLGetData(hstmt, 2, SQL_C_TIMESTAMP, (SQLPOINTER)&amp;tTimeModified, sizeof(tTimeModified), &amp;cbData);<br /> <br />retcode = SQLGetData(hstmt, 3, SQL_C_TIMESTAMP, (SQLPOINTER)&amp;tTimeCreated, sizeof(tTimeCreated), &amp;cbData);<br /> <br />retcode = SQLGetData(hstmt, 4, SQL_C_CHAR, (SQLPOINTER)sEditSequence, sizeof(sEditSequence), &amp;cbData);<br /> <br />retcode = SQLGetData(hstmt, 5, SQL_C_CHAR, (SQLPOINTER)sName, sizeof(sName), &amp;cbData);<br /> <br />retcode = SQLGetData(hstmt, 6, SQL_C_BIT, (SQLPOINTER)bIsActive, sizeof(bIsActive), &amp;cbData);<br /> <br />cout &lt;&lt; sListId &lt;&lt; ", ";<br />ConvertTimeStampStructToString(tTimeModified, sTimeStamp, sizeof(sTimeStamp));<br />cout &lt;&lt; sTimeStamp &lt;&lt; ", ";<br />ConvertTimeStampStructToString(tTimeCreated, sTimeStamp, sizeof(sTimeStamp));<br />cout &lt;&lt; sTimeStamp &lt;&lt; ", ";<br />cout &lt;&lt; sEditSequence &lt;&lt; ", ";<br />cout &lt;&lt; sName &lt;&lt; ", ";<br />cout &lt;&lt; bIsActive &lt;&lt; endl;<br />}<br />delete [] sTimeStamp;<br />cout &lt;&lt; endl &lt;&lt; endl;<br /> <br />retcode = SQLFreeHandle(SQL_HANDLE_STMT, hstmt);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLFreeHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLFreeHandle : Handle freed." &lt;&lt; endl;<br /> <br />retcode = SQLDisconnect (hdbc);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLDisconnect failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLDisconnect : Close database connection." &lt;&lt; endl;<br /> <br />retcode = SQLFreeHandle(SQL_HANDLE_DBC, hdbc);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLFreeHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLFreeHandle : Database handle freed." &lt;&lt; endl;<br /> <br /> <br />retcode = SQLFreeHandle(SQL_HANDLE_ENV, henv);<br />if(retcode != SQL_SUCCESS){<br />cout &lt;&lt; "SQLFreeHandle failed. exit program" &lt;&lt; endl;<br />return 0;<br />}<br />cout &lt;&lt; "SQLFreeHandle : Environment handle freed." &lt;&lt; endl;<br /> <br />printf("Press Any Key To Exit...");<br />getch();<br />return 0;<br />}<br /> <br />Please <a href="http://support.flexquarters.com/esupport/newimages/C++/sample-c-plus-plus-qodbc.zip">click here</a>&nbsp;to download the C++ code. </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with Microsoft Excel 2016 64-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2772]]></link>
<guid isPermaLink="false"><![CDATA[92bf5e6240737e0326ea59846a83e076]]></guid>
<pubDate><![CDATA[Tue, 19 Apr 2016 10:28:49 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Excel 2016 (64-bit) 
For MS Access 64-bit, Please refer: How to Configure QODBC to Work With 64-bit MS Access
Setup QODBC to use with MS Excel 2016
Note: QODBC allows you to quickly merge live QuickBooks data into the ce...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Excel 2016 (64-bit) </span></h2>
<h5>For MS Access 64-bit, Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2771" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setup QODBC to use with MS Excel 2016</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one-click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please make sure you have installed MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before starting, please make use you have the 64-bit version of MS Excel: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">First, please select the "Data" tab, Navigate to&nbsp; "From Other Sources"-&gt;" From Microsoft Query."<br /><br /></span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step2.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)<span style="font-family: Arial,Helvetica,sans-serif;">. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step3.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data 64-bit QRemote' as an example: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step4.png" alt="" /></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">NOTE: If you are using QODBC Online, Please select "QuickBooks Online Data 64-bit" instead of "QuickBooks Data 64-bit QRemote".</span></strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use of MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step5.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option and click the "Continue" button. In the next window, click the "Done" button to finish authorizing. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step6.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import QuickBooks data into MS Excel via MS Query </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you grant permission for QODBC, you will be guided by Query Wizard. In the Choose Columns window, select a table and the columns you want to import. </span>Choose the table you wish to import and select the columns from the table to import by pressing the "&gt;" button. (Here, I choose table Customer as a sample.)<span style="font-family: Arial,Helvetica,sans-serif;"> You can add or remove columns from the correct list "Columns in your query." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-04.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-19.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set a filter for your query in this window. If you don't want to set any query, please click the "Next" button: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Filter Data_2012-10-31_12-47-23.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the setup is finished, MS Excel will ask you to choose an edit method for the records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Finish_2012-10-31_12-51-24.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Excel:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will directly export the data to Excel, you can view and edit these records, but the data is static. The modification will not be uploaded into QuickBooks. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can view the detailed connection properties by clicking the "Queries &amp; Connections" button in the Data menu: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-43.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> In the Workbook Connection Window, Right-click on the connection name &amp; click the "Properties" button to view detailed information: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step13.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Now you can view the connection string and its SQL statement in the definition window: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step14.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">View Data or Edit Query in MS Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will lead you to the MS Query window, and you can view or edit data via SQL Statement.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-31.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click the "SQL" button to view the SQL Statement of this query: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-42.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> The SQL window will show the SQL Statement, and the user can also modify the statement to extract other records: </span></p>
<p>The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Abercrombie, Kristy." Select the field header name and click on it, following selecting <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, specify the criteria <strong>Field</strong> as "Name," <strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Abercrombie, Kristy" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;</p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save so that next time, you can directly use the same question: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-21.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data</strong> or clicking the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables, as shown above. Changes to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC%20Customer%20Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC%20Sample%20Tables%20and%20Reports.xls">Download</a></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007" target="_blank">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-64-bit" target="_blank">Using QuickBooks Data with Excel 2013 32-bit</a></p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016,&nbsp;Microsoft excel 2013 blank window</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with Microsoft Access 2016 64-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2771]]></link>
<guid isPermaLink="false"><![CDATA[d8e1344e27a5b08cdfd5d027d9b8d6de]]></guid>
<pubDate><![CDATA[Tue, 19 Apr 2016 10:07:50 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Access 2016 64-bit 
For 32-bit, Please refer: To how&nbsp;to Configure QODBC to Work With 32-bit MS Access.
Creating a Table in Microsoft Access:
Note: Microsoft Access has many uses and will allow you to use your QuickB...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Access 2016 64-bit </span></h2>
<h5>For 32-bit, Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470">&nbsp;to Configure QODBC to Work With 32-bit MS Access</a>.</h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.</p>
<p>&nbsp;</p>
<p>Please make sure QRemote Server is running. You can find the QRemote Server running in System Tray.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image005.png" alt="http://support.flexquarters.com/esupport/newimages/QRemoteServer/step5.png" /></p>
<p>&nbsp;</p>
<p>If it is not running, then please&nbsp;start QRemote Server from the following:<br /><br />QODBC Desktop - Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC</p>
<p>QODBC&nbsp;Online - Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online &gt;&gt; QRemote Server for QODBC Online</p>
<p>QODBC&nbsp;POS - Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks POS &gt;&gt; QRemote Server for QODBC POS</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image004.png" alt="http://support.flexquarters.com/esupport/newimages/QRemoteServer/step5.png" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2016, and make sure you are using the 64-bit version of MS Access from:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">File-&gt;Account-&gt;About Access</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step1.png" alt="" /></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank desktop database:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step20.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the newly created database, you will find a default blank table. Please close this default table: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2 Database- CUsersDewaniDocumentsDatab_2012-10-31_12-54-15.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You could directly extract QuickBooks records into this table. But in this article, we will show you how to build a linked table to access QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via the ODBC database button in the External Data menu:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2  Database- CUsersDewaniDocumentsDatab_2012-10-31_12-54-25.png" alt="" /></p>
<p>&nbsp;</p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">OR</span></strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data -&gt; New Data Source -&gt; From other sources -&gt; ODBC Database :</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step21.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will see two options:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-31_12-59-00.png" alt="" /></p>
<p>&nbsp;</p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to build the linked table in MS Access. </span></strong></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Build a Linked Table in MS Access </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step6.png" alt="" /></p>
<p>&nbsp;</p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as an example.)</p>
<p>&nbsp;</p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">NOTE: QODBC Online users, Please select "QuickBooks Online Data 64-bit" instead of "QuickBooks Data 64-bit QRemote".&nbsp;</span></strong><strong><span style="font-family: Arial,Helvetica,sans-serif;"><strong>QODBC POS users, Please choose "QuickBooks&nbsp;POS Data 64-bit" instead of "QuickBooks Data 64-bit QRemote".</strong></span></strong></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you want to extract. Multiple Selection is available. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Link Objects_2012-10-31_12-55-49.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the Linking table is successful, you will see linked tables been created in your MS Access file under "Tables": </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2 Database- CUsersDewaniDocumentsDatab_2012-10-31_13-00-41.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can view the property of these linked tables by right-clicking the linked table-&gt; selecting linked table manager: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step11.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to view QuickBooks records in this linked table, double-click the attached table, then you will see the records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2 Database- CUsersDewaniDocumentsDatab_2012-10-31_13-01-00.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Note: If you see ###### in the linked table result, you need to increase the column header size. So you can see the actual result.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The linked table is always in sync with QuickBooks Data, so you cannot add or delete any columns in this table. But you can directly modify the data in the linked table, and QODBC will automatically update the modification to QuickBooks.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>Note: When</strong>&nbsp;you run </span><span style="font-family: arial, helvetica, sans-serif;">an application that is not entirely ODBC compatible, they often support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2570">&nbsp;to use MS Access as Middleware with QODBC</a>&nbsp;for using MS Access as Middleware.</span>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Suppose you want to import a table in MS Access. In that case, you have to select<strong> Import the source data into a new table in the current database </strong>option instead of a&nbsp;<strong><strong>link to the data source by creating a linked table&nbsp;</strong></strong>&amp; repeat the above steps<strong>:</strong> this option will directly extract tables into Access Database, you can view and edit these tables, but all modification will not be uploaded unless you build another query to do so.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step13.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471">Using QuickBooks Data with Access 2013 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">Microsoft Access 2003 and QODBC</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Getting Error &quot;Index was outside the bounds of the array.&quot; When using Import/Export tool in SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2768]]></link>
<guid isPermaLink="false"><![CDATA[f499d34bd87b42948b3960b8f6b82e74]]></guid>
<pubDate><![CDATA[Mon, 11 Apr 2016 11:55:09 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting Error "Index was outside the array bounds." When using the Import/Export tool in SQL Server 
Problem Description 1:
I recently installed QODBC to get data out of a QuickBooks company file, but I get this error: "Index was outs...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting Error "Index was outside the array bounds." When using the Import/Export tool in SQL Server </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 1:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I recently installed QODBC to get data out of a QuickBooks company file, but I get this error: "Index was outside the bounds of the array." <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step1.png" alt="" /></span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 2:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We are attempting to import tables into SQL Server, which we use as a staging environment. We are not doing any transformations, simply trying to copy the data from QuickBooks into SQL Server using the Import Wizard.&nbsp;Below is the&nbsp;screenshot of the error we receive when attempting to do so. Details of the configuration are provided below. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Source data (QuickBooks): Microsoft .Net provider for ODBC - QODBC 32-bit configured DSN with default settings. Destination Data ( SQL Server): Microsoft OLEDB provider for SQL Server </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We are attempting to import four tables for now. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">- Account, Class, Entity, Transactions</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The reported error below occurs for each table. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Error: Can not load the column attributes from the schema for the current provider descriptor.<br />- COLUMN_NAME<br />- TYPE_NAME<br />- COLUMN_SIZE<br />- DECIMAL_DIGITS<br />- COLUMN_SIZE</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step17.png" alt="" /></span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please follow the below steps to resolve this error:<br /><br />1. Go to Import Export Wizard by Right click on your SQL Server database, Clicking on Task &amp; Click on Import Data. <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step2.png" alt="" /></span></p>
<p><br /><br />2. Choose ODBC Data Source &amp; Enter DSN &amp; Connection String, and click "Next." <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step3.png" alt="" /></span></p>
<p><br /><br />3. Choose Destination and click on "Next." <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step4.png" alt="" /></span></p>
<p><br /><br />4. Choose the second option (Write a query to specify the data to transfer) and click "Next." <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step5.png" alt="" /></span></p>
<p><br /><br />5. Write the query and click on "Next." You can change the table name &amp; question as per your requirement.<br />For Example: <br />Select * from the Account</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step6.png" alt="" /></span></p>
<p><br /><br />6. Change the destination table name to your requirement and click "Edit Mapping." <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step7.png" alt="" /></span></p>
<p><br /><br />7. You must verify the date type of all columns from the "Type" column. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step8.png" alt="" /></span></p>
<p><br /><br />You need to make sure that you are not getting <strong>23</strong> in Type. You will get <strong>23</strong> date-type data type columns.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step9.png" alt="" /></span></p>
<p><br /><br />You need to replace <strong>23</strong> to <strong>date</strong> for all columns whose Type is <strong>23</strong> and click on "OK."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step10.png" alt="" /></span></p>
<p><br /><br />8. Click on "next" until the finish. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step11.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step12.png" alt="" /></span></p>
<p><br /><br />Save and Run Package.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step13.png" alt="" /></span></p>
<p><br /><br />Complete the Wizard.<br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step14.png" alt="" /></span></p>
<p><br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step15.png" alt="" /></span></p>
<p><br /><br />9. You can see table data imported to SQL Server's local database table. <br /><br /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLDTS/step16.png" alt="" /></span></p>
<p><br />Keywords:&nbsp;<span class="kbtitlemain">How to use DTS to Import QuickBooks Data into MS SQL Server</span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with MS Excel Power Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2754]]></link>
<guid isPermaLink="false"><![CDATA[044a23cadb567653eb51d4eb40acaa88]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:04:21 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to Use QODBC with MS Excel Power Query
Note: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click wi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to Use QODBC with MS Excel Power Query</span></h2>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p>Open the QODBC setup screen and change the QODBC Compatibility mode from "Default" to "3.8."</p>
<p>To change, please follow the below steps:</p>
<p>Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go To "System DSN" Tab&gt;&gt; click the DSN "QuickBooks Data" &gt;&gt; click "Configure&rdquo;&gt;&gt; Switch to "Advanced" tab&gt;&gt; Navigate to "QODBC Compatibility"&gt;&gt; change to "3.8"</p>
<p>Note: This should fix the "Driver does not support this parameter" error message.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/QODBC Setup Screen - Advanced tab.png" alt="" /></p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p>&nbsp;</p>
<p>Similarly, change the DSN configuration for QRemote 32-Bit and QRemote 64-Bit.<br /><br /><strong>QRemote 32-Bit</strong><br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select "QuickBooks Data<br />QRemote" DSN &gt; click "Configure"&gt;&gt; Switch to the Advanced tab and change 'ODBC Compatibility' to '3.8' and click the Apply/OK button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/2754/2021-10-29 15_07_23-Window.png" alt="" /></p>
<p><br /><strong>QRemote 64-Bit</strong><br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks (64-Bit)&gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select "QuickBooks Data 64-bit QRemote" DSN &gt;&gt; click "Configure"&gt;&gt; Switch to Advanced tab and change 'ODBC Compatibility' to '3.8' and click the Apply/OK button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/2754/2021-10-29 15_02_08-Window.png" alt="" /></p>
<p>Start QuickBooks and log in to the QuickBooks company file as QuickBooks user Admin.</p>
<p>Before using the MS Excel Power Query application, please make sure you have installed MS Excel Add-in named "Power Query."</p>
<p>Please select Power Query Window.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step1.png" alt="" /></p>
<p>Please select the data input method via From Other Sources &amp; click on From ODBC.</p>
<p>&nbsp;</p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p>In the connection string box, write "DSN = QuickBooks Data" &amp; In the SQL Statement box, write your SQL statement &amp; click on the "OK" button. If you have 64-bit MS Excel, then you need to use write <strong>DSN = QuickBooks Data 64-bit QRemote</strong> in the connection string box.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step3.png" alt="" /></p>
<p>Now select the "Windows" &amp; "Use my current credentials" option and click on the "OK" button.:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step4.png" alt="" /></p>
<p>Now you will get data in Power Query, apply the filter &amp; other settings as per your requirement &amp; click on the "Close &amp; Load" button.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerQuery/step6.png" alt="" /></p>
<p>&nbsp;</p>
<p>If you are facing the error "ODBC: ERROR [HYC00] [Microsoft][ODBC Driver Manager] Driver does not support this parameter", please switch QODBC, QRemote 32-Bit DSN, and QRemote 64-Bit DSN to ODBC Compatibility 3.8</p>
<p>&nbsp;</p>
<p>You can also use "From Microsoft Query"&nbsp;for fetching data from QuickBooks to Excel.<br /><br />For Excel 64-Bit:</p>
<p><a href="http://qodbc.com/links/2771" target="_blank">http://qodbc.com/links/2771</a><br /><br />For Access 64-Bit:<br /><a href="http://qodbc.com/links/2772" target="_blank">http://qodbc.com/links/2772</a><br /><br />Excel 32-Bit:<br /><a href="http://qodbc.com/links/2466" target="_blank">http://qodbc.com/links/2466</a><br /><br />Access 32-Bit:<br /><a href="http://qodbc.com/links/2470" target="_blank">http://qodbc.com/links/2470</a><br /><br />Video tutorial:<br /><a href="http://qodbc.com/links/2509" target="_blank">http://qodbc.com/links/2509</a></p>
<p><br />Also, Refer:<br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">Microsoft Access 2003 and QODBC</a></p>
<p>&nbsp;</p>
<p>Tags: The driver does not support this parameter.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to Import data to QuickBooks through CSV using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2753]]></link>
<guid isPermaLink="false"><![CDATA[9dc372713683fd865d366d5d9ee810ba]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 09:57:29 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to Import data to QuickBooks through CSV using QODBC
Note: QODBC does not support direct import, But you can write VBA code that reads a CSV / Excel file &amp; generates insert statements.
There are two ways to Import data to QuickBooks through CSV...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to Import data to QuickBooks through CSV using QODBC</span></h2>
<p><strong>Note</strong>: QODBC does not support direct import, But you can write VBA code that reads a CSV / Excel file &amp; generates insert statements.</p>
<p>There are two ways to Import data to QuickBooks through CSV using QODBC.</p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> 1) Using Wizard</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Create a new MS Access Database file &amp; link the Customer table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2470" target="_blank">Using QuickBooks Data with Access 2016 / 365 / 2013 32-bit</a> for lining the Customer table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "External Data" tab on Microsoft Access, as shown in the screenshot below, and click on the "Text File."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The "Get External Data" screenshot will be shown below. Select the CSV file by clicking the "Browse" button. (*Note: the file name must be less than 64 characters. Otherwise, Microsoft Access will not be able to import it). Choose the second option. Append the copy of the records to the table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Next, select the option "Delimited - Characters such as comma or tab separate each field," as shown in the screenshot below, and click "Next."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Next, make sure "Comma" is selected in the "Choose the delimiter that separates your fields" and the double quotes symbol " is selected in the "Text Qualifier" as shown in the screenshot below, and click "Next" to continue.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now click on the Advanced button to configure import fields.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now write the field name you want to insert from the CSV file &amp; click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click Finish to complete the import process.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Import Done. Customer data from CSV is inserted into the QuickBooks customer table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step15.png" alt="" /></span></p>
<h3>&nbsp;</h3>
<p>Or</p>
<h3>&nbsp;</h3>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">2) Using VBA Code</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2571" target="_blank">Using QuickBooks Data with VBA</a></span></p>
<p>In this tutorial, we are showing a sample VBA script inserting Customer &amp; Invoice.</p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Importing Customer to QuickBooks through CSV file using QODBC &amp; Microsoft Access VBA</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We have a Customer CSV file with Customer Name, CompanyName, Phone &amp; Email fields.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We will import these fields to QuickBooks using VBA. You can see the below records from the Customer CSV file.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the sample VBA code for Importing Customers to QuickBooks through CSV file using QODBC.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Add Customer" button, the Customer list in a CSV file will be imported into QuickBooks using QODBC.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step2.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step3.png" alt="" /></span></p>
<p><strong>Please Note: You need to change the CSV file location &amp; VBA script according to your CSV file location &amp; file data.</strong></p>
<p>Please refer below code which is used in this example:<br /><br /> <strong>Import Customer:</strong></p>
<p>&nbsp;</p>
<p>Option Compare Database<br /><br />Public Sub exampleCsvImportCustomer()<br /><br />Dim oConnection As New ADODB.Connection<br />Dim sConnectString<br />Dim MyArray As Variant<br />Dim fso As Variant<br />Dim objStream As Variant<br />Dim objFile As Variant<br />Dim sSQL As String<br />Dim sMsg<br />Dim rs<br />Dim I As Integer<br />i = 0<br />sConnectString = "DSN=Quickbooks Data;OLE DB Services=-2;"</p>
<p>'' For 64-bit use this one--&gt;sConnectString = "DSN=<strong>QuickBooks Data 64-bit QRemote</strong>;"</p>
<p>sSQL = "SELECT * FROM customer"<br /><br />Set rs = New ADODB.Recordset<br />oConnection.Open (sConnectString)<br />rs. Open sSQL, Connection, adopt dynamic, adLockOptimistic<br /><br />Set fso = CreateObject("Scripting.FileSystemObject")<br /><br />If fso.FileExists("C:\Input\Customer.csv") Then<br />Set objStream = fso.OpenTextFile("C:\Input\Customer.csv", 1, False, 0)<br />End If<br /><br />Do While Not objStream.AtEndOfStream<br />strLine = objStream.ReadLine<br />ReDim MyArray(0)<br />MyArray = Split(strLine, ",")<br />rs.AddNew<br />rs("Name") = MyArray(0)<br />rs("CompanyName") = MyArray(1)<br />rs("Phone") = MyArray(2)<br />rs("Email") = MyArray(3)<br />rs.Update<br />i = i + 1<br /><br />Loop<br /><br />sMsg = sMsg &amp; "Customer Added!!!"<br />MsgBox sMsg<br /><br />End Sub</p>
<p>Please Note: If you have a 64-bit application, then you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote</strong>" (i.e., sConnectString = "DSN=<strong>QuickBooks Data 64-bit QRemote</strong>; OLE DB Services=-2;")</p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Importing Invoice to QuickBooks through CSV file using QODBC &amp; Microsoft Access VBA</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We have an Invoice CSV file with CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineQuantity, InvoiceLineSalesTaxCodeRefListID &amp; FQSaveToCache fields.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In this example, we are creating two Invoices, each having 3 InvoiceLine. We will import these fields into QuickBooks using VBA. You can see the below records from the Invoice CSV file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the sample VBA code for Importing Invoices to QuickBooks through CSV file using QODBC.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking the "Add Invoice" button, the Invoice list in a CSV file will be imported into QuickBooks using QODBC.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step5.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CSV/step6.png" alt="" /></span></p>
<p><strong>Please Note: You need to change the CSV file location &amp; VBA script according to your CSV file location &amp; file data.</strong></p>
<p>Please refer below code which is used in this example:<br /><br /> <strong>Import Invoice:</strong></p>
<p>&nbsp;</p>
<p>Option Compare Database<br /><br />Public Sub exampleCsvImportInvoice()<br />Dim oConnection As New ADODB.Connection<br />Dim sConnectString<br />Dim MyArray As Variant<br />Dim fso As Variant<br />Dim objStream As Variant<br />Dim objFile As Variant<br />Dim sSQL As String<br />Dim rs<br />Dim sMsg<br />Dim I As Integer<br />i = 0<br /><br />sConnectString = "DSN=Quickbooks Data;OLE DB Services=-2;"</p>
<p>'' For 64-bit use this one--&gt;sConnectString = "DSN=<strong>QuickBooks Data 64-bit QRemote</strong>;"</p>
<p>sSQL = "SELECT * FROM InvoiceLine"<br /><br />Set rs = New ADODB.Recordset<br />oConnection.Open (sConnectString)<br />rs.Open sSQL, oConnection, adOpenDynamic, adLockOptimistic<br /><br />Set fso = CreateObject("Scripting.FileSystemObject")<br /><br />If fso.FileExists("C:\Input\Invoice.csv") Then<br />Set objStream = fso.OpenTextFile("C:\Input\Invoice.csv", 1, False, 0)<br />End If<br /><br />Do While Not objStream.AtEndOfStream<br />strLine = objStream.ReadLine<br />ReDim MyArray(0)<br />MyArray = Split(strLine, ",")<br />rs.AddNew<br />rs("CustomerRefListID") = MyArray(0)<br />rs("RefNumber") = MyArray(1)<br />rs("InvoiceLineItemRefListID") = MyArray(2)<br />rs("InvoiceLineDesc") = MyArray(3)<br />rs("InvoiceLineRate") = MyArray(4)<br />rs("InvoiceLineQuantity") = MyArray(5)<br />rs("InvoiceLineSalesTaxCodeRefListID") = MyArray(6)<br />rs("FQSaveToCache") = MyArray(7)<br />rs.Update<br />i = i + 1<br /><br />Loop<br /><br />sMsg = sMsg &amp; "Invoice Added!!!"<br />MsgBox sMsg<br /><br />End Sub</p>
<p>Please Note: If you have a 64-bit application, then you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote</strong>" (i.e., sConnectString = "DSN=<strong>QuickBooks Data 64-bit QRemote</strong>; OLE DB Services=-2;")</p>
<p><a href="http://support.flexquarters.com/esupport/newimages/CSV/VBA-CSV.zip"><span style="font-family: Arial,Helvetica,sans-serif;"> Download Sample</span></a></p>
<p>Also, Refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2439" target="_blank">QODBC Reports Architecture Mismatch Problem When connecting</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - This record has been changed by another user since you started editing it.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2733]]></link>
<guid isPermaLink="false"><![CDATA[ec1f850d934f440cfa8e4a18d2cf5463]]></guid>
<pubDate><![CDATA[Tue, 19 Jan 2016 10:27:28 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Another user has changed this record since you started editing it. 
Problem Description:
I used the QuickBooks Pro 2015 trial version and purchased QODBC's latest version.I have an Access database with linked QuickBooks tables. I also...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Another user has changed this record since you started editing it. </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I used the QuickBooks Pro 2015 trial version and purchased QODBC's latest version.<br /><br />I have an Access database with linked QuickBooks tables. I also have Access tables, some of which parallel the QuickBooks tables (for testing). <br /><br />One of these tables is the Customer table. If I use the Access local version of the Customer table, I can edit records and move to the following form, and data is saved.<br /><br />If I use the QODBC linked Customer table, the edited value appears in the field, but when I leave and return to the record, the pre-edit value appears. If I re-edit the record and move to the next record, I always get an error message that another user opens the record, and the pre-edit value appears. <br /><br />In both cases, the same form is used. Only the queried table fields change; therefore, I know this is either a QuickBooks or QODBC generated problem.<br /><br />If I open the linked Customer table in the datasheet view and edit a record and move to the next record, the same happens &ndash; the edit is not saved, and the record value does not change when I move to the following form. <br /><br />I am the only user as I am developing an interface with QuickBooks using QODBC and QuickBooks, and my Access program only resides on my PC.<br /><br />How do I get QuickBooks or QODBC to save my edits to the record and stop returning the error message that 'the record is used by another user and cannot be preserved?<br /> </span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please ensure that the record is not used from the QuickBooks UI in edit mode or that any other user is modifying the same. You can open QuickBooks in a single-user way &amp; try to alter the record. Before changing the record, make sure that the record is not open from QuickBooks UI.<br /><br />The MS Access table will require a refresh if updated records are not showing up. So please close the MS Access linked table &amp; reopen it again. You will get updated records.<br /><br />If the above steps do not resolve the issue, try to create a new MS Access database file &amp; link table and try to edit the record and share the outcome.&nbsp; <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Auto Login as Service and Syncing tables to SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2731]]></link>
<guid isPermaLink="false"><![CDATA[08f38e0434442128fab5ead6217ca759]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 14:02:59 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Auto Login as Service and Syncing tables to SQL Server 
Problem Description:
So the QODBC works excellently running on the machine. We intend to integrate into our website / Intranet to create customers or make changes from the web. I...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Auto Login as Service and Syncing tables to SQL Server </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">So the QODBC works excellently running on the machine. We intend to integrate into our website / Intranet to create customers or make changes from the web. I noticed QuickBooks needs to be logged in and open to function. Is there a server version that will not require a user to log in or passes the info along automatically, so the website continues to function correctly?<br /><br />Is there a way to try the server version by syncing to the SQL server? I need to be able to dump the customer table once daily into SQL. Maybe other tables in the future, like orders or quotes. Does the server version need a remote desktop session open to work? If the server reboots because of an update, I need to log in to make it work again. That doesn&rsquo;t seem very feasible for us.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QODBC is not a driver you would install on a server; multiple workstations would have access to it. The server version of QODBC is for synchronizing SQL Server with QuickBooks data or for a web or intranet application.<br /><br />&gt;&gt;Is there a server version that will not need a user logged in or passes the info along automatically, so the website continues to function correctly? <br />&gt;&gt;Does the server version need to have a remote desktop session open to work? <br /><br />Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2557/0/how-to-setup-qodbc-to-access-quickbooks-when-there-is-no-one-logged-in" target="_blank">&nbsp;to Setup QODBC to Access QuickBooks when no one Logged in</a>.<br /><br />OR<br /><br />You may configure a session-0 to start and starts QuickBooks and QRemoteServer automatically.<br />When you configure session-0, you are setting up the auto login of a user, and that user will have a desktop session running. <br /><br />&gt;&gt;Is there a way to try the server version by syncing to the SQL server? <br /><br />You can use Linked Server on SQL Server and connect to QuickBooks Data using QRemote. When you query Linked Server/tables, you will always get live QuickBooks Data.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For dump of All the tables or selected tables from QODBC to Tables in SQL Server Database, You may write a script to create the table(s) in SQL Server and Get data from the linked server.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">e.g. <br />SELECT * into LocalSQLTableName FROM OPENQUERY(YourLinkedServerName, 'SELECT * FROM LinkedTableName')<br /><br />SELECT * into tblVendor FROM OPENQUERY(QRemote, 'SELECT * FROM Vendor') <br /> <br />You can add the script to the agent to run periodically.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the below-mentioned article for How to create a Link Server with MS SQL 2005/2008/2012 Using QODBC/QRemote.<br /><br />For 32-bit SQL Server, refer to:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create a Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a><br /><br />For 64-bit SQL Server, refer to:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458" target="_blank">How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a><br /><br /> <br />Also, Refer:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank">How to set up QODBC Driver to auto-connect to QuickBooks. (Video)</a><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2360" target="_blank">How to setup QODBC for Auto-login into QuickBooks</a><br /><br /><br /><br /> <br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Refresh on MS Excel fails]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2695]]></link>
<guid isPermaLink="false"><![CDATA[dbbf603ff0e99629dda5d75b6f75f966]]></guid>
<pubDate><![CDATA[Mon, 26 Oct 2015 06:43:50 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Refresh on MS Excel fails.
Problem:
MS Excel shows a data protection error when we click on the "Refresh All" link.

&nbsp;
When you click&nbsp;"OK," you will see the error below.

Solution:
You are receiving this error because your Excel sheet is...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Refresh on MS Excel fails.</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">MS Excel shows a data protection error when we click on the "Refresh All" link.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RefExcel/step1.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you click&nbsp;<strong>"OK,"</strong> you will see the error below.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RefExcel/step2.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solution:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You are receiving this error because your Excel sheet is in <strong>Protected Mode</strong>. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When the worksheet is protected, all cells are locked by default, meaning they cannot be edited.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best to unprotect the worksheet by clicking the "Unprotect" link from File&gt;&gt;Info Tab In MS Excel 2010. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RefExcel/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After removing protection, you can Refresh Data through the "Refresh All" link.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007" target="_blank">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit" target="_blank">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel" target="_blank">How to Configure QODBC to Work With 64-bit MS Excel</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] Connecting QODBC Online Driver to QuickBooks Online for the First Time  (Video)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2684]]></link>
<guid isPermaLink="false"><![CDATA[7c4bf50b715509a963ce81b168ca674b]]></guid>
<pubDate><![CDATA[Wed, 30 Sep 2015 12:42:55 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Connecting QODBC Online Driver to QuickBooks Online for the First Time&nbsp; (Video)
For system requirement details of QODBC Online,&nbsp;click here.
How to install QODBC Online &amp; Using Microsoft Excel/Access with QODBC

You can also see: How to u...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Connecting QODBC Online Driver to QuickBooks Online for the First Time&nbsp; (Video)</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For system requirement details of QODBC Online,&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2816" target="_blank">click here</a>.</span></p>
<p>How to install QODBC Online &amp; Using Microsoft Excel/Access with QODBC</p>
<p><object width="900" height="550" data="//www.youtube.com/embed/yFjo2Y5ovOo"></object></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can also see: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2658" target="_blank">How to use QODBC Online with QuickBooks Online Edition</a> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For system requirement details of QODBC Online,&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2816" target="_blank">click here</a>.</span></p>
<p>Tags:</p>
<p>Installing QODBC Online</p>
<p>How to connect QODBC Online</p>
<h3>&nbsp;</h3>
<p>Tags: QuickBooks Online, QBO, MS Access, Excel, QODBC Online, connect online</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Invoices using QRemote from SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2651]]></link>
<guid isPermaLink="false"><![CDATA[148260a1ce4fe4907df4cd475c442e28]]></guid>
<pubDate><![CDATA[Fri, 05 Jun 2015 09:45:20 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Examples of Creating Invoice using QRemote from SQL Server 
 Note: For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have separate smaller commands for the Invoice Lines and a final&...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Examples of Creating Invoice using QRemote from SQL Server </span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <strong>Note:</strong> For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have <span id="a0a24976-a8b6-48fe-ae8e-e3a5cfd67ba3" class="GINGER_SOFTWARE_mark">separate</span> smaller commands for the Invoice Lines and a final&nbsp; INSERT for the Invoice Header.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create an Invoice with 3 Lines</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Here we create an invoice with three lines by using 3 InvoiceLine INSERT commands (with the <span style="color: #ff0000;">FQSaveToCache</span> caching flag set true) followed by the Invoice table (header) insert, which is automatically designed to pull in all cached InvoiceLine records and save immediately.</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>First Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-2000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <strong>Note: </strong> QRemote is a linked server name. It would be best if you changed it with your linked server name.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Suppose you don't set up a linked server in SQL Server. Please refer below-mentioned link for creating the linked server. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> For 32-bit SQL Server: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> For 64-bit SQL Server: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/52/how-to-create-link-server-with-ms-sql-200520082012-64-bit-using-qodbcqremote">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a> </span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Second Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-3000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Third Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-4000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Header Information </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(CustomerRefListID, ARAccountRefListID, TxnDate, RefNumber, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode, BillAddressCountry, IsPending, TermsRefListID, DueDate, ShipDate, ItemSalesTaxRefListID, Memo, IsToBePrinted, CustomerSalesTaxCodeRefListID) VALUES('160000-933272658', '40000-933270541', {d'2014-10-01'}, '1', 'Brad Lamb,' '1921 AppleseedLane', 'Bayshore,' 'CA,' '94326', 'USA,' 0, '20000-933272658', {d'2014-10-31'}, {d'2014-10-01'}, '2E0000-933272656', 'Memo Test,' 0,'10000-999022286')</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step1.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step1.png" width="1100" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Results in QuickBooks </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step2.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step2.png" width="1100" height="522" /></span></p>
<h3>&nbsp;</h3>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Related Data Location </span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="1edee6aa-a2c4-410a-b36a-45e4f42b41c7" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="41838a42-b8a5-4d33-b403-68b058dbb742" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span> is '240000-933272656' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...An item where FullName is like 'F%.'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step3.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step3.png" width="808" height="590" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="b24f92cb-0a84-4ca0-95ae-541bc7035faf" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="18c36acb-d9fe-41b8-9173-266e437e0fc5" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span> is '20000-999022286' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...SalesTaxCode where Name like 'N%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step4.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step4.png" width="811" height="589" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="7c64ef3d-1f2a-4900-9bb4-29c02ac6b38a" class="GINGER_SOFTWARE_mark">CustomerRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="6f72d535-3e08-4d5d-831f-0dd516a69900" class="GINGER_SOFTWARE_mark">CustomerRefListID</span> is '160000-933272658' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...Customers where FullName like 'Aber%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step5.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step5.png" width="810" height="589" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="505d59a2-ea99-4682-a24c-ba3ada0ea829" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="da7e0de9-a47e-4897-b803-9ada8d40581b" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span> is '40000-933270541' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...An account where a Name like 'Account%.'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step6.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step6.png" width="807" height="586" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="bca21bac-07bd-485e-979c-1f1c9149e9d4" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="283919b1-fdec-4bae-82f3-1af6c5a2c677" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span> is '2E0000-933272656' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...ItemSalesTax where Name like 'San%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step7.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step7.png" width="806" height="587" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="9ddfca49-bb14-4946-9c5b-eceea9839390" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="abddc888-82df-49b8-a3ff-8a5d794e388e" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span> is '10000-999022286' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...SalesTaxCode where Name like 'T%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step8.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step8.png" width="811" height="587" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Example of adding InvoiceLine items to an existing Invoice</span></h3>
<p>You can add lines to existing Invoices using SQL Linked Server without any issue. Please refer to the sample query for the same:</p>
<p>Insert&nbsp;into QRemote.InvoiceLine (TxnID, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount) VALUES ('1B308-1513325705', '320000-1071525597', '11440DECA', 5,5)</p>
<p><strong>OR</strong></p>
<p>Insert openquery(QRemote, 'select TxnID, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount from InvoiceLine where TxnID=''0''') values ('1B308-1513325705','320000-1071525597', '88880DECA', 5,5)</p>
<p><strong>Note</strong>: In the INSERT statement, a where should be TxnID=''0''. The TxnID=''0'' predicate is used to avoid retrieving data from the remote server, which can result in slower performance.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QRemote Does not consider FQSaveToCache with working with OdbcCommand &amp; Parameters]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2646]]></link>
<guid isPermaLink="false"><![CDATA[f2e43fa3400d826df4195a9ac70dca62]]></guid>
<pubDate><![CDATA[Wed, 06 May 2015 06:53:35 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - QRemote Does not consider FQSaveToCache with working with OdbcCommand &amp; Parameters
Problem Description:
 QRemote Does not consider FQSaveToCache with working with OdbcCommand &amp; Parameters.I have an application that creates Sale...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - QRemote Does not consider FQSaveToCache with working with OdbcCommand &amp; Parameters</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QRemote Does not consider FQSaveToCache with working with OdbcCommand &amp; Parameters.<br /><br />I have an application that creates Sales Orders. This is what I execute for each line item:<br /><br />Running this code against QODBC DSN works well if everything is local - using a 32-bit local DSN and QuickBooks local to the application. The Sales Order appears correct in QuickBooks.<br /><br />Taking the same code and connecting it to a 64-bit QRemote DSN connected to a 32-bit qODBC DSN on another machine (via QRemote Server) does not work.<br /><br />The basic flow is like this:<br /><br />cnQODBC = New OdbcConnection(ConfigurationManager.AppSettings.Item("QuickBooksConnectionString"))<br /><br />cnQODBC.Open()<br /><br />[Repeat for every sales order line item]<br /><br />Dim cmdQODBC As OdbcCommand = New OdbcCommand("insert into SalesOrderLine (CustomerRefListID, TxnDate, SalesOrderLineClassRefListID, TemplateRefListID, RefNumber, " &amp; "SalesOrderLineItemRefListID, SalesOrderLineDesc, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineAmount, " &amp; "CustomFieldSalesOrderLineOther1, FQSaveToCache) values (??, ??, ????????)", cnQODBC)<br /><br />cmdQODBC.Parameters.AddWithValue(", "strCustomerListID)<br /><br />cmdQODBC.Parameters.AddWithValue("", "{d'" &amp; dteInvoiceDate.ToString("yyyy-MM-dd") &amp; "'}")<br /><br />cmdQODBC.Parameters.AddWithValue(", "strLineClassListID)<br /><br />cmdQODBC.Parameters.AddWithValue(", "strTemplateListID)<br /><br />cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber)<br /><br />cmdQODBC.Parameters.AddWithValue("", strLineItemListID)<br /><br />cmdQODBC.Parameters.AddWithValue(", "strain description)<br /><br />cmdQODBC.Parameters.AddWithValue(", "intQuantity) <br /><br />cmdQODBC.Parameters.AddWithValue(", "dblLineRate) <br /><br />cmdQODBC.Parameters.AddWithValue(", "dblLineAmount) <br /><br />cmdQODBC.ExecuteNonQuery()<br /><br />[End repeat]<br /><br />cnQODBC.Close()<br /><br />cnQODBC = Nothing<br /><br />cmdQODBC.ExecuteNonQuery()</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Integer, double, and long datatype parameter passing in QRemote pass-through string format because of flow QRemote Client --&gt; QRemote Server --&gt; QODBC Datatype conversion create the problem in QODBC and due to this issue occurred.<br /><br />The workaround for this problem is to pass value in string format instead of basic format as in the below example:<br /><br /> <strong> cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber.ToString()) //cmd.Parameters.AddWithValue("", "3");<br /><br />cmdQODBC.Parameters.AddWithValue("", intQuantity.ToString()) //cmd.Parameters.AddWithValue("", "44.2");<br /><br />cmdQODBC.Parameters.AddWithValue("", dblLineRate.ToString()) // cmd.Parameters.AddWithValue("", "113.4");<br /><br />cmdQODBC.Parameters.AddWithValue("", dblLineAmount.ToString()) //cmd.Parameters.AddWithValue("", "0");<br /><br /> </strong> Instead of <br /><br />cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber) //cmd.Parameters.AddWithValue("", 3);<br /><br />cmdQODBC.Parameters.AddWithValue("", intQuantity) //cmd.Parameters.AddWithValue("", 44.2);<br /><br />cmdQODBC.Parameters.AddWithValue("", dblLineRate) //cmd.Parameters.AddWithValue("", 113.4);<br /><br />cmdQODBC.Parameters.AddWithValue("", dblLineAmount) //cmd.Parameters.AddWithValue("", 0);</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2645]]></link>
<guid isPermaLink="false"><![CDATA[a7789ef88d599b8df86bbee632b2994d]]></guid>
<pubDate><![CDATA[Mon, 04 May 2015 14:05:59 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server
Problem Description:
 Trying to insert into SalesOrderLine and getting a 'Multiple-step' error. INSERT INTO QBREMOTE...SalesOrderLine (CustomerRefListID, TemplateRef...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Trying to insert into SalesOrderLine and getting a 'Multiple-step' error. <br /><br />INSERT INTO QBREMOTE...SalesOrderLine (CustomerRefListID, TemplateRefListID, SalesOrderLineItemRefFullName, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineTaxCodeRefListID, ClassRefListID, FQSaveToCache) VALUES ('8000343B-1393961058', '80000008-1377787801 ', 'R1', 1.0000, 500.00, '80000001-1377787801 ', '80000003-1393947522', 0) <br /><br />OLE DB provider "MSDASQL" for linked server "QBREMOTE" returned the message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".<br /><br />Msg 7343, Level 16, State 2, Line 1<br /><br />The OLE DB provider "MSDASQL" for linked server "QBREMOTE" could not INSERT INTO table "[QBREMOTE]...[SalesOrderLine]". <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You need to change the "Maximum Field Name Length" value from QODBC Setup Screen&gt;&gt; Advanced tab to resolve "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." at the time of insertion.<br /><br />Please follow the below instruction to change the "Maximum Field Name Length" value.<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt; Configure QODBC Data Source&gt;&gt;Go To "System DSN" (If you are using System DSN) or "User DSN" (If you are using User DSN) Tab &gt;&gt; select your DSN&gt;&gt; click "configure"&gt;&gt; Advanced &gt;&gt; "Maximum Field Name Length" change to 100.&nbsp;</span>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MOLEDB/step1.png" alt="http://support.flexquarters.com/esupport/newimages/MOLEDB/step1.png" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Also, you can use openquery, which can insert records in the SalesOrderLine table:<br /><br />Insert openquery(QBREMOTE,' select CustomerRefListID, TemplateRefListID, SalesOrderLineItemRefFullName, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineTaxCodeRefListID, FQSaveToCache from SalesOrderLine where 1=0') values ('160000-933272658', '120000-1071512690', 'Wood Door: Exterior', 1.0000, 555.00, '10000-999022286', 0) <br /><br />Please refer:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2367/50/how-to-do-inserts-updates-and-deletes-using-openquery-with-linked-ms-sql-servers"> How to do INSERTs, UPDATEs, and DELETEs using OPENQUERY with Linked MS SQL Servers</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use parameters in OPENQUERY]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2644]]></link>
<guid isPermaLink="false"><![CDATA[f35a2bc72dfdc2aae569a0c7370bd7f5]]></guid>
<pubDate><![CDATA[Mon, 04 May 2015 13:58:36 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Problem Description:
 How to use parameters in OPENQUERY 
Solutions:
 OPENQUERY does not accept variables for its arguments. You need to Pass Basic Values as below example:
Select Query:
 DECLARE @TSQL varchar(8000), @ID varchar(25)
SELECT @ID = '19...]]></description>
<content:encoded><![CDATA[<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> How to use parameters in OPENQUERY<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> OPENQUERY does not accept variables for its arguments. You need to Pass Basic Values as below example:</span></p>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Select Query:</span></h4>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong> DECLARE @TSQL varchar(8000), @ID varchar(25)</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>SELECT @ID = '19650'</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>SELECT @TSQL = 'SELECT * FROM OPENQUERY(QRemote ,''SELECT * FROM ReceivePayment WHERE ReceivePayment.RefNumber = ''''' + @ID + ''''''')'</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>EXEC (@TSQL)</strong></span></p>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Update Query:</span></h4>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>DECLARE @TSQL varchar(8000), @ID varchar(25), @CName varchar(25)</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>SELECT @ID = '80000146-1513345553'</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>SELECT @CName = 'New Company'</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>SELECT @TSQL = 'Update OPENQUERY(QRemote ,''SELECT * FROM Customer WHERE Customer.ListID = ''''' + @ID + ''''''')' + 'SET CompanyName = ''' + @CName + ''''</strong></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>EXEC (@TSQL)</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please refer below link:<br /> <a href="https://support.microsoft.com/en-us/kb/314520"> How to pass a variable to a linked server query </a> <br /><a href="http://stackoverflow.com/questions/3378496/including-parameters-in-openquery">Including parameters in OPENQUERY</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QXL-Desktop] How to use QXL]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2641]]></link>
<guid isPermaLink="false"><![CDATA[f21e255f89e0f258accbe4e984eef486]]></guid>
<pubDate><![CDATA[Thu, 26 Mar 2015 13:31:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QXL
Step 1 - Download QXL
 If you haven't already downloaded QXL, go to the download page&nbsp;now. Don't forget to read the "Readme" file during installation for the latest information on QXL setup, new features, and other driver information...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QXL</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 1 - Download QXL</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> If you haven't already downloaded QXL, go to the <a href="http://qxl1.com/qxl-for-quickbooks-desktop-downloads/">download page</a>&nbsp;now. Don't forget to read the "Readme" file during installation for the latest information on QXL setup, new features, and other driver information. Save the self-extracting executable "QXLSetup.exe" in a temporary directory or your "My Documents" folder to extract the installation files.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 2 - Running the Installer:</span></h3>
<p>Click on the Install program from within Windows to install the driver. Select the destination directory to install the QXL support files. Click "OK" to continue.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step1.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step6.png" alt="" /></p>
<p>The QXL - QuickBooks Export Made Easy&reg; has been successfully installed on your computer. You can begin to use it because it will immediately run as a 30-day evaluation version.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 3 - Use QXL:</span></h3>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step7.png" alt="" /></p>
<p>After installation, you may notice the following icons on the desktop.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step28.png" alt="" /></p>
<p>QXL &ndash; Silent Mode - It uses the last saved settings of QXL and Automatically starts Executing the data export with no user interface.QXL &ndash; Direct Mode - It uses the previously saved settings of QXL and Automatically starts Executing the data export with the user interface, i.e., displaying progress data export.QXL &ndash; Manual execution of Data Export/Update Settings/Activation-Deactivation. You can select tables and destinations to which the files should be exported. Start QuickBooks, log in to your company file, Switch back to QXL, and click Export Data.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step8.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step9.png" alt="" /></p>
<p>After the export is completed. Exported data folder will open.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step10.png" alt="" /></p>
<p>Exported data is placed at the below location by default: C:\Users\User Name\Documents\QXL\</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QXL Features:</span></h3>
<p>1. Export QuickBooks Data to XML format via QODBC.</p>
<p>2. Export QuickBooks Data to CSV format via QODBC.</p>
<p>3. Ability to choose export file(s) location.</p>
<p>4. Ability to export to Separate files or a single file.</p>
<p>5. Ability to export all selected, tabled, or excluded tables.</p>
<p>6. Ability to save your default settings from Options.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2786" target="_blank">QXL options and settings</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use Date() And DateAdd() function in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2638]]></link>
<guid isPermaLink="false"><![CDATA[06c284d3f757b15c02f47f3ff06dc275]]></guid>
<pubDate><![CDATA[Fri, 13 Mar 2015 10:05:07 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to use Date() And DateAdd() function in QODBC
Problem Description:
 I want to write some select statements on InvoiceLine and SalesReceiptLine that return all records dated WITHIN the past 30 days relative to whatever TODAY is. I'm...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to use Date() And DateAdd() function in QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I want to write some select statements on InvoiceLine and SalesReceiptLine that return all records dated WITHIN the past 30 days relative to whatever TODAY is. I'm very familiar with Microsoft SQL syntax and would normally say... WHERE TxnDate &gt;= getdate()-30<br /><br />How can I reference "30 days ago" using the QODBC driver?<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> In QODBC, the function CURATE() &ndash; Returns the current computer system date as a date value.<br /><br />For example, for Today, April 18, 2006, when the following query:-<br /><br />SELECT {fn CURDATE()} as Today, ({fn CURDATE()}-30) as "30 Days Ago", TxnDate, RefNumber, InvoiceLineDesc FROM invoiceline WHERE TxnDate &gt;= ({fn CURDATE()}-30) is run in <strong>QODBC Test Tool</strong> the results were:</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2638/Q1.png" alt="" /></span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I need to select only the transactions that occurred in the last 90 days. I used the Access functions Date() And DateAdd() in the Criteria to filter for those transactions, but I am getting the error message "Invalid Procedure Call." Here are the Criteria that I am trying to use:<br /><br />Between Date() And DateAdd("dd",-91,Date())<br /><br />What am I doing wrong? Does QODBC have different functions for this?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> To write Pass-thru queries for reading and to write QuickBooks&reg; data using QODBC and Microsoft&reg; Access, you must use the proper date format.<br /><br />You may use Date Macros, but you may also use specifically from and to dates for more flexibility.<br /><br />This function formats dates with the QODBC format: {d 'YYYY-MM-DD'}. There is no need to remember the form, just the function's name: fncqbDate.<br /><br /> <br /><br /> <strong>Function:</strong> <br /><br />Function fncqbDate(myDate As Date) As String<br />myDate = Nz(myDate, Now)<br />fncqbDate = "{d '" &amp; Year(myDate) &amp; "-" &amp; Right("00" &amp; Month(myDate), 2) &amp; "-" &amp; Right("00" &amp; Day(myDate), 2) &amp; "'}"<br />End Function<br /> <br /><br /> <strong>Example:</strong> <br /><br />You might use fncqbDate to help create an SQL string with VBA from user input dates. <br /><br />mySQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly',dateFROM = " &amp; fncqbDate(BegDate) &amp; ", dateTO = " &amp; fncqbDate(EndDate) &amp; " where account like '%checking%'" <br /><br /> <br /><br /> <strong>Put Some Checks into a Table:</strong> <br /><br />Try this out and put some checks on a table:<br />1. Copy and paste fncqbDate (first function above) into a module.<br />2. Copy and paste fncGetChecks (function below) into a module.<br />3. If you need QuickBooks&reg; to open to using QODBC, open it and ensure you authorized QuickBooks&reg; to communicate with QODBC. 4. Make sure the following references are checked in your Microsoft&reg; Access database:<br />Visual Basic For Applications<br />Microsoft Access 10.0 Object Library<br />Microsoft DAO 3.6 Object Library<br /> <br /><br />To use fncGetChecks, call it from a form or type: fncGetChecks into the immediate window of the Visual Basic Editor. <br /><br />Change the default connection string if necessary by entering your connection string when prompted. <br /><br />The function will ask for: a name for the new query (make sure this doesn't already exist in your database)<br /><br />a beginning date<br /><br />an ending date<br /><br />Your connection string which may or may not be the default offered<br /><br /> <br /><br />Function fncGetChecks()<br />On Error GoTo fncGetChecks_err<br />Dim q As String, Date1 As Date, Date2 As Date<br />q = InputBox("Give your temporary query a name:", "Temporary Pass-Thru Query", "")<br />Date1 = InputBox("Enter start date:", "Start Date", FormatDateTime(Now, vbShortDate))<br />Date2 = InputBox("Enter end date:", "End Date", FormatDateTime(Now, vbShortDate))<br />Dim db As DAO.Database, qd As DAO.QueryDef<br />Set db = CurrentDb<br />Set qd = db.CreateQueryDef(q)<br />qd.ReturnsRecords = True<br />qd.Connect = InputBox("Enter connection string:", "", "ODBC;DSN=QuickBooks Data;SERVER=QODBC")<br />qd.SQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account " &amp; _<br />"parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly'," &amp; _<br />"dateFROM = " &amp; fncqbDate(Date1) &amp; ", dateTO = " &amp; fncqbDate(Date2) &amp; _<br />" where account like '%checking%'"<br />DoCmd.RunSQL "select * into tbl" &amp; q &amp; " from " &amp; q<br />Set qd = Nothing<br />Set db = Nothing<br />DoCmd.DeleteObject acQuery, q<br />DoCmd.OpenTable "tbl" &amp; q<br />Exit Function<br />fncGetChecks_err:<br /> <br />MsgBox Erl &amp; " " &amp; Err.Number &amp; ": " &amp; Err.Description<br />End Function <br /><br /><br />Also, refer to the following:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1225/57/how-to-use-prompted-date-ranges-in-ms-access-2007-using-vista"> How to Use Prompted Date Ranges in MS Access 2007 using Vista&nbsp;</a><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - &quot;Error Parsing complete XML return string&quot; error when trying to update table PriceLevelPerItem in MS Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2635]]></link>
<guid isPermaLink="false"><![CDATA[ed277964a8959e72a0d987e598dfbe72]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:48:10 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - "Error Parsing complete XML return string" error when trying to update table PriceLevelPerItem in MS Access
Problem Description:
I constructed an Access database file (32bit Access 2003) with tables linked to QuickBooks. I can pull inf...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - "Error Parsing complete XML return string" error when trying to update table PriceLevelPerItem in MS Access</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I constructed an Access database file (32bit Access 2003) with tables linked to QuickBooks. I can pull information from the related tables to other tables in Access using update queries with no problems. When I try to run an update query to change a value in the QuickBooks linked table, I receive the below error. I need help figuring out the error and how to fix it.<br /><br />My query is:<br /><br />UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey &lt;&gt; ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PriceLevelPerItem/step1.png" alt="http://support.flexquarters.com/esupport/newimages/PriceLevelPerItem/step1.png" width="377" height="110" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You need to include PriceLevelPerItemItemRefListID in your update statement.<br /><br />You need to include below the line in your update statement to resolve this issue.<br /><br />SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID For Example:<br /><br />UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey &lt;&gt; ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID, PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] QODBC POS could not access to QuickBooks POS Company File]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2633]]></link>
<guid isPermaLink="false"><![CDATA[fc03d48253286a798f5116ec00e99b2b]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:38:10 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC POS could not access to QuickBooks POS Company File
Problem Description:
When ting sets QODBC POS DSN to access the company file running in QuickBooks POS (Version 10), it will fail to connect to the company file. QuickBooks POS will search for th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">QODBC POS could not access to QuickBooks POS Company File</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When ting sets QODBC POS DSN to access the company file running in QuickBooks POS (Version 10), it will fail to connect to the company file. QuickBooks POS will search for the server with no response.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">There is a limitation of QuickBooks POS SDK 10 that it will not be able to get the currently open company file name &amp; thus, QODBC POS is not able to connect the now available company file.<br /><br />QuickBooks POS SDK Test Plus tool also requires a connection string; It will not connect QuickBooks POS without a connection string.<br /><br />For Example:<br /><br />Connection String = " ComputerName=WIN-O8RQBVCMJFC;CompanyName=SampleCompany;Version=10 "<br /><br />You must provide the connection string to connect the company file as a workaround for this issue. Please follow the below steps: <br /><br />1) Please change QuickBooks POS to run in multi-user mode. Click the "Switch Company File to Multi-User Mode" option in File Menu.&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step1.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step1.png" width="584" height="642" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">2) Build Connection String:<br /><br />Click the "..." button at QODBC POS Setup Screen-&gt;General Window to enter the company file selection window:&nbsp;<br /></span><br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step2.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step2.png" width="403" height="391" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3) In the company file selection window, QODBC POS will give you a list of all available company files (may take a few seconds) : </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step3.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step3.png" width="557" height="201" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QuickBooks POS will ask you to grant permission to QODBC POS: 4) Select the company file you want to access and click ok. Then you will see the connection string has been built in the "Current Company Setting" option. And then, please click the "Test Connection" button.&nbsp;&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step4.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step4.png" width="504" height="391" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">5) Click the "Yes Always" button. If QODBC POS tells you the connection is successful, you can use our test tools VB Demo to view QuickBooks POS records via QODBC POS.</span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">6) Now, we will test the connection using QODBC POS Test Tool. Please open QODBC POS Test Tool from:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks POS&gt;&gt;QODBC POS Test Tool.<br /></span></span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q1.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">7) Please select the "QuickBooks POS Data" DSN from the dropdown list &amp; click on "Connect."</span></p>
<div><img style="display: block; margin-left: auto; margin-right: auto; border: 0px none;" src="https://support.flexquarters.com/esupport/newimages/2633/Q2.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">8) We can connect to DSN from QODBC POS Test Tool. Please write your SQL statement &amp; click on "Run."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q3.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">9) We can fetch data from QODBC POS Test Tool.&nbsp; </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q4.png" alt="" /></div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Cannot use alias in MS Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2626]]></link>
<guid isPermaLink="false"><![CDATA[e354fd90b2d5c777bfec87a352a18976]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 11:54:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Cannot use alias in MS Query
Problem Description:
 I am getting the below error message when trying to SELECT data fields AS Alias, the statement runs fine otherwise.[sql syntax error] Expected lexical element not found:= Please see th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Cannot use alias in MS Query</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am getting the below error message when trying to SELECT data fields AS Alias, the statement runs fine otherwise.<br /><br />[sql syntax error] Expected lexical element not found:= <br /><br />Please see the following SQL statement: <br /><br />SELECT Item.Name AS SKU, Item.CustomFieldColor AS Item, Item.Description, Item.SalesPrice, Item.PurchaseCost, Item.QuantityOnHand FROM Item Item WHERE (Item.Name&lt;&gt;'IFR' And Item.Name&lt;&gt;'OTW') AND (Item.Description&lt;&gt;'') AND (Item.Type='ItemInventory') ORDER BY Item.Name<br /><br />The above statement is working fine in QODBC Test Tool, MS Access. But I am facing the issue in MS Excel. &nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSQueryAlias/step1.PNG" alt="http://support.flexquarters.com/esupport/newimages/MSQueryAlias/step1.PNG" width="1198" height="554" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> MS Excel has some issue when you alias in the query. When you try to use Microsoft Query to return data from some third-party databases into Microsoft Excel, apostrophes (') around alias names can cause the query to fail. <br /><br />Please refer below mentioned link to resolve this issue:<br /><br /> <a href="https://support.microsoft.com/en-us/kb/298955" target="_blank"> Using a field alias in Query does not work with some third-party databases </a><br /><br />You can either apply hotfix or change registry values.</span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>The result after changing registry values &amp; execute the query again:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSQueryAlias/step2.PNG" alt="http://support.flexquarters.com/esupport/newimages/MSQueryAlias/step2.PNG" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Multiple tables exist error in the Linked Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2617]]></link>
<guid isPermaLink="false"><![CDATA[75e33da9b103b7b91dcd8da0abe1354b]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:24:56 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Multiple tables exist error in the Linked Server
Problem Description:
I am trying to run a query using an SQL Server database link to QuickBooks using QRemote. I can set up the linked server fine in SQL Server, and the connection has b...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Multiple tables exist error in the Linked Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I am trying to run a query using an SQL Server database link to QuickBooks using QRemote. I can set up the linked server fine in SQL Server, and the connection has been tested to work. However, I try to run the query:<br /><br />SELECT * FROM QRemote...InvoiceLine<br /><br />The response is:<br /><br /> <strong>The OLE DB provider "MSDASQL" for linked server "QRemote" contains multiple tables that match the name "InvoiceLine."</strong><br /><br />I tried the select through <strong>QODBC Test Tool, which</strong>&nbsp;does not use the linked database. Please help as to where the issue might be.<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You have not configured the MSDASQL property for the linked server.<br /><br />The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio.&nbsp;</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleTables/step1.png" alt="http://support.flexquarters.com/esupport/newimages/MultipleTables/step1.png" width="289" height="165" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">In Object Explorer, right-click the provider name and select Properties for MSDASQL. The first six properties should be enabled. Please enable the first six properties.&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleTables/step2.png" alt="http://support.flexquarters.com/esupport/newimages/MultipleTables/step2.png" width="624" height="559" /><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">For Multiple tables existing error, the "Level zero only" property should be set. &nbsp;&nbsp;</span><br /></span></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - MS Access Crashes Hard On Date Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2616]]></link>
<guid isPermaLink="false"><![CDATA[a3d06db1f8c85b2837b4603a51834425]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:19:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - MS Access Crashes Hard On Date Query
Problem Description:
I've linked all the QODBC tables into an Access 2010 DB. I have created table subset queries on the original tables and would like to do selects based on date ranges - other thi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - MS Access Crashes Hard On Date Query</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I've linked all the QODBC tables into an Access 2010 DB. I have created table subset queries on the original tables and would like to do selects based on date ranges - other things, too, like JOINs - but I'm stuck with this problem. The minute I give Access a date constraint like receive payment.TxnDate &gt;=#11/1/2014# as stated in your "How Dates Are Formatted.." documentation for Access Date formats, Access immediately crashes. No msgs in the brief QODBC log files about the crashes, as best I can tell:<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please try executing the following command using <strong>QODBC Test Tool</strong> to see if it can solve the issue: sp_optimizefullsync ALL.<br /><br />This command will bring some data to a local cache to increase query retrieval performance. I want to suggest you, please let me run the above command entirely. The above command may take some time, depending on your records in QuickBooks. It may take 2-24 hours or more, depending on the number of documents in the QuickBooks company file. Please let this command run entirely. Do not kill this command. It is not advisable to kill/close the application while building the Optimizer file. <br /><br />After successfully executing the above command, please create a new MS Access Database file &amp; link all tables &amp; execute the query again. It should work without any issues. <br /><br />Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">How to Use QODBC with Microsoft Access 2010</a></span></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting : MS Access as middleware is not working with MS SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2609]]></link>
<guid isPermaLink="false"><![CDATA[339a18def9898dd60a634b2ad8fbbd58]]></guid>
<pubDate><![CDATA[Mon, 10 Nov 2014 14:51:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting: MS Access as middleware is not working with MS SQL Server
Problem Description:
 I am trying to use MS Access as a middleware with MS SQL Server. I have created an MS Access database &amp; linked all QODBC tables through QRemote DSN. Aft...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting: MS Access as middleware is not working with MS SQL Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am trying to use MS Access as a middleware with MS SQL Server. I have created an MS Access database &amp; linked all QODBC tables through QRemote DSN. After that, I created MS Access DSN, which points to the newly created database. After that, I created the linked server pointing to MS Access DSN. The linked server is created, but when I run the query on the linked server, I get the below error:&nbsp;<br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/middlewarenotworking/step1.png" alt="http://support.flexquarters.com/esupport/newimages/middlewarenotworking/step1.png" width="1078" height="658" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please help me to resolve this error.<br /><br /> </span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">This error is not related to QODBC. You are facing this issue because MS SQL Server is logged on as a&nbsp;<strong>"Network Service."</strong><br /><br />You need to change this setting to <strong>"Local System."</strong><br /><br />You can change it by below steps:<br /><br />Start &gt;&gt; Run &gt;&gt; type "services. msc" and click on "OK." <br /><br />Find SQL Server (MSSQLSERVER), Open SQL Server (MSSQLSERVER) by double clicking on it &amp; navigate log On tab &amp; choose log-on as <strong>"Local System Account,"</strong> and apply the changes by clicking on the ok button &amp; test again.<br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/middlewarenotworking/step2.png" alt="http://support.flexquarters.com/esupport/newimages/middlewarenotworking/step2.png" width="416" height="480" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Wrong Data in Excel from QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2603]]></link>
<guid isPermaLink="false"><![CDATA[92f54963fc39a9d87c2253186808ea61]]></guid>
<pubDate><![CDATA[Mon, 10 Nov 2014 14:25:56 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Problem Description:
We modified an invoice in QuickBooks and are trying to get the data out in Excel, but QODBC gives us the old data. Why?
Solutions:
QODBC failure to return full records is usually caused by corruption of the&nbsp;QODBC optimizer fil...]]></description>
<content:encoded><![CDATA[<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We modified an invoice in QuickBooks and are trying to get the data out in Excel, but QODBC gives us the old data. <br /><br />Why?</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QODBC failure to return full records is usually caused by corruption of the&nbsp;<span id="afc9105e-b5c9-4ca5-8a20-323839c36455" class="GINGER_SOFTWARE_mark">QODBC optimizer file</span>. I want to inform you that the Optimizer file may be corrupted if you are killing the&nbsp;<span id="33e92343-1a89-41c4-bf83-a8c75d2446fe" class="GINGER_SOFTWARE_mark">process</span> or query while the optimizer file is <span id="5139c00c-610c-4331-9241-7fddb530bdcf" class="GINGER_SOFTWARE_mark">building</span>. It is not advisable to kill a query while it is in execution. <br /><br />Please reset the optimizer to solve the problem.<br /><br />1) Close all other applications that use QODBC.<br /><br />2) Turn off the QODBC optimizer (QODBC Setup Screen-&gt;" Optimizer" tab-&gt;Uncheck "Use optimizer" option)<br /><br />3) Find the file with<span id="be43cfbb-c3a6-45ba-97d6-841c2879f68c" class="GINGER_SOFTWARE_mark">&nbsp;the .</span><span id="7ff030ad-9ec4-4999-8cc8-0c987e2deca0" class="GINGER_SOFTWARE_mark">opt</span> extension <span id="0cbc797a-f188-447a-956e-2d7a095cc5e5" class="GINGER_SOFTWARE_mark">at</span> the path you had assigned to the QODBC optimizer and delete the <span id="c6eadbb7-998f-41ca-98dc-8906c3333b94" class="GINGER_SOFTWARE_mark">optimizer</span> file.<br /><br />(The default path is %AppData%\QODBC Driver for QuickBooks\Optimizer)<br /><br />You can find the&nbsp;<span id="1a4c002c-5d3d-44bc-8f1b-530a9f347d1d" class="GINGER_SOFTWARE_mark">optimizer folder path</span> from QODBC Setup Screen-&gt;" Optimizer" tab. Please copy this path &amp; navigate to this path &amp; delete<span id="fd6757f3-f461-4b76-9c2b-eb3d49c4951d" class="GINGER_SOFTWARE_mark">&nbsp;the .</span><span id="860060a0-cca9-497e-abae-086cfd356e33" class="GINGER_SOFTWARE_mark">opt</span> file.<br /><br />Or<br /><br />You can directly delete<span id="17e5e4b0-8045-4caa-a471-f68733f0f132" class="GINGER_SOFTWARE_mark">&nbsp;the .</span><span id="450538f3-874a-4e73-abb5-562de48b84e6" class="GINGER_SOFTWARE_mark">opt</span> file from:<br /><br /> <span id="d2b3fc71-3491-45e9-aa56-f27160b648ef" class="GINGER_SOFTWARE_mark">Start&gt;&gt;All</span> Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt;QODBC Setup Screen&gt;&gt;" Optimizer" tab&gt;&gt;Click "<strong>Reset Optimizer File(s)</strong>."</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL-8004040a/step6.png" alt="" width="414" height="463" /><br />4) Turn on the QODBC optimizer (QODBC Setup Screen-&gt;" Optimizer" tab-&gt;Check "Use optimizer" option)<br /><br />5) After turning on the <span id="d6133c06-8de3-4f10-9e23-875e66984cee" class="GINGER_SOFTWARE_mark">optimizer</span>, please run the below command in <strong>QODBC Test Tool</strong>:<br /><br />sp_optimizefullsync All<br /><br />This command will bring some data to a local cache to increase query retrieval performance. I want to suggest you please let run the above command completely. The above command may take some time, depending on your QuickBooks records. It may take 2-24 hours or more, depending on the number of records in the QuickBooks company file. Please let this command run entirely. Do not kill this command. It is not advisable to kill/close the application while it's building the Optimizer file. <br /><br />6) Please test again to see if the problem is still there.<br /><br />7) After completing the above steps, please test data from <strong><span id="61ea53c3-2d3a-4570-bdd0-cad71769a062" class="GINGER_SOFTWARE_mark">QODBC Test Tool</span></strong>. If you can get updated data, then please refresh the Excel sheet so you can get <span id="25a4d8bf-749d-4bda-9688-0504444896ee" class="GINGER_SOFTWARE_mark">updated data</span>.<br /><br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] QODBC shows RegFile1 License error when using MS Excel 2013 or Access 2013  - Excel Crash / Access Crash- Expired Evaluation  - Excel Crash / Access Cras...]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2600]]></link>
<guid isPermaLink="false"><![CDATA[32b991e5d77ad140559ffb95522992d0]]></guid>
<pubDate><![CDATA[Mon, 13 Oct 2014 14:54:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC Shows a RegFile1 License error when using MS Excel 2013 or Access 2013&nbsp;
MS Excel 2013 or Access 2013 Shows This function requires activation of QODBC Read Write or Server Edition.
MS Excel 2013 or Access 2013 (Office 365) crashes when trying ...]]></description>
<content:encoded><![CDATA[<h3>QODBC Shows a RegFile1 License error when using MS Excel 2013 or Access 2013&nbsp;</h3>
<h3>MS Excel 2013 or Access 2013 Shows This function requires activation of QODBC Read Write or Server Edition.</h3>
<h3>MS Excel 2013 or Access 2013 (Office 365) crashes when trying to connect to QuickBooks Data.</h3>
<h3>Note: For Automatic Fix/Patch,&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2718" target="_blank">Click Here</a></h3>
<p>&nbsp;</p>
<p><iframe src="//www.youtube.com/embed/WLGaHRVcrh0" width="800" height="600"></iframe> <br /><br /></p>
<p>Keywords:&nbsp;regfile 1license error</p>
<p>Expired Evaluation</p>
<p>MS Excel 2013 or Access 2013&nbsp;</p>
<p>RegFile1</p>
<p>"Expired Evaluation" error message even though activated license</p>
<p>Office Crash</p>
<p>Expired Evaluation</p>
<p>Excel crash, Access Crash, Excel 2016 crash, Access 2016 crash</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use MS Access as Middleware with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2584]]></link>
<guid isPermaLink="false"><![CDATA[92426b262d11b0ade77387cf8416e153]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:51:20 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use MS Access as Middleware with QODBC
Problem Description:
 When using Prepared Statements with the QRemote driver, it throws an error called ODBC driver not supported. How can I use Prepared Statements with QODBC/QRemote?
Solutions:
 You may ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use MS Access as Middleware with QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> When using Prepared Statements with the QRemote driver, it throws an error called ODBC driver not supported. How can I use Prepared Statements with QODBC/QRemote?</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You may use a function/feature that the ODBC driver does not support. You can use MS-Access as middleware, <span id="8a466895-dcf0-478a-8701-715836ca7bea" class="GINGER_SOFTWARE_mark"><span id="b19b44b7-db33-45b7-bca3-f76d58d3398b" class="GINGER_SOFTWARE_mark">i.e</span></span>., Create linked tables in MS-Access, and connect your application to MS-Access. MS-Access has a linked table relating to QRemote or QODBC. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">First, you need to create the linked table in MS Access. Please refer to the mentioned article for making the linked table in MS Access. <br /><br />For 32-bit MS Access: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">How to Configure QODBC to Work With 32-bit MS Access</a><br /><br />For 64-bit MS Access: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a><br /><br /> <strong>Please Note 64-bit MS Access article contains information about the Import table; Please choose the "Link to the data source by creating a linked table" option for creating the linked table.</strong> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now we are creating MS Access DSN that points to the Access database file we created in the above steps. Please follow the below steps for creating MS Access DSN.<br /> <br />1) Please create a new MS Access DSN from:<br /> <span id="230f4b43-aa5b-4d49-8b1e-29c5172fd58f" class="GINGER_SOFTWARE_mark"><span id="3f1b4121-17a6-4032-bf41-b7b4e28a3604" class="GINGER_SOFTWARE_mark">Start&gt;&gt;All</span></span> Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt; Configure QODBC Data Source&gt;&gt;Go To "System DSN" Tab&gt;&gt;Click on "Add"</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step1.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step1.png" width="471" height="388" /><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">2) Choose "Microsoft Access Driver (*<span id="d8163ec6-41db-4f25-8c0c-9290f57067c2" class="GINGER_SOFTWARE_mark"><span id="c5bf2ea4-e141-49ea-bd1d-83db61bca394" class="GINGER_SOFTWARE_mark">.</span></span><span id="ed0a744a-8de1-461f-b1c9-d07d46ad8b94" class="GINGER_SOFTWARE_mark"><span id="3626e552-1223-4a2e-a20d-dfb98d47d904" class="GINGER_SOFTWARE_mark">mdb</span></span>, *<span id="2c73ce22-1a24-4e45-b2b1-eb18dbfbfef0" class="GINGER_SOFTWARE_mark"><span id="c8ba2a9f-3464-4cff-970c-bbe301bb8a1f" class="GINGER_SOFTWARE_mark">.</span></span><span id="b6d34138-063e-4c1e-8997-6b010643847e" class="GINGER_SOFTWARE_mark"><span id="09fc4f33-4857-496b-9870-9be61cf14daa" class="GINGER_SOFTWARE_mark">accdb</span></span>)" &amp; click on the "Finish" button.&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step2.png" width="475" height="353" /></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">3) Enter DSN name &amp; description &amp; click <span id="be3d5f03-863a-4167-a300-600b04909d3a" class="GINGER_SOFTWARE_mark"><span id="6b6e40f6-fb21-4664-a383-2050464d071d" class="GINGER_SOFTWARE_mark">on</span></span> select.</span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step3.png" width="478" height="320" /></span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">4) Provide the MS Access database file location, which we created earlier &amp; click on "OK."&nbsp;</span></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step4.png" width="405" height="251" /></span></span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">5) Click on "OK" to save <span id="ba273172-671c-4054-8858-7486e38e21af" class="GINGER_SOFTWARE_mark"><span id="9d55f9a5-cd10-44fa-a3a5-ca0eff9b5122" class="GINGER_SOFTWARE_mark">DSN</span></span>.</span></span></span></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step5.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step5.png" width="477" height="319" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">6) Newly created DSN is available in the DSN list.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step6.png" alt="http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step6.png" width="468" height="391" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">7) Now, we will use this DSN as a Middleware. We will test this DSN with our QODBC Test Tool application. Please open QODBC Test Tool from:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt;QODBC Test Tool<br /></span></span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2570/Q1.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">8) Please select the newly created DSN from the dropdown list &amp; click on "Connect."</span></p>
<div><img style="display: block; margin-left: auto; margin-right: auto; border: 0px none;" src="https://support.flexquarters.com/esupport/newimages/2570/Q2.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">9) We can connect to MS Access DSN from QODBC Test Tool. Please write your SQL statement &amp; click on "Run."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2570/Q3.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We can fetch data with MS Access DSN from QODBC Test Tool.&nbsp; </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2570/Q4.png" alt="" /></div>
<p><strong><br /> <strong>Note:</strong>&nbsp;</strong>&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2981" target="_blank">QODBC Support Wizard</a> is used to test QODBC SQL queries only and is not a development tool; you should be able to use the <span style="font-family: Arial,Helvetica,sans-serif;">MS Access DSN ("Access Middleware") on your application.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Inserting invoice lines built from external data using MS Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2583]]></link>
<guid isPermaLink="false"><![CDATA[eaa52f3366768bca401dca9ea5b181dd]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:42:16 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Question:
I've built a table in Access of invoice lines to be added to existing invoices. I have the TxnID and all the necessary xxxxListID fields etc., with the item, quantity, and values coming from other sources. So "all" I have to do now is to feed t...]]></description>
<content:encoded><![CDATA[<h3>Question:</h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I've built a table in Access of invoice lines to be added to existing invoices. I have the TxnID and all the necessary xxxxListID fields etc., with the item, quantity, and values coming from other sources. So "all" I have to do now is to feed these records, one by one, into an INSERT INTO . . . VALUES . . . statement. I'm an experienced Access user, but a VBA-by-the-seat-of-my-pants-because-I-can't-find-a-good-training-course user - as I suspect many others may be!<br /><br />To begin with, so I can see the thing works, I'm using a form based on my table with a combo box to select one record, so I thought I'd be able to have the thing look like this:<br />DoCmd.RunSQL "INSERT INTO QB_InvoiceLine ( TxnID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, " &amp; _<br />"InvoiceLineQuantity, InvoiceLineRate, InvoiceLineClassRefListID, InvoiceLineTaxCodeRefListID, " &amp; _<br />"CustomFieldVFBatchNo, FQSaveToCache )" &amp; _<br />"VALUES ('Me.TxnID', 'Me.RefNumber', 'Me.InvoiceLineItemRefListID', 'Me.InvoiceLineDesc', 'Me.InvoiceLineQuantity', " &amp; _<br />"'Me.InvoiceLineRate', 'Me.InvoiceLineClassRefListID', 'Me.InvoiceLineTaxCodeRefListID', 'Me.CustomFieldVFBatchNo', 0)"<br />It tries to add a record but fails - one field is set to Null due to a type conversion failure.<br />Am I on the wrong track, or is it just some annoying little thing I've missed?<br /></span></p>
<h3>Answer:</h3>
<p>You are on the right track. InvoiceLineRate is a decimal, but if you try inserting it as a string, "'Me.InvoiceLineRate' should be "Me.InvoiceLineRate, without single quotes.</p>
<h3>Question:</h3>
<p>Thank you for your usual prompt reply, but then it asks me for my value of Me.InvoiceLineRate and the insert fail with Runtime Error 3155 - Incorrectly built XML from Update start (#10045). I thought I had already posted the first part of this reply, so forgive me if this is a repeat. I didn't receive a notification that my post had been accepted.<br /><br />I tried removing the quotes from the two numeric fields - Me.InvoiceLineQuantity and Me.InvoiceLineRate now asks for their value, and when I give it values, it then fails to insert - Runtime error 3155, Incorrectly built XML from Update Start (#10045).<br /><br />I made the procedure display the two values in a message box - they're fine. If I take them out of the insert, I still get the same error, but with no prompts for the values of any fields first. Since custom fields have been known to misbehave, I've tried removing the last area too, but I still have the same problem.<br /><br /></p>
<h3>Answer:</h3>
<p>[QODBC] Incorrectly built XML from Update Start (#10045)<br /><br />It most likely means that one of your listed values or the TxnID is incorrect for the company file you are using. Listings and TxnIDs are unique to each QuickBooks company file.</p>
<h3>Question:</h3>
<p>I checked all my listings and TxnID - I can query them and return the correct record. I reduced to one connection - to the open QuickBooks file, deleted the OPT files (one in Program Files, one in Documents and Settings - eh? There seems to be a disparity between using 'Configure QODBC data source' and 'QODBC Setup screen') and switched off optimization, re-booted (on principle) and tried this in VBDemo:<br /><br />INSERT INTO InvoiceLine ( TxnID, CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineAmount, FQSaveToCache) VALUES ('11CC9-1157644406', '200000-1135954083', 'I13462', 'DC40000-1157657910', 235.89,0) It says 'Error parsing complete XML return string.'<br /><br />But if I remove the TxnID:<br /><br />INSERT INTO InvoiceLine ( CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineAmount, FQSaveToCache) VALUES ('200000-1135954083', 'I13462', 'DC40000-1157657910', 235.89,0) - the invoice is inserted correctly. But of course, this means I get another invoice, not another line on an existing invoice.<br /><br />Do I remember reading somewhere on the forum that there's a problem with using TxnID on inserts on the UK version? If so, I'll have to do this differently - hold the header data from the existing invoice in QuickBooks, delete it, then create a new invoice with the saved header data and my 'built' item lines.<br /><br /></p>
<h3>Answer:</h3>
<p>When you add lines to an existing invoice, use the line detail columns only and not any of the header details, as the Invoice header already exists, and don't use FQSaveToCache. For example:<br /><br />INSERT INTO "InvoiceLine" ("TxnID," "InvoiceLineItemRefListID," "InvoiceLineDesc," "InvoiceLineRate," "InvoiceLineAmount," "InvoiceLineTaxCodeRefListID") VALUES ('5CA9-1197764583', '250000-933272656', 'Bin Permit Renovations,' 200.00000, 200.00, '20000-999022286')<br /><br />It would be best if you looked at the bottom of the Review QODBC Messages and Review SDK Messages, logged in to the QODBC Setup screen for the actual error message, and posted the last entry sections only so we can see what the problem is. We will also need to know the revision and update of the copy of QuickBooks you are using.<br /><br /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Invoices through MS Access using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2582]]></link>
<guid isPermaLink="false"><![CDATA[7e83722522e8aeb7512b7075311316b7]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:40:13 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Examples of Creating Invoice using QODBC
First, please create a new MS Access database &amp; link ALL tables.Please refer to the below-mentioned article for How to Use QODBC with Microsoft Access:
How to Use QODBC with Microsoft Access
After linking th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #3366ff;">Examples of Creating Invoice using QODBC</span></h2>
<p>First, please create a new MS Access database &amp; link <strong>ALL</strong> tables.<br />Please refer to the below-mentioned article for How to Use QODBC with Microsoft Access:</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/0/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access</a></p>
<p>After linking the table, we need to execute the query in the MS Access query editor:<br />MS Access&gt;&gt; <span id="22bd9f7c-350e-4064-9d1b-58e0c4aa9eaf" class="GINGER_SOFTWARE_mark">create</span> tab &gt;&gt; Query Design &gt;&gt; It should pop up&nbsp;for choosing a&nbsp;<span id="396373f9-5c76-4d08-872c-53b47a354943" class="GINGER_SOFTWARE_mark">table. Please</span>&nbsp;click the "Close" button &amp; click on "SQL" from the left top corner below the File menu.</p>
<p><strong>Note:</strong> For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have <span id="8f3fbfca-b68a-49a6-9ffd-bc5094a0fda1" class="GINGER_SOFTWARE_mark">separate</span> smaller commands for the Invoice Lines and a final&nbsp; INSERT for the Invoice Header.</p>
<h3><span style="color: #0000ff;">Create an Invoice with 3 Lines</span></h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Here we create an invoice with three lines by using 3 InvoiceLine INSERT commands (with the FQSaveToCache caching flag set true) followed by the Invoice table (header) insert, which is automatically designed to pull in all cached InvoiceLine records and save immediately.</p>
<p><strong>First Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 1', 1.00000, 1.00, '20000-999022286', 1)</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/step1.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/step1.png" width="1024" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step1.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Second Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 2', 2.00000, 2.00, '20000-999022286', 1)</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step3.png" width="1022" height="501" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Third Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 3', 3.00000, 3.00, '20000-999022286', 1)</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step4.png" width="1020" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Header Information </strong></p>
<p>INSERT INTO Invoice (CustomerRefListID, ARAccountRefListID, TxnDate, <span id="5f40ed5f-c35a-4127-a6dd-ca930606e141" class="GINGER_SOFTWARE_mark">RefNumber</span>, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode, BillAddressCountry, <span id="635af00c-6eb4-4008-85af-c3fa65e0f392" class="GINGER_SOFTWARE_mark">IsPending</span>, TermsRefListID, DueDate, ShipDate, ItemSalesTaxRefListID, Memo, IsToBePrinted, CustomerSalesTaxCodeRefListID) VALUES ('620000-1071526513', '40000-933270541', #9/23/2005#, '1', 'Brad Lamb,' '1921 Appleseed Lane', 'Bayshore,' 'CA,' '94326', 'USA,' 0, '10000-933272658', #10/31/2005#, #10/01/2005#, '360000-1071521681', 'Memo Test,' 0, '10000-999022286')&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step5.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step5.png" width="1023" height="497" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p><strong>Results in QuickBooks&nbsp;</strong></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step6.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step6.png" width="1034" height="641" /></strong></p>
<p>&nbsp;</p>
<h3>Related Data Location</h3>
<p><strong><span id="c361d80f-3966-4456-b3e1-30b894172447" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span></strong></p>
<p><span id="08e034ff-f04c-424b-a667-77afb26ed647" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span> is '320000-1071525597' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="86a3ade3-4674-406f-b920-446ae94d308f" class="GINGER_SOFTWARE_mark">ListId</span>, FullName from Item where <span id="a00e91aa-22ad-453d-828f-98d6b8df2b67" class="GINGER_SOFTWARE_mark">FullName</span> like 'C%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step7.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step7.png" width="1022" height="489" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step8.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step8.png" width="321" height="289" /></strong></p>
<p><strong>&nbsp;</strong></p>
<p><strong><span id="2ee6a30c-ced2-49ba-8c4d-7098448fcbba" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span></strong></p>
<p><span id="5e2d888c-af34-4e66-b940-469b36d85c10" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span> is '20000-999022286' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="feb9963f-d7a9-4d8a-ac30-116fef21e378" class="GINGER_SOFTWARE_mark">ListId</span>, Name from SalesTaxCode where Name like 'N%'</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step9.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step9.png" width="1021" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step10.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step10.png" width="206" height="92" /></p>
<p><strong><span id="2a6d38cf-a96c-4377-9476-1f213e940a1b" class="GINGER_SOFTWARE_mark">CustomerRefListID</span></strong></p>
<p><span id="a27d940e-1274-453c-8be5-c0764a9cb193" class="GINGER_SOFTWARE_mark">CustomerRefListID</span> is '620000-1071526513' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;Select <span id="f99a9fac-f1c5-47fd-ae71-07374a92d34c" class="GINGER_SOFTWARE_mark">ListId</span>, FullName from Customer where <span id="0228a130-40ad-48b7-bdde-2158ccd600aa" class="GINGER_SOFTWARE_mark">FullName</span> like 'Smi%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step11.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step11.png" width="1023" height="495" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step12.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step12.png" width="320" height="110" /></strong></p>
<p>&nbsp;</p>
<p><strong><span id="94da0543-c9df-4825-bdd2-36f333a877ab" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span></strong></p>
<p><span id="d043fa50-5af2-4d61-ada5-a271c1220291" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span> is '40000-933270541' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="3aa6167f-8d49-4d73-a820-b224f4f93aef" class="GINGER_SOFTWARE_mark">ListId</span>, Name from Account where Name like 'Account%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step13.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step13.png" width="1019" height="493" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step14.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step14.png" width="272" height="146" /></strong></p>
<p><strong><span id="90778f3b-a80f-4027-9cab-a2541bcee7f4" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span></strong></p>
<p>ItemSalesTaxRefListID field is related to ItemSalesTax, ItemSalesTaxGroup, and ItemSalesTaxGroup,Line depending on InvoiceLineType. If InvoiceLineType is GroupItem, then it is found in the ItemSalesTaxGroupLine table.</p>
<p><span id="bb35ce0d-8222-4e3d-866f-81537e79b765" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span> is '360000-1071521681' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="44c90ffa-edb9-4842-9845-bf6413e48709" class="GINGER_SOFTWARE_mark">ListId</span>, Name from ItemSalesTaxGroup where Name like 'E%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step15.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step15.png" width="1022" height="499" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step16.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step16.png" width="339" height="87" /></p>
<p><strong><span id="1641735f-bd3e-4f61-916e-1da52dd5425f" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span></strong></p>
<p><span id="4d753020-f883-49f9-8e67-c46a9126a108" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span> is '10000-999022286' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="bc6b11b1-5118-487d-b716-3fca94a6bf8c" class="GINGER_SOFTWARE_mark">ListId</span>, Name from SalesTaxCode where Name like 'T%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step17.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step17.png" width="1021" height="502" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step18.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step18.png" width="339" height="92" /><br /></strong></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create an Item Inventory Assembly through MS Access using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2581]]></link>
<guid isPermaLink="false"><![CDATA[309a8e73b2cdb95fc1affa8845504e87]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:20:33 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to create an Item Inventory Assembly through MS Access using QODBC 
An Example of Creating One ItemInventoryAssembly with Two Lines 
First, please create a new MS Access database &amp; link ItemInventoryAssembly, and&nbsp;ItemInventoryAssemblyLine t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to create an Item Inventory Assembly through MS Access using QODBC </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">An Example of Creating One ItemInventoryAssembly with Two Lines </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">First, please create a new MS Access database &amp; link ItemInventoryAssembly<span id="5789879a-bc0b-46db-88b8-456f5d5d8638" class="GINGER_SOFTWARE_mark">, and&nbsp;</span>ItemInventoryAssemblyLine tables.</span><br /> <span style="font-family: Arial, Helvetica, sans-serif;">Please refer to the below-mentioned article for How to Use QODBC with Microsoft Access:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/0/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">After linking the table, we need to execute the query in the MS Access query editor:</span><br /> <span style="font-family: Arial, Helvetica, sans-serif;">MS Access&gt;&gt; <span id="7809b6a4-ed71-4720-9d0d-adc324df43c0" class="GINGER_SOFTWARE_mark">create</span> tab &gt;&gt; Query Design &gt;&gt; It should pop up&nbsp;for choosing a&nbsp;<span id="e17e1eef-ca4d-43c6-9943-8a328f495b34" class="GINGER_SOFTWARE_mark">table. Please</span>&nbsp;click the "Close" button &amp; click on "SQL" from the left top corner below the File menu.</span><br /> <span style="font-family: Arial, Helvetica, sans-serif;">Note the <span style="color: #0000ff;">FQSaveToCache</span> field, set to True, except <span id="d0e0c7a2-9994-4823-a633-df55e766d023" class="GINGER_SOFTWARE_mark">on</span> the last one.</span></p>
<p>&nbsp;</p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>First Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, COGSAccountRefListID, AssetAccountRefListID, ItemInventoryAssemblyLnItemInventoryRefListID, ItemInventoryAssemblyLnQuantity, FQSaveToCache) VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '340000-933270542', '1E0000-933270542', '60000-933270541', '160000-933272656', 2.0, 1)</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step1.png" alt="http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step1.png" width="1021" height="502" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png" width="470" height="142" /></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Second Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, COGSAccountRefListID, AssetAccountRefListID, ItemInventoryAssemblyLnItemInventoryRefListID, ItemInventoryAssemblyLnQuantity, FQSaveToCache) VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '340000-933270542', '1E0000-933270542', '60000-933270541', '130000-933272656', 1.0, 0)</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step3.png" width="1019" height="500" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Result in QuickBooks &nbsp;</strong></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step4.png" width="727" height="683" /></strong></span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Questions and Answers </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Question</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; This seems to work for adding multiple items (ItemInventoryAssemblyLine records) to an assembly when the assembly is first created.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; However, I am having trouble adding new ItemInventoryAssemblyLine records to an existing assembly. When I try to repeat an INSERT with FQSaveToCache set <span id="da8fe3ea-24f3-49de-8dcd-680072872580" class="GINGER_SOFTWARE_mark">to</span> 0, I get an error.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp; &nbsp; &nbsp;QODBC Error 3100 - The name "NewAssembly1" of the list element is already in use (#10053)</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Answer</span></h3>
<p>&nbsp;&nbsp; <span style="font-family: Arial, Helvetica, sans-serif;">I don't think we can add items to an existing assembly. The workaround would be to create a new assembly with the additional items.</span><strong>&nbsp;</strong></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: arial, helvetica, sans-serif;">I want to add new assemblies to the </span>item list<span style="font-family: arial, helvetica, sans-serif;">. I've tried the two queries below. Both result in this error:</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">invalid operand for the operator: &lt;assignment&gt;</span><br /><span style="font-family: arial, helvetica, sans-serif;">code 11024</span><br /><span style="font-family: arial, helvetica, sans-serif;">Can you suggest a query that will work?</span>&nbsp;</p>
<p><br /><span style="font-family: arial, helvetica, sans-serif;">INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName) VALUES ('12082-74262', 'Active,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold: Materials - Cost of Goods Sold,' '80000021-1351453684', 'Inventory Asset');</span>&nbsp;</p>
<p><span style="font-family: arial, helvetica, sans-serif;">INSERT INTO ItemInventoryAssembly (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName, CustomFieldcoo, CustomFielditemClass) VALUES ('12082-74262', 'Active,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold: Materials - Cost of Goods Sold,' '80000021-1351453684', 'Inventory Asset,' 'TW,' 'am');</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution:</span></h3>
<p><span style="font-family: arial, helvetica, sans-serif;">Due to this issue, the IsActive field contains a boolean datatype &amp; it accepts 1/0 or true/false as input. I have used 'Active' as a value in the&nbsp;</span>IsActive<span style="font-family: arial, helvetica, sans-serif;"> field.&nbsp;</span><span style="font-family: arial, helvetica, sans-serif;">Please use the below query &amp; try again.</span><br /><br /><span style="font-family: arial, helvetica, sans-serif;">INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName, FQSaveToCache) VALUES ('12082-74262', 1, 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold: Materials - Cost of Goods Sold,' '80000021-1351453684', 'Inventory Asset,' 1)</span><br /><br /><span style="font-family: arial, helvetica, sans-serif;">INSERT INTO ItemInventoryAssembly (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName, CustomFieldcoo, CustomFielditemClass, FQSaveToCache) VALUES ('12082-74262', 1, 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income,' 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold: Materials - Cost of Goods Sold,' '80000021-1351453684', 'Inventory Asset,' 'TW,' 'am,' 0)</span><br /><br /><br /><span style="font-family: arial, helvetica, sans-serif;">Please refer </span>below-mentioned<span style="font-family: arial, helvetica, sans-serif;"> link for getting details about the QODBC Table schema:</span><br /><br /><a href="http://qodbc.com/schema.htm">QODBC Data Layouts</a></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>&nbsp;</strong></span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with VBA]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2571]]></link>
<guid isPermaLink="false"><![CDATA[283085d30e10513624c8cece7993f4de]]></guid>
<pubDate><![CDATA[Tue, 17 Jun 2014 07:37:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using QuickBooks Data with VBA
For 64 Bit, Please refer: How to Configure QODBC to Work With 64-bit MS Access.
Problem Description:
Everything worked perfectly with the installation and linking to MS Access 2010 and QuickBooks Pro11. The tables I neede...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Using QuickBooks Data with VBA</span></h2>
<h5>For 64 Bit, Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a>.</h5>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Everything worked perfectly with the installation and linking to MS Access 2010 and QuickBooks Pro11. The tables I needed were related to my database in access. However, how do I update (or can I update) QuickBooks using a form (linked to my tables downloaded to Access Form using QODBC )in MS Access?</span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can insert/update/delete records by accessing local table. You need to write a VBA script to perform the SQL operation or Can, execute existing Queries Or can link the form to the existing table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer below steps which contain a sample tutorial for How QODBC can work with VBA. The tutorial is for sample reference only. For further requirements, you need to develop a form or write scripts that will fetch data from a local access table and perform the insert operation in QuickBooks using QODBC.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Form in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access is a product with many uses and will allow you to use your QuickBooks Data files in the same fashion as Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access. You can find it via Windows Start-&gt;All Programs-&gt;Microsoft Office: </span></p>
<p>A default database file, name Database1 appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. acid. Save the file as type "Microsoft Office Access Databases."</p>
<p><a href="http://support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/VBA.accdb">Download Sample</a></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step1.png" alt="" width="827" height="472" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After&nbsp; the new database is created, Create a New Form via the "Form Design" link in Create Tab: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step2.png" alt="" width="893" height="352" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After&nbsp; the new form is created, Insert a button in the form: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step3.png" alt="" width="933" height="436" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Rename the button as per your requirement (In this example button name is "Select Customer"):</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now go to the button property window and set the property for the "On Click" event. Select "Event Procedure" from the dropdown list, then click on the&nbsp;<strong>"..."</strong> button:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step4.png" alt="" width="936" height="376" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The new window is open, which contains VBA code (In this example, it contains code button click event):</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step5.png" alt="" width="982" height="470" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Now Insert the module in the form by Right-clicking on the form:</strong> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step6.png" alt="" width="948" height="360" /></span></p>
<p>Write code in the module (In this example, I am writing code for the selection of customer name):</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step7.png" alt="" width="967" height="489" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Link newly created module with button click event:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step8.png" alt="" width="968" height="381" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now click on the "Select Customer" button, and you will get the Name of all customers:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step9.png" alt="" width="992" height="447" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Repeating the above steps can add functionality to your VBA code as per your requirement. In this example, I have added functionality for Insert, Update &amp; Delete of customer records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Insert Customer" button, the New customer is added with the name "Testing VB":</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step10.png" alt="" width="950" height="440" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Update Customer" button, Newly added customer name is updated with the name "Updated Testing VB":</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/step11.png" alt="" width="923" height="352" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Delete Customer" button, Newly added customer is deleted:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Please refer below code which is used in this example:</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Select Customer:</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Public Sub example select()<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "SELECT Name FROM customer"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br /> <br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(100)<br />Do While (Not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordset.Fields("Name") &amp; Chr(100)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************"<br />MsgBox sMsg<br /> <br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />End Sub<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Insert Customer:</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Public Sub exampleInsert()<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "Insert into customer (Name) values ('Testing VB')"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br />oConnection.Open sConnectString<br />oConnection.Execute (sSQL)<br />sMsg = sMsg &amp; "Record Added!!!"<br />MsgBox sMsg<br /> <br />Set oRecordset = Nothing<br />Set oConnection = Nothing<br />End Sub<br /> <br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Update Customer:</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Public Sub exampleUpdate()<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "Update customer set Name='Updated Testing VB' where name='Testing VB'"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br />oConnection.Open sConnectString<br />oConnection.Execute (sSQL)<br /> <br />sMsg = sMsg &amp; "Record Updated!!!"<br />MsgBox sMsg<br /> <br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />End Sub<br /> <br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Delete Customer:</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Public Sub exampleDelete()<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "delete from customer where name='Updated Testing VB'"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br />oConnection.Open sConnectString<br />oConnection.Execute (sSQL)<br />sMsg = sMsg &amp; "Record Deleted!!!"<br />MsgBox sMsg<br /> <br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />End Sub<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/Using QuickBooks Data with VBA/VBA.accdb">Download Sample</a></span></p>
<p><br /><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">Microsoft Access 2003 and QODBC</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC POS/QRemote]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2567]]></link>
<guid isPermaLink="false"><![CDATA[dda04f9d634145a9c68d5dfe53b21272]]></guid>
<pubDate><![CDATA[Thu, 17 Apr 2014 16:45:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[
How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC POS/QRemote
Start your "SQL Server Management Studio"
Login to your SQL Server.
On the left-hand side panel, you will find the Server, Right Click on the "SQL Server" and Selec...]]></description>
<content:encoded><![CDATA[<div class="WordSection1">
<p><strong>How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC POS/QRemote</strong></p>
<p>Start your "SQL Server Management Studio"</p>
<p>Login to your SQL Server.</p>
<p>On the left-hand side panel, you will find the Server, Right Click on the "SQL Server" and Select Properties.</p>
<p>&nbsp;</p>
<p><span style="font-size: 12.0pt; line-height: 107%; font-family: 'Times New Roman','serif';"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step1.png" alt="" width="472" height="453" /></span></p>
<p>&nbsp;</p>
<p>Please Verify that your SQL Server is 64-bit.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p>64 and 32-bit words are kept separate in the Microsoft Windows Operating System. QuickBooks 2021 and older versions are 32-bit applications, so a 32-bit ODBC driver is required to communicate with it.</p>
<p><br />QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-bit Web Servers and 64-bit applications to talk to QuickBooks live for the first time via the QODBC Driver.</p>
<p>Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect. We call it QRemote.</p>
<p>QRemote also works for 32-bit applications as an alternative to Dcom.&nbsp; As SQL Server is a service-based application, it has to either use Dcom or QRemote.</p>
<p>QRemote has two components "QRemote Client Driver for QODBC" and "QRemote Server for QODBC."&nbsp;</p>
<p>QRemote Client Driver: Allows 64-bit Applications to connect to QRemote Server and sends the Request to QRemote Server for Processing. &nbsp;</p>
<p>QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver.&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Start "QRemote Server for QODBC POS" from the start menu. ( If QRemoteServer is not running )&nbsp;</strong></p>
<h4>&nbsp;</h4>
<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step3.png" alt="" />
<p>&nbsp;</p>
<h4>&nbsp;</h4>
<h4>Double-click the QRemote Server icon from the system tray</h4>
<p>&nbsp;</p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step4.png" alt="" width="314" height="67" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>QRemote Server Main screen shows the IP address and Port allowing the QRemote Client to connect.</h4>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step5.png" alt="" /></p>
<h4>Note the IP address and Port number listed on the QRemote Server "Event Logs window."</h4>
<strong><br /> </strong>
<h4>Create a new DSN entry/or configure the existing one</h4>
<p>Navigate to Start Menu, QODBC Drivers for Use with QuickBooks POS, and click</p>
<p>Configure QODBC POS Data Source 64-bit</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="QODBCStartMenu.png" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step6.png" alt="QODBCStartMenu.png" /></p>
<p>"QuickBooks POS Data 64-bit" is the default DSN created when installing QODBC.</p>
<p>For 32-bit SQL Server change, QRemote DSN to <strong>"QuickBooks POS Data QRemote"</strong> is the default DSN created when installing QODBC.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step7.png" alt="" /></p>
<p>Configure the DSN and provide the IP address and Port as listed under "QRemote Server."</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step8.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Under the QRemote for QuickBooks &ndash; Client&nbsp; DSN configuration screen, Please fill in the following information.&nbsp;</p>
<ul>
<li>Data Source Name: Name of your DSN entry&nbsp;</li>
<li>Server: IP address displayed on QRemote Server&nbsp;</li>
<li>Port: Port displayed on QRemote Server&nbsp;</li>
<li>Encryption Key:&nbsp;Keep default key "<strong>QODBC#QRemote$1</strong>" (In case you want to use encrypted data transfer between QRemote client and QRemoteServer, You can configure your encryption key on QRemoteServer and use the same on QRemote Client DSN)&nbsp;</li>
</ul>
<ul>
<li>Remote DSN: select the QODBC POS DSN from the list. ( Make sure QRemote Server is running)&nbsp;</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Start Your QuickBooks POS.</strong></p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step9.png" alt="" width="993" height="508" /></p>
<p>&nbsp;</p>
<h3>Run MS SQL 2005 Dev / 2008 / 2012 (64-bit) and login in</h3>
<p>&nbsp;&nbsp;&nbsp; Run <strong>SQL Server Management Studio. You'd</strong>&nbsp;better choose SQL Server Authentication and input the right name and password.<strong>&nbsp;</strong></p>
<p><strong>&nbsp; </strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step10.png" alt="" /></p>
<p>&nbsp;</p>
<p>Under SQL Server Management Studio, Navigate to "Server Objects" -&gt; Linked Server&nbsp; -&gt; New Linked Server.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step11.png" alt="" /></p>
<p>&nbsp;OR</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step12.png" alt="" width="363" height="186" /></p>
<p>&nbsp;</p>
<p>Provide the "New Linked Server" information</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step13.png" alt="" /></p>
<p>&nbsp;</p>
<p>On Clicking OK, it will start establishing a connection to QuickBooks. Please accept the certificate for allowing data access on QuickBooks.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step14.png" alt="" /></p>
<p>After you have accepted the certificate, the Linked server will be shown under the "Linked Server" Category.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step16.png" alt="" width="188" height="129" /></p>
<p>&nbsp;</p>
<p>Configure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)</p>
<p><br />&nbsp;&nbsp; The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In <strong>Object Explorer,</strong> right-click the provider name and select <strong>Properties</strong> for MSDASQL.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step17.png" alt="" width="289" height="165" /></p>
<p>&nbsp;</p>
<p><strong>The dynamic parameter </strong>should be checked to allow parameter queries.&nbsp;<strong>Level zero only </strong>should be checked to enable four-part naming to work.&nbsp;<strong>Allow InProcess </strong>should be checked to help performance.&nbsp;<strong>Non-transacted updates </strong>should be checked if you want to be able to update QuickBooks data.&nbsp;<strong>Index as access path</strong> should be checked to help performance.&nbsp;<strong>Disallow adhoc accesses </strong>should be unchecked to allow OPENQUERY to function.</p>
<p>&nbsp;</p>
<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step18.jpg" alt="" width="624" height="559" />
<p>&nbsp;</p>
<p><strong>QODBC/QRemote is ready to use with SQL Server/Linked Server</strong></p>
<p>Execute below query</p>
<p>Select * from qremote&hellip;customer</p>
<p>&nbsp;</p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step19.png" alt="" width="1200" height="568" /></p>
<p>&nbsp;</p>
<p>On each query, QRemote Server Logs the events. If you are facing any issues or delays in response, please refer QRemote Server Event Logs for details on which stage it's taking more time.</p>
<p>&nbsp;</p>
<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step20.png" alt="" />
<p>&nbsp;</p>
<p>Another Test</p>
<p>Select * from qremote&hellip;employee</p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step21.png" alt="" width="1274" height="611" /></p>
<p>On each query, QRemote Server Logs the events. If you are facing any issues or delays in response, please refer QRemote Server Event Logs for details on which stage is taking more time.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step22.png" alt="" /></p>
<p>&nbsp;</p>
<br />
<p>&nbsp;</p>
<p><strong>Errors and Solutions</strong><strong>&nbsp;</strong></p>
<p>"[QODBC-POS] QODBC-POS &nbsp;Server Edition License Required."</p>
<p>The QODBC CDKEY License you have activated is not of the Server edition. Please get in touch with our Sales or Support team.&nbsp;<a title="http://support.flexquarters.com/esupport/" href="http://support.flexquarters.com/esupport/">http://support.flexquarters.com/esupport/</a></p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step23.png" alt="" width="1232" height="588" /></p>
<p>&nbsp;</p>
<p>&ldquo;[QODBC-POS] Evaluation Expired&rdquo;</p>
<p>You have run out of the 30-day trial/evaluation version. If you still wish to evaluate QODBC, please get in touch with our Sales team.</p>
<p><img src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step24.png" alt="" width="1118" height="518" /></p>
<p>"QRemote" or "QODBC" contains multiple tables that match the table "TableName."</p>
<p>This means you have not configured the "MSDASQL" provider. Please refer above steps and configure the "MSDASQL" provider.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step25.jpg" alt="" width="624" height="223" /></p>
<p>"[QODBC-POS] Unable to Open License File"</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/sqlserverpos/step26.png" alt="" /></p>
<p>&nbsp;</p>
<p>Please use <strong>"QuickBooks POS Data 64-bit"</strong> DSN or&nbsp;use the&nbsp;change connection string <strong>DSN=QuickBooks POS Data 64-bit; OLE DB Services=-2;</strong></p>
<p>Please accept the certificate for allowing data access on QuickBooks. Please click on "Test Connection." It will start establishing the connection to QuickBooks.</p>
<p>Now please click certificate." It should display a table list.</p>
<p>Now please test the connection on the linked server by right click on the linked server name. Please click on "Test Connection."</p>
<p>You will receive a Test Connection success message.</p>
<p>&nbsp;</p>
<p>Also, refer to</p>
<p><a title="Edit" href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2513" target="_blank">Using QuickBooks data with MS SQL Server using QODBC Driver and QRemote (Video)</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2439/0/qodbc-reports-architecture-mismatch-problem-when-connecting" target="_blank">QODBC Reports Architecture Mismatch Problem When connecting</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/" target="_blank">Accessing QuickBooks Data Remotely using QODBC &amp; QRemote. (Video)</a></p>
<p>Keywords: SQL Server 2008 Management Studio, SQL Server 2016 Management Studio, SQL Server 2012 Management Studio, SQL Server Management Studio, SSMS</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How can I use same Excel files in 64 &amp; 32-bit Systems]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2566]]></link>
<guid isPermaLink="false"><![CDATA[42fe880812925e520249e808937738d2]]></guid>
<pubDate><![CDATA[Thu, 17 Apr 2014 16:41:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How can I use the same Excel files in 64 &amp; 32-bit Systems
Problem Description:
 How Can I use the same Excel files in 64 &amp; 32-bit Systems?
 Is it possible to have a connection setup in an Excel file and be able to refresh on either a 64 or 32-b...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How can I use the same Excel files in 64 &amp; 32-bit Systems</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> How Can I use the same Excel files in 64 &amp; 32-bit Systems?</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Is it possible to have a connection setup in an Excel file and be able to refresh on either a 64 or 32-bit system?</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> I know it's possible on the same (64 or 32) as long as the DSNs have the same names, but I wasn't sure about "crossing" between systems. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Yes, You can create a QRemote DSN with the same name on all the machines on which you would like to use Excel. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Your Excel file needs to use a common name DSN, For example, "QODBC-Excel." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer below example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1) Machine A of 64-bit OS has 64-bit Excel - create a DSN "QODBC-Excel" under 64-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source 64-bit:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1-64.png" alt="" width="249" height="209" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go To the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel." </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5.png" alt="" width="464" height="388" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2) Machine B of 64-bit OS has 32-bit Excel - create a DSN "QODBC-Excel" under 32-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1.png" alt="" width="235" height="216" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go To the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" width="475" height="349" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" width="718" height="510" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5-32.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3) Machine C of 32-bit OS has 32-bit Excel - create a DSN "QODBC-Excel" under 32-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1.png" alt="" width="235" height="216" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go To the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" width="475" height="349" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" width="718" height="510" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5-32.png" alt="" width="471" height="389" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now you can use the same Excel file on the above machine, whether machine 32 or 64-bit. Also, you can use the same Excel file on different architectures (i.e., You can use a 32-bit Excel file on 64-bit Excel and vice-versa.) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To apply newly created DSN to old Excel files.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open the Excel file. Please Go To Data Tab &amp; click on "Connections."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step6.png" alt="" width="1133" height="569" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can see existing connection details. Please click on "Properties."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step7.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please select the connection name &amp; remove it.</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step8.png" alt="" width="418" height="503" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now manually write the newly created DSN name for this example, "QODBC-Excel," &amp; click "OK."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step9.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now you can see updated connection details. Please click on "close."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step10.png" alt="" width="575" height="395" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Refresh All" button, you will get updated data from the newly created DSN.</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step11.png" alt="" width="1031" height="475" /></div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use SQL functions in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2548]]></link>
<guid isPermaLink="false"><![CDATA[0e4a2c65bdaddd66a53422d93daebe68]]></guid>
<pubDate><![CDATA[Mon, 14 Apr 2014 16:01:51 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC does support standard SQL queries, but the function is implemented differently.
Please refer to the below functions &amp; try to execute them in QODBC Test Tool.
Functions in Select Query:
You can use distinct like:SELECT DISTINCT CustomerRefFull...]]></description>
<content:encoded><![CDATA[<p><span style="font-family: Arial,Helvetica,sans-serif;">QODBC does support standard SQL queries, but the function is implemented differently.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the below functions &amp; try to execute them in <strong>QODBC Test Tool</strong>.</span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Functions in Select Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can use distinct like:<br /><br />SELECT DISTINCT CustomerRefFullName FROM InvoiceLine </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the below article for more information:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2343/77/qodbc-function-list"> QODBC Function-List</a><br /><br />You can use <strong>SubQuery</strong> in QODBC like:<br />SELECT * from customer WHERE TimeModified IN (SELECT TimeModified from customer WHERE TimeCreated &lt; {ts '2007-06-17 00:00:00.000'}) <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Functions in Update Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can Replace functions in the Update query like:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">UPDATE TableName SET ColumnName = {fn REPLACE("ColumnName",'ValueToFind','ValueToReplace')} WHERE (condition)</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For Example:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">UPDATE Invoice SET RefNumber = {fn REPLACE("RefNumber",'71047','0777')} WHERE (TxnDate&gt;{d '2012-12-31'})</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can change the table name &amp; column name as per your requirement.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] Using QuickBooks POS Data with Access 2013 (Linked Tables) 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2524]]></link>
<guid isPermaLink="false"><![CDATA[31c97cbb941d3e92d0e6f9925e9bc4d7]]></guid>
<pubDate><![CDATA[Mon, 25 Nov 2013 11:20:49 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using QuickBooks POS Data with Access 2013 (Linked Tables) 32-bit
For 64 Bit, Please refer: How to Configure QODBC to Work With 64-bit MS Access
Creating a Table in Microsoft Access:
Note: Microsoft Access is a product with many uses and will allow you...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Using QuickBooks POS Data with Access 2013 (Linked Tables) 32-bit</span></h2>
<h5>For 64 Bit, Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">How to Configure QODBC to Work With 64-bit MS Access</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access is a product with many uses and will allow you to use your QuickBooks POS Data files in the same fashion as Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2013. You can find it via Windows Start-&gt;All Programs-&gt;Microsoft Office 2013: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Start menu_2012-10-31_12-39-58.png" alt="" width="253" height="88" /><br /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013//Microsoft%20Access%20Preview_2012-10-31_12-53-08.png" alt="" width="874" height="492" /></span></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. accdb. Save the file as type "Microsoft Office Access Databases".</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Microsoft%20Access%20Preview_2012-10-31_12-53-24.png" alt="" width="880" height="497" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After&nbsp; the new database is created, Navigate to "External Data": </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Microsoft Access Preview 1.png" alt="" width="867" height="503" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Microsoft Access Preview 2.png" alt="" width="591" height="292" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will get two options:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Get External Data - ODBC Database_2012-10-31_12-59-00.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Import the source data into a new table in the current database:</strong> this option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query to do so.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to build the linked table in MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Build a Linked Table in MS Access </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Select Data Source.png" alt="" width="460" height="402" /></span></p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as the example.)</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/QuickBooks POS- Application Certificate.png" alt="" width="498" height="390" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Access Confirmation_2012-10-31_12-55-17.png" alt="" width="421" height="297" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you want to extract data from. Multiple Selection is available. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Import Objects.png" alt="" width="474" height="451" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Import Objects Select.png" alt="" width="474" height="452" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If the Import/Linking works without any problems, you will see linked tables been created in the table list of MS Access: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Microsoft Access Preview 4.png" alt="" width="851" height="427" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to view QuickBooks records in this linked table, double-click the linked server, then you will see the records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOSMSACCESS2013/Microsoft Access Preview 3.png" alt="" width="874" height="438" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The linked table is always in sync with QuickBooks POS Data, so you cannot add or delete any columns in this table. But you can directly modify the data in the linked table, and QODBC will automatically update the modification to QuickBooks. </span></p>
<p><strong>Note: When</strong>&nbsp;you run across an application that is not fully ODBC compatible, they often support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p><br /><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">Microsoft Access 2003 and QODBC</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with MS Excel PowerPivot]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2523]]></link>
<guid isPermaLink="false"><![CDATA[a6d259bfbfa2062843ef543e21d7ec8e]]></guid>
<pubDate><![CDATA[Mon, 25 Nov 2013 10:46:22 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Setup QODBC to work with Microsoft Excel PowerPoint
Note: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one-...]]></description>
<content:encoded><![CDATA[<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setup QODBC to work with Microsoft Excel PowerPoint</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one-click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p>Before using the MS Excel PowerPivot application, please make sure you have installed MS Excel Add-in named "PowerPivot."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please select PowerPivot Window. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step1.png" alt="" width="885" height="312" /></span></p>
<p>Please select the data input method via From Other Sources-&gt;.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step2.png" alt="" width="921" height="288" /></span></p>
<p>And then, in the "Connect to a Data Source" Window, please select Others(OLEDB/ODBC).</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After clicking next, Please specify the connection string by clicking the "Build" button: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select DSN "QuickBooks Data" from the DSN list.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now you will get Connection String to build automatically.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step6.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please click the Next button.<br /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step7.png" alt="" width="888" height="438" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step8.png" alt="" width="421" height="297" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Choose How to Import The Data. (Choose the second option, "Write a query that will specify the data to import")</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a SQL Statement that will specify the data to import.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Office Excel PowerPivot will directly export the data to PowerPivot, you can view and edit these records, but modification will not be uploaded.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PivotPower/step12.png" alt="" width="857" height="395" /></span></p>
<p><br /><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC POS with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks POS Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks POS Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">Microsoft Access 2003 and QODBC</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;excel 2010 PowerPoint tutorial</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Get Updated Custom Field with MS-Access (Linked Table)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2521]]></link>
<guid isPermaLink="false"><![CDATA[4a1590df1d5968d41b855005bb8b67bf]]></guid>
<pubDate><![CDATA[Mon, 25 Nov 2013 10:31:29 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to Get Updated Custom Field with MS-Access (Linked Table)
In QuickBooks
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New Custom Fields are created within QuickBooks. 
In MS Access
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Newly created Custom Fields are not visible. 
&n...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to Get Updated Custom Field with MS-Access (Linked Table)</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">In QuickBooks</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New Custom Fields are created within QuickBooks. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">In MS Access<br /></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Newly created Custom Fields are not visible. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp; &nbsp; &nbsp; &nbsp;The solution to this issue is to re-create the linked table.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Open MS Access Linked Table:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CustomFieldUpdate/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Right Click on the <strong>On Your Linked Table(In This Example, We are Using Customer Table):</strong> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Now Click on the Delete.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CustomFieldUpdate/step2.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Now Link the Same Table (In this example, it's the Customer Table). After linking the table, you will get Updated Custom Field.</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Please refer to the below-mentioned link for How to Create a Linked Table In MS Access:</span></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/0/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit" target="_blank">How to Use QODBC with Microsoft Access 2010</a></p>
<h3>&nbsp;</h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 1:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to use QODBC to read a vendor custom field named "Territory." From the&nbsp;<strong>QODBC Test Tool</strong>, running "sp_columns vendor" produces a list of column data, but my custom fields don't appear. <br /><br />I have already reset the server and connection between QODBC &amp; QuickBooks. But still, I am unable to get Custom Field.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 2:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We are looking for the data in QuickBooks Enterprise Edition. v16 via QODBC (Linked Server) SQL server with no luck: <br />We can not find data in the CustomField table, although we have many created.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can find CustomField in the table which you have assigned it. <br /><br />For Example: If you have assigned CustomField in the Customer, Vendor, Employee table, you can find it from Customer, Vendor, Employee. If you have assigned CustomField in transaction entities like (Invoice, Bill), then you can find it from Invoice, InvoiceLine, Bill, BillItemLine, and BillExpenseLine tables. <br /><br />Please Note: You need to Disconnect the connection between QODBC &amp; QuickBooks and Reconnect to get Custom Field. Custom Field will display in QODBC after resetting the connection.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Usually, You can get Custom Fields using QODBC by resetting the connection between QODBC &amp; QuickBooks. Custom Field will display in QODBC after disconnecting all the links and connecting again.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you are still not getting Custom Field even after All the connections between QODBC &amp; QuickBooks are disconnected, Restart the Machine. So you need to reset Custom Fields from QuickBooks UI.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You need to remove each custom field's name, uncheck where used, and then reapply the information and test again. </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC Excel template]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2520]]></link>
<guid isPermaLink="false"><![CDATA[070dbb6024b5ef93784428afc71f2146]]></guid>
<pubDate><![CDATA[Wed, 20 Nov 2013 16:12:38 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use the QODBC Excel template&nbsp;
You can download the QODBC Excel Template, which has most of the tables and reports preconfigured.
All you have to do is download the Excel Template and copy the file to the Default Template folder.
To download...]]></description>
<content:encoded><![CDATA[<p><strong>How to use the QODBC Excel template</strong><strong>&nbsp;</strong></p>
<p>You can download the QODBC Excel Template, which has most of the tables and reports preconfigured.</p>
<p>All you have to do is download the Excel Template and copy the file to the Default Template folder.</p>
<p>To download the QODBC Default Template, Please <a href="https://support.flexquarters.com/esupport/supportfiles/QODBC Default Template.xltx">click here</a></p>
<p>After downloading, Please Copy/Install it to Excel's default template folder<br />You can copy any Excel workbook into the Templates folder. Then you can use the workbook as a template without saving it in the template file format (.xltx or .xltm). In Windows Vista, the Templates folder is usually C:\Users\&lt;your name&gt;\AppData\Roaming\Microsoft\Templates. In Microsoft Windows XP, the Templates folder is usually C:\Documents and Settings\&lt;your name&gt;\Application Data\Microsoft\Templates.</p>
<p>Please Refer Below links for detail</p>
<p><a href="http://office.microsoft.com/en-in/excel-help/customizing-excel-defaults-with-templates-HA001054815.aspx">Customizing <em>Excel</em> defaults with templates - <em>Excel</em> - Office.com</a></p>
<p>or</p>
<p><a href="http://office.microsoft.com/en-in/excel-help/where-do-i-find-templates-HA010250103.aspx">Where do I find templates? - <em>Excel</em> - Office.com - Microsoft</a></p>
<p>&nbsp;</p>
<p>When you start Excel, Please select "My Templates."</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/exceltemplate-001.png" alt="" width="915" height="343" /></p>
<p>Select the "QODBC Default Template" and click.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/exceltemplate-002.png" alt="" width="598" height="375" /></p>
<p>A new Excel workbook will be created and automatically fetch most of the tables and reports.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/exceltemplate-003.png" alt="" width="873" height="555" /></p>
<p>Please feel free to modify the workbook/queries/reports.</p>
<p>&nbsp;</p>
<p>Also, refer</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007">How to Use QODBC with MS Excel 2007 </a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2467/57/using-quickbooks-data-with-excel-2010-32-bit">How to Use QODBC with MS Excel 2010 </a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a></p>
<p><a title="Edit" href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2509">Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video)</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;msxel desktop download</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2514]]></link>
<guid isPermaLink="false"><![CDATA[b06f50d1f89bd8b2a0fb771c1a69c2b0]]></guid>
<pubDate><![CDATA[Sun, 22 Sep 2013 12:05:24 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[
How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote
For 64-bit Refer:&nbsp;How to create Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote
Start your "SQL Server Management Studio"
Login to your S...]]></description>
<content:encoded><![CDATA[<div class="WordSection1">
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote</span></h2>
<p>For 64-bit Refer:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/52/how-to-create-link-server-with-ms-sql-200520082012-64-bit-using-qodbcqremote" target="_blank">How to create Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote</a></p>
<p>Start your "SQL Server Management Studio"</p>
<p>Login to your SQL Server.</p>
<p>On the left-hand side panel, you will find the Server, Right Click on the "SQL Server" and Select Properties.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image001.png" alt="" /></p>
<p>Please Verify that your SQL Server is 32-bit.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image003_32.jpg" alt="" /></p>
<p>64 and 32-bit words are kept totally separate in the Microsoft Windows Operating System. QuickBooks 2021 and older versions are 32-bit applications, so in order to communicate with it, a 32-bit ODBC driver is required.</p>
<p><br />QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-bit Web Servers and 64-bit applications to talk to QuickBooks live for the first time via the QODBC Driver.</p>
<p>Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect. We call it QRemote.</p>
<p>QRemote also works for 32-bit applications as an alternative to Dcom.&nbsp; As SQL Server is a service-based application, it has to either use Dcom or QRemote.</p>
<p>QRemote has two components "QRemote Client Driver for QODBC" and "QRemote Server for QODBC."&nbsp;</p>
<p>QRemote Client Driver: Allows 64-bit Applications to connect to QRemote Server and sends the Request to QRemote Server for Processing. &nbsp;</p>
<p>QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver. &nbsp;</p>
<p><strong>Start "QRemote Server for QODBC" from the start menu. ( If QRemoteServer is not running )&nbsp;</strong>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image004.png" alt="" /></p>
<h4>Double-click the QRemote Server icon from the system tray&nbsp;</h4>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image005.png" alt="" />&nbsp;</p>
<h4>QRemote Server Main screen shows the IP address and Port allowing the QRemote Client to connect.</h4>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image007.jpg" alt="" /></p>
<h4>Note the IP address and Port number listed on the QRemote Server "Event Logs window."</h4>
<h4>Create a new DSN entry/or configure the existing one</h4>
<p>Navigate to Start Menu, QODBC Drivers for Use with QuickBooks, and click</p>
<p>Configure QODBC Data Source&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" title="QODBCStartMenu.png" src="//support.flexquarters.com/esupport/newimages/QODBCStartMenu.png" alt="QODBCStartMenu.png" /></p>
<p>"QuickBooks Data QRemote" is the default DSN created when installing QODBC. (Earlier, it was "QRemote Data 32-bit")&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image009_32.png" alt="" /></p>
<p>Configure the DSN and provide the IP address and Port as listed under "QRemote Server."&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image011_32.png" alt="" />&nbsp;</p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Under the QRemote for QuickBooks &ndash; <span class="GramE">Client<span style="mso-spacerun: yes;">&nbsp; </span>DSN</span> configuration screen, Please fill in the following information</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Data Source <span class="GramE">Name:</span> Name of your DSN entry</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:</span></span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, You can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:</span></span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, You can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select "QuickBooks Data "DSN from the list.&nbsp;<span class="GramE">( Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Start Your QuickBooks.</span></h3>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image013.jpg" alt="" /></p>
<h3>Run MS SQL 2005 Dev / 2008 / 2012 /2016 (32-bit) and log in</h3>
<p>&nbsp;&nbsp;&nbsp; Run <strong>SQL Server Management Studio. You'd</strong>&nbsp;better choose SQL Server Authentication and input the correct name and password.<strong>&nbsp;</strong></p>
<p><strong>&nbsp; </strong></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image015.jpg" alt="" /></p>
<p>Under SQL Server Management Studio, Navigate to "Server Objects" -&gt; Linked Server -&gt; New Linked Server.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image016.jpg" alt="" /></p>
<p>&nbsp;OR</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image017.png" alt="" /></p>
<p class="MsoNormal">Provide the "New Linked Server" information: Insert your desired Linked Server Name, select&nbsp;provider <strong>Microsoft OLE DB Provider for ODBC Drivers</strong>&nbsp;from the provider list &amp;&nbsp;insert "QODBC" as the Product name &amp; "QuickBooks Data QRemote" as the Data source &amp; click "OK" button.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image019_32.jpg" alt="" /></p>
<p>&nbsp;</p>
<strong>QODBC Desktop for QuickBooks Desktop </strong></div>
<div class="WordSection1">To use QODBC Desktop with Microsoft SQL Server 64-Bit, use "QuickBooks Data 64-Bit QRemote".</div>
<div class="WordSection1">To use QODBC Desktop with Microsoft SQL Server 32-Bit, use "QuickBooks Data QRemote".
<p>&nbsp;</p>
<strong>QODBC Online for QuickBooks Online </strong></div>
<div class="WordSection1">To use QODBC Online with Microsoft SQL Server 64-Bit, use "QuickBooks Online 64-Bit".</div>
<div class="WordSection1">To use QODBC Online with Microsoft SQL Server 32-Bit, use "QuickBooks Online QRemote".
<p>&nbsp;</p>
<strong>QODBC Desktop for QuickBooks POS (Point of Sale) </strong></div>
<div class="WordSection1">To use QODBC POS with Microsoft SQL Server 64-Bit, use "QuickBooks POS 64-Bit QRemote".</div>
<div class="WordSection1">To use QODBC POS with Microsoft SQL Server 32-Bit, use "QuickBooks POS QRemote".
<p>&nbsp;</p>
<p>Clicking OK will start establishing a connection to QuickBooks. Please accept the certificate to allow data access to QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image021.jpg" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image023.jpg" alt="" /></p>
<p>After you have accepted the certificate, the Linked Server will be shown under the "Linked Server" Category.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image024.png" alt="" /></p>
<p>Configure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)</p>
<p><br />&nbsp;&nbsp; The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In <strong>Object Explorer,</strong> right-click the provider name and select <strong>Properties</strong> for MSDASQL.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image025.png" alt="" /></p>
<p><strong>The dynamic parameter </strong>should be checked to allow parameter queries.&nbsp;<strong>Level zero only </strong>should be limited to allow four-part naming to work.&nbsp;<strong>Allow InProcess </strong>should be checked to help performance.&nbsp;<strong>Non-transacted updates </strong>should be checked if you want to be able to update QuickBooks data.&nbsp;<strong>Index as access path</strong> should be checked to help performance.&nbsp;<strong>Disallow Adhoc accesses </strong>should be unchecked to allow OPENQUERY to function.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image027.jpg" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">QODBC/QRemote is ready to use with SQL Server/Linked Server</span></h3>
<p>Execute below query</p>
<p>Select * from QRemote&hellip;Company</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image029.jpg" alt="" /></p>
<p>On each query, QRemote Server Logs the events. If you are facing any issues or delays in response, please refer QRemote Server Event Logs for details on which stage it is taking more time.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image031.jpg" alt="" /></p>
<p>Another Test</p>
<p>Select * from QRemote&hellip;Account</p>
<p>or</p>
<p>select * from OpenQuery (QRemote, 'select * from Account')</p>
<p>Note: If your SQL statement contains a where clause, use OpenQuery. When using OpenQuery 'where' clause (filters) will be sent to QODBC, and data retrieval will be faster.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image033.jpg" alt="" /></p>
<p>On each query, QRemote Server Logs the events. If you are facing any issues or delays in response, please refer QRemote Server Event Logs for details on which stage it is taking more time.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image035.jpg" alt="" />&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Errors and Solutions</span></h3>
<p>"[QODBC] QODBC &nbsp;Server Edition License Required."</p>
<p>The QODBC CDKEY License you have activated is not of the Server edition. Please get in touch with our Sales or Support team.&nbsp;<a title="http://support.flexquarters.com/esupport/" href="http://support.flexquarters.com/esupport/" target="_blank">http://support.flexquarters.com/esupport/</a></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image037.jpg" alt="" /></p>
<p>"[QODBC] Evaluation Expired"</p>
<p>You have run out of the 30-day trial/evaluation version. If you still wish to evaluate QODBC, please get in touch with our Sales team.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image039.jpg" alt="" /></p>
<p>"QRemote" or "QODBC" contains multiple tables that match the table "TableName."</p>
<p>This means you have not configured the "MSDASQL" provider. Please refer above steps and configure the "MSDASQL" provider.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image041.jpg" alt="" /></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have the read-only version included in the enterprise product. I can connect from the VB demo and Excel but not from the SQL server (I always cannot open Reckon Accounts). All I want to do is export data to the SQL server.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have made the SQL server process log on as the same windows user as Reckon Accounts and QODBC. I am not running RA, QODBC, or SQL server as a windows administrator, and I have UAC turned on. Often during the query, a box pops up trying to start:<br />c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 64</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br />It pops up twice, and I choose yes. I have also tried to run it manually.<br />c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 32.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please restart your machine &amp; please run Reckon, log in to your company file with Admin user &amp; try to connect using your application.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To use DCOM Server &amp; SQL Server with QODBC, you need a QODBC Server Edition license.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please use the QRemote Server instead of the DCOM Server to connect to the SQL Server using QODBC. Please get in touch with your QODBC dealer to purchase the QODBC Server Edition license.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> For licensing detail, please refer: to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2568" target="_blank">QODBC with QRemote Licensing Information</a></span>&nbsp;</p>
<p>Please Refer:</p>
<p><a title="Edit" href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2513" target="_blank">Using QuickBooks data with MS SQL Server using QODBC Driver and QRemote (Video)</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2439/0/qodbc-reports-architecture-mismatch-problem-when-connecting" target="_blank">QODBC Reports Architecture Mismatch Problem When connecting</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/" target="_blank">Accessing QuickBooks Data Remotely using QODBC &amp; QRemote. (Video)</a></p>
<p>Keywords:&nbsp;encryption,&nbsp;SQL Server 2008 Management Studio, SQL Server 2016 Management Studio, SQL Server 2012 Management Studio, SQL Server Management Studio, SSMS</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to build a QuickBooks IIS Web application using QODBC Driver and Microsoft ASP.NET (Video)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2510]]></link>
<guid isPermaLink="false"><![CDATA[4e0223a87610176ef0d24ef6d2dcde3a]]></guid>
<pubDate><![CDATA[Sun, 22 Sep 2013 11:07:42 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[&nbsp;
How to build a QuickBooks IIS Web application using QODBC Driver and Microsoft ASP.NET (Video)
&nbsp;

Download the sample code: Click Here
&nbsp;
Also, refer to&nbsp;Sample C#.NET Web Application for Inserting InvoiceLine to existing Invoice...]]></description>
<content:encoded><![CDATA[<p>&nbsp;</p>
<p>How to build a QuickBooks IIS Web application using QODBC Driver and Microsoft ASP.NET (Video)</p>
<p>&nbsp;</p>
<p><iframe src="//www.youtube.com/embed/WcWSwTPv9r0" width="800" height="600"></iframe></p>
<p>Download the sample code: <a href="http://support.flexquarters.com/supportfiles/QODBC%20on ASP.NET.zip">Click Here</a></p>
<p>&nbsp;</p>
<p>Also, refer to&nbsp;<br /><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2894">Sample C#.NET Web Application for Inserting InvoiceLine to existing Invoice</a></p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2892">Sample Code for Inserting InvoiceLine to existing Invoice using PHP</a></p>
<p>&nbsp;</p>
<p>Keywords: sample .net, sample, .net, Dot Net, C#,C#.Net,&nbsp;ASP.NET, Web Server, IIS, C#.NET</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2509]]></link>
<guid isPermaLink="false"><![CDATA[8db9264228dc48fbf47535e888c02ae0]]></guid>
<pubDate><![CDATA[Fri, 06 Sep 2013 06:41:11 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video) - 32-Bit
Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video) - 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and Q...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video) - 32-Bit</span></h2>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 (Video) - 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and QODBC&nbsp;2023)</span></h2>
<p>&nbsp;</p>
<p>QuickBooks 2022 and above are 64-Bit applications and include both a 32-Bit and a 64-Bit QuickBooks SDK interface.</p>
<p>QODBC 2023 now includes a 64-Bit driver and the 32-bit driver, so you can use 64-bit or 32-bit applications to connect to QuickBooks Data directly. QRemote is no longer required to connect 64-bit applications with our 32-bit driver and is now used mainly for remote connection situations.</p>
<p>&nbsp;</p>
<p><strong>Note:</strong> If you are using MS Office 64-Bit and QuickBooks 2021 or older, please refer to</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">How to Configure QODBC to Work With 64-bit MS Access</a>.</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Accessing QuickBooks data with QODBC Driver using MS Excel 2010 &amp; MS Access 2010 </strong><br /> <iframe src="//www.youtube.com/embed/tkcwaJYd-Mo" width="750" height="500"></iframe></p>
<p>Sample Files :&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Customer Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Sample Tables and Reports.xls">Download</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Microsoft Excel 2003 and QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2473]]></link>
<guid isPermaLink="false"><![CDATA[5e6bd7a6970cd4325e587f02667f7f73]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 15:46:02 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC and Microsoft Excel
Microsoft Excel 2003 and QODBC
Also, Refer:How to Use QODBC with MS Excel 2007 Using QuickBooks Data with Excel 2010 32-bitUsing QuickBooks Data with Excel 2013 32-bitHow to Configure QODBC to Work With 64-bit MS Excel
&nbsp;...]]></description>
<content:encoded><![CDATA[<p>QODBC and Microsoft Excel</p>
<h2 class="style1">Microsoft Excel 2003 and QODBC</h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007" target="_blank">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2467/57/using-quickbooks-data-with-excel-2010-32-bit" target="_blank">Using QuickBooks Data with Excel 2010 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit" target="_blank">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel" target="_blank">How to Configure QODBC to Work With 64-bit MS Excel</a></p>
<p>&nbsp;</p>
<h3 class="style2">Creating a link to live QuickBooks data in Excel</h3>
<p class="style3"><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one-click will update the data in the worksheet to the most current data in the linked QuickBooks table.</p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Before using Microsoft Excel, you must ensure that the Microsoft Query Add-on is installed. See the <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC</a> topic.<br /><br />Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br />Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>&nbsp; &nbsp; &nbsp;Select the menu <strong>Data</strong> -&gt; <strong>Import External Data</strong> -&gt; <strong>New Database Query</strong>.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel1.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Now that the following Data Source screen is available select the Data Source currently opened in QuickBooks and click <strong>OK</strong>. (Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel2.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Choose the table you wish to import and select the columns from the table to import by pressing the "&gt;" button. (Here, I choose table Customer as a sample.)</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel3.jpg" alt="" /></p>
<p class="style3">&nbsp; &nbsp; &nbsp;The following screens allow you to filter and sort the data to be imported, and then you will reach the finish screen.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel4.jpg" alt="" /></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel5.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; You can return the data to Excel at this point or as in the above screen by selecting <strong>Return Data to Microsoft Office Excel</strong>. Or edit the data in MS query and apply additional criteria to the QuickBooks record set by selecting <strong>View data or edit query in Microsoft Query</strong>. (Here, I choose to edit in MS query as an example.) Then click Finish.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel6.jpg" alt="" /></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel7.jpg" alt="" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Residential." Select the field header name and click on it, next select <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, the button specifies the criteria <strong>Field</strong> as "Name" and&nbsp;<strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Residential" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" /></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Select <strong>File</strong> -&gt; <strong>Return Data to Microsoft Office Excel. The</strong>&nbsp;following screen will prompt you for the destination of the data:</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel11.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Click <strong>OK,</strong> and the data will be populated into the existing Excel worksheet.</p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; The data from your QuickBooks table is now included in your worksheet and remains connected to the QuickBooks table from which it was imported.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel12.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data&nbsp;</strong>the <img src="//support.flexquarters.com/esupport/newimages/Excel13.jpg" alt="" />&nbsp;<span style="background-color: #f5f6f5;">button&nbsp;</span>in the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables, as shown above. Changes to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Customer Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Sample Tables and Reports.xls">Download</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Microsoft Access 2003 and QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2472]]></link>
<guid isPermaLink="false"><![CDATA[73f490f3f868edbcd80b5d3f7cedc403]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 15:43:54 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC and Microsoft Excel
Microsoft Access 2003 and QODBC
Creating a Table in Microsoft Access
Note: Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.
&nbsp;&nbsp;&nbsp;&nbsp; Selecting ...]]></description>
<content:encoded><![CDATA[<p>QODBC and Microsoft Excel</p>
<h2 class="style1">Microsoft Access 2003 and QODBC</h2>
<h3 class="style2">Creating a Table in Microsoft Access</h3>
<p class="style3"><strong>Note</strong>: Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.</p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Selecting the menu <strong>File</strong> -&gt; <strong>New</strong> -&gt; <strong>Blank database</strong>.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access1.jpg" alt="" /></p>
<p class="style3">&nbsp; &nbsp; &nbsp;Here is a Microsoft Office Access blank database. A default database filename, db1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link.mdb. Save the file as type "Microsoft Office Access Databases." Click on <strong>Create</strong>.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access2.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Click the <strong>New</strong> button -&gt; <strong>Link Table </strong>-&gt;<strong> OK</strong>. (You can also select the&nbsp;<strong>Import Table</strong> option to import the QuickBooks data into the Access project, but the imported data will not be updated along with it in QuickBooks.)</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access3.jpg" alt="" /></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access4.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; In the popped-out window, change the "Files of type" list to the setting for "ODBC Databases."</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access5.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Then comes up with the <strong>Select Data Source</strong> window.</p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as the example.)</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access6.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Select one or more QuickBooks tables to add to your Microsoft Access project and click <strong>OK</strong>. (Here, I add the table Customer, for example.)</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access7.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Your QuickBooks tables are now part of your Microsoft Access project as externally linked tables. This does not mean the data in these tables have been imported into Access, but rather that Access will open and work with the live QuickBooks data files, using QODBC to communicate with them.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access8.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; Double-click the table name to bring up the data grid view.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access9.jpg" alt="" /></p>
<p class="style3">&nbsp;&nbsp;&nbsp;&nbsp; In this grid, you can modify, delete, and add new records to your QuickBooks table per QuickBooks's table/field accessibility. Your QuickBooks files are connected live to your Microsoft Access applications.</p>
<p class="style3"><strong>Note: </strong>When&nbsp;you run across an application that is not fully ODBC compatible, oftentimes, they do support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p class="style3">&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using QuickBooks Data with Microsoft Access 2016 / 365 / 2013 32-bit (Import tables)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2471]]></link>
<guid isPermaLink="false"><![CDATA[d9ff90f4000eacd3a6c9cb27f78994cf]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 14:25:17 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Microsoft Access 2016 / 365 / 2013 / 2019&nbsp;32-Bit to Import QuickBooks Data&nbsp;using Import tables
How to use QODBC with Microsoft Access 2016 / 365 / 2013 / 2019 64-Bit&nbsp;to Import QuickBooks Data using Import tables (Mini...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft Access <span class="kbtitlemain">2016 / 365 / 2013 / 2019</span>&nbsp;32-Bit to Import QuickBooks Data&nbsp;using Import tables</span></h2>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft Access 2016 / 365 / 2013 / 2019 64-Bit&nbsp;to Import QuickBooks Data using Import tables (Minimum requirement: QuickBooks 2022 64-Bit and QODBC&nbsp;2023)</span></h2>
<h5>&nbsp;</h5>
<p>QuickBooks 2022 and above are 64-Bit applications and include both a 32-Bit and a 64-Bit QuickBooks SDK interface.</p>
<p>QODBC 2023 now includes a 64-Bit driver and the 32-bit driver, so you can use 64-bit or 32-bit applications to connect to QuickBooks Data directly. QRemote is no longer required to connect 64-bit applications with our 32-bit driver and is now used mainly for remote connection situations.</p>
<p>&nbsp;</p>
<p><strong>Note:</strong> If you are using MS Office 64-Bit and QuickBooks 2021 or older, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">How to Configure QODBC to Work With 64-bit MS Access</a>.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p>Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2016/2013; you can find it via Windows Start-&gt;All Programs-&gt;Microsoft Office 2016/2013: </span></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2016: </span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step16.png" alt="" /></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2013:</span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Start%20menu_2012-10-31_12-39-58.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step19.png" alt="" width="822" height="651" /></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step20.png" alt="" width="620" height="506" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the newly created database, you will find a default table:</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-53-58.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Close this table when there is no need to use it: &nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-54-05.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please Navigate to "External Data"<br /></span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-54-15.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-54-25.png" alt="" /></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">OR</span></strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data -&gt; New Data Source -&gt; From other sources -&gt; ODBC Database :</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step21.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will get two options:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-31_12-54-35.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Import the source data into a new table in the current database. This</strong>&nbsp;option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its connection to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in complete sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to import data from QuickBooks into MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import Data from QuickBooks </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-31_12-55-01.png" alt="" /></p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as the example.)</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you would like to extract. Multiple Selection is available. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import Objects_2012-10-31_12-55-27.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import Objects_2012-10-31_12-55-49.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It may take some time for MS Access to extract those records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import Objects_2012-10-31_12-55-59.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If the Import works without any problems, you will get a window reporting successful: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-31_12-56-14.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can see those imported tables under the "Tables" list: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-56-18.png" alt="" width="865" height="502" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double Click a table to view Record under the table:<br /></span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database- 2012-10-31_12-56-29.png" alt="" width="872" height="505" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">These import records are stored as MS Access tables so that you can change the schema rules of these tables. Please remember these tables do not sync back to QuickBooks. Thus, all the modifications you make to these tables will NOT be updated into QuickBooks. </span></p>
<p>&nbsp;</p>
<p><strong>Note:&nbsp;&nbsp;</strong>When&nbsp;you run an application that is not fully ODBC compatible, they often support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p>&nbsp;</p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2570" target="_blank">&nbsp;to use MS Access as Middleware with QODBC</a>&nbsp;for using MS Access as Middleware.</span></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016</p>
<p><br /><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc"> 2003 and QODBC</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using QuickBooks Data with Microsoft Access 2016 / 365 / 2013 32-bit and 64-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2470]]></link>
<guid isPermaLink="false"><![CDATA[7cc234202e98d2722580858573fd0817]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 14:22:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Microsoft Access&nbsp;2016 / 365 / 2013 / 2019 32-bit
How to use QODBC with Microsoft Access 2016 / 365 / 2013 / 2019 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and QODBC 2023)
&nbsp;
QuickBooks 2022 and above are 64-Bit ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft Access&nbsp;2016 / 365 / 2013 / 2019 32-bit</span></h2>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft Access 2016 / 365 / 2013 / 2019 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and QODBC 2023)</span></h2>
<h5>&nbsp;</h5>
<p>QuickBooks 2022 and above are 64-Bit applications and include both a 32-Bit and a 64-Bit QuickBooks SDK interface.</p>
<p>QODBC 2023 now includes a 64-Bit driver and the 32-bit driver, so you can use 64-bit or 32-bit applications to connect to QuickBooks Data directly. QRemote is no longer required to connect 64-bit applications with our 32-bit driver and is now used mainly for remote connection situations.</p>
<p>&nbsp;</p>
<p><strong>Note:</strong> If you are using MS Office 64-Bit and QuickBooks 2021 or older, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">Configure QODBC to Work With 64-bit MS Access</a>.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2016/2013. You can find it via Windows Start-&gt;All Programs-&gt;Microsoft Office 2016/2013: </span></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2016: </span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step16.png" alt="" /></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2013:</span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Start%20menu_2012-10-31_12-39-58.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step19.png" alt="" width="822" height="651" /></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step20.png" alt="" width="620" height="506" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After&nbsp; the new database is created, Navigate to "External Data": </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Access%20Preview%20-%20Database2%20Database-%20CUsersDewaniDocumentsDatab_2012-10-31_12-54-15.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2  Database- CUsersDewaniDocumentsDatab_2012-10-31_12-54-25.png" alt="" /></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">OR</span></strong></p>
<p>Build a connection via External Data -&gt; New Data Source -&gt; From other sources -&gt; ODBC Database :</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step21.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will get two options:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-31_12-59-00.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to build the linked table in MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Build a Linked Table in MS Access </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-31_12-55-01.png" alt="" /></p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as an example.)</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you want to extract data from. Multiple Selection is available. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Link Objects_2012-10-31_12-55-27.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Link Objects_2012-10-31_12-55-49.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If the Import/Linking works without any problems, you will see linked tables been created in the table list of MS Access: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2 Database- CUsersDewaniDocumentsDatab_2012-10-31_13-00-41.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to view QuickBooks records in this linked table, double-click the linked server, then you will see the records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access Preview - Database2 Database- CUsersDewaniDocumentsDatab_2012-10-31_13-01-00.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The linked table is always in sync with QuickBooks Data, so you cannot add or delete any columns in this table. But you can directly modify the data in the linked table. QODBC will automatically update the modification to QuickBooks. </span></p>
<p><strong>Note:&nbsp;&nbsp;</strong>When you run an application that is not fully ODBC compatible, they often&nbsp;support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2570" target="_blank">&nbsp;to use MS Access as Middleware with QODBC</a>&nbsp;for using MS Access as Middleware.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Suppose you want to import a table in MS Access. In that case, you have to select Import the source data into a new table in the current database option instead of&nbsp;linking to the data source by creating&nbsp;a linked table&nbsp;&amp; repeat the above steps: this option will directly extract tables into Access Database, you can view and edit these tables, but all modification will not be uploaded unless you build another query to do so.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step13.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">Microsoft Access 2003 and QODBC</a></p>
<p>Keywords:&nbsp;read/write with ms access,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using QuickBooks Data with Access 2010 (Import Tables) 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2469]]></link>
<guid isPermaLink="false"><![CDATA[57bafb2c2dfeefba931bb03a835b1fa9]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 14:15:56 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Access 2010 (32-Bit) to Import QuickBooks Data 
For 64 Bit, Please refer: How to Configure QODBC to Work With 64-bit MS Access
Creating a Table in Microsoft Access:
Note: Microsoft Access is a product with many uses and ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Access 2010 (32-Bit) to Import QuickBooks Data </span></h2>
<h5>For 64 Bit, Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access is a product with many uses and will allow you to use your QuickBooks data files in the same fashion as Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2010, and make sure you are using the 32-bit version of MS Access:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-12.png" alt="" width="885" height="459" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then create a blank database from "File" -&gt; "New":</span></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QuickBooks Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-33.png" alt="" width="874" height="450" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the newly created database, you will find a default blank table. Please close this table: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-58-09.png" alt="" width="906" height="603" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDatabase  Database (Access 2007)_2012-10-30_21-18-01.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will see two options:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-30_21-22-42.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Import the source data into a new table in the current database. This&nbsp;option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Link to the data source by creating a linked table<strong>:</strong> this option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to import data from QuickBooks into MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import Data from QuickBooks </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-30_21-23-36.png" alt="" /></span></p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as the example.)</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you want to extract. Multiple Selection is available. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import Objects_2012-10-30_21-24-02.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After all the tables are successfully imported with no errors, you will get a window reporting successful: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-30_21-24-44.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will see those imported tables under the "Tables" list: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDatabase  Database (Access 2007)_2012-10-30_21-24-52.png" alt="" width="888" height="500" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double-click the table to view the data:<br /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDatabase  Database (Access 2007)_2012-10-30_21-25-12.png" alt="" width="894" height="451" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">These import records are stored as MS Access tables so that you can change the schema rules of these tables. Please remember these tables do not sync back to QuickBooks. Thus all the modifications you do to these tables will NOT be updated in QuickBooks. </span></p>
<p>&nbsp;</p>
<p><br /><strong>Note: When</strong>&nbsp;you run across an application that is not fully ODBC compatible, often, they do support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">Microsoft Access 2003 and QODBC</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;create odbc connection</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with Microsoft Access 2010(Linked Tables) 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2468]]></link>
<guid isPermaLink="false"><![CDATA[e82c4b19b8151ddc25d4d93baf7b908f]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 14:10:35 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Access 2010 to Build Linked Table(32-Bit) 
For 64 Bit, please refer: How to Configure QODBC to Work With 64-bit MS Access
Creating a Table in Microsoft Access:
Note: Microsoft Access has many uses and will allow you to u...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Access 2010 to Build Linked Table(32-Bit) </span></h2>
<h5>For 64 Bit, please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access has many uses and will allow you to use your QuickBooks data files similarly to Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2010, and make sure you are using the 32-bit version of MS Access:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-12.png" alt="" width="861" height="446" /></span></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QB Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-33.png" alt="" width="857" height="440" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the newly created database, you will find a default blank table. Please close this default table: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-58-09.png" alt="" width="887" height="590" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You could directly extract QuickBooks records from this table. But in this article, we will show you how to build a linked table to access QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-58-28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will see two options:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-30_21-58-38.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Import the source data into a new table in the current database. This</strong>&nbsp;option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to build the linked table in MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Build a Linked Table in MS Access </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-30_21-58-53.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-30_21-59-01.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as an example.)</p>
<p>&nbsp;</p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">NOTE: </span></strong></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">If you use QODBC Online for QuickBooks Online, please select "QuickBooks Online Data" instead of "QuickBooks Data."</span></strong></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;"><strong>If you use QODBC POS for QuickBooks POS, please select "QuickBooks POS Data" instead of "QuickBooks Data."</strong></span></strong></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please select the tables you want to extract. Multiple Selections are available. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Link Tables_2012-10-30_21-59-25.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the Linking table is successful, you will see linked tables been created in your MS Access file under "Tables": </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-59-29.png" alt="" width="898" height="597" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Y</span><span style="font-family: Arial,Helvetica,sans-serif;">ou can view the property of these linked tables by right-clicking the linked table-&gt; selecting linked table manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_22-00-54.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to view QuickBooks records in this linked table, double-click the linked table, then you will see the records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_22-00-35.png" alt="" width="904" height="488" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The linked table is always in sync with QuickBooks Data, so you cannot add or delete any columns in this table. However, you can directly modify the data in the linked table. QODBC will automatically update the modification to QuickBooks. </span></p>
<p>&nbsp;</p>
<p>QuickBooks Desktop:</p>
<p>You should be able to read and write data to your QuickBooks Desktop application.&nbsp;</p>
<p>&nbsp;</p>
<p>QuickBooks Online:</p>
<p>You should be able to read and write&nbsp;data to your&nbsp;QuickBooks Online application.&nbsp;</p>
<p>&nbsp;</p>
<p>QuickBooks POS:</p>
<p>You should be able to read and write&nbsp;data to your&nbsp;QuickBooks&nbsp;POS application.&nbsp;</p>
<p><br /><strong>Note:&nbsp;&nbsp;</strong>When you run an application that is not fully ODBC compatible, they often&nbsp;support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit" target="_blank">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc" target="_blank">Microsoft Access 2003 and QODBC</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;read/write with ms access, QuickBooks Online, QBO, Access, link tables</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with Microsoft Excel 2010 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2467]]></link>
<guid isPermaLink="false"><![CDATA[250413d2982f1f83aa62a3a323cd2a87]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 14:00:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Excel 2010 (32-bit) 
For MS Access 64-bit, Please refer: How to Configure QODBC to Work With 64-bit MS Excel
Setup QODBC to use with MS Excel 2010
Note: QODBC allows you to quickly merge live QuickBooks data into the cel...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Excel 2010 (32-bit) </span></h2>
<h5>For MS Access 64-bit, Please refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel" target="_blank">How to Configure QODBC to Work With 64-bit MS Excel</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setup QODBC to use with MS Excel 2010</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one-click will update the data in the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before starting, please make use you have the 32-bit version of MS Excel: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel_2012-10-30_21-15-12.png" alt="" width="884" height="466" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">First, please select the "Data" tab, Navigate to&nbsp; "From Other Sources"-&gt;" From Microsoft Query."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-07-22.png" alt="" width="878" height="428" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)<span style="font-family: Arial,Helvetica,sans-serif;">. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Choose Data Source_2012-10-30_21-07-39.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Choose Data Source_2012-10-30_21-07-45.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">NOTE: If you are using QODBC Online, Please select "QuickBooks Online Data" instead of "QuickBooks Data."</span></strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Sample WholesaleDistributor Sample File  - Intuit QuickBooks Enterprise Solutio_2012-10-30_21-07-58.png" alt="" width="841" height="444" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option and click the "Continue" button. In the next window, click the "Done" button to finish authorizing. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-30_21-08-08.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import QuickBooks data into MS Excel via MS Query </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you grant permission for QODBC, you will be guided by Query Wizard. Select a table and the columns you want to import in the Choose Columns window. </span>Choose the table you wish to import and select the columns from the table to import by pressing the "&gt;" button. (Here, I choose table Customer as a sample.)<span style="font-family: Arial,Helvetica,sans-serif;"> You can add or remove columns from the correct list "Columns in your query." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-08-19.png" alt="" width="880" height="408" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-30_21-08-55.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set a filter for your query in this window. If you don't want to put any query, please click the "Next" button: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Filter Data_2012-10-30_21-08-59.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the setup is finished, MS Excel will ask you to choose an edit method for the records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Finish_2012-10-30_21-09-50.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Excel:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will directly export the data to Excel, you can view and edit these records, but the data is static. The modification will not be uploaded into QuickBooks. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-10-09.png" alt="" width="946" height="499" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can view the detailed connection properties by clicking the "connection" button in the Data menu: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-14-07.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> In the Workbook Connection Window, click the "Properties" button to view detailed information: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Workbook Connections_2012-10-30_21-14-19.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Now you can view the connection string and its SQL statement in the definition window: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-14-31.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">View Data or Edit Query in MS Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will lead you to the MS Query window, and you can view or edit data via SQL Statement.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-12-26.png" alt="" width="879" height="470" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click the "SQL" button to view the SQL Statement of this query: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-30_21-12-48.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> The SQL window will show the SQL Statement, and the user can also modify the statement to extract other records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-30_21-12-59.png" alt="" width="845" height="327" /></span></p>
<p>&nbsp;</p>
<p>The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Residential." Select the field header name and click on it, following select <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, specify the criteria <strong>Field</strong> as "Name" and&nbsp;<strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Residential" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" width="482" height="236" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;</p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save so that next time, you can directly use the same question: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-30_21-13-18.png" alt="" width="820" height="284" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import Data_2012-10-30_21-09-59.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Excel - Book1_2012-10-30_21-10-09.png" alt="" width="946" height="499" /></span></p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data</strong> or clicking the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables, as shown above. Changes to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Customer Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Sample Tables and Reports.xls">Download</a></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007" target="_blank">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit" target="_blank">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel" target="_blank">How to Configure QODBC to Work With 64-bit MS Excel</a></p>
<p>&nbsp;</p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;QuickBooks Online, QBO, Excel</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using QuickBooks Data with Microsoft Excel 2016 / 365 / 2013 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2466]]></link>
<guid isPermaLink="false"><![CDATA[7b41bfa5085806dfa24b8c9de0ce567f]]></guid>
<pubDate><![CDATA[Mon, 12 Nov 2012 13:51:21 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Microsoft&nbsp;Excel 2016 / 365 / 2013 / 2019 32-Bit
How to use QODBC with Microsoft Excel 2016 / 365 / 2013 / 2019 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and QODBC&nbsp;2023)
&nbsp;
QuickBooks 2022 and above are 64-B...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft&nbsp;Excel 2016 / 365 / 2013 / 2019 32-Bit</span></h2>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC with Microsoft Excel 2016 / 365 / 2013 / 2019 64-Bit (Minimum requirement: QuickBooks 2022 64-Bit and QODBC&nbsp;2023)</span></h2>
<h5>&nbsp;</h5>
<p>QuickBooks 2022 and above are 64-Bit applications and include both a 32-Bit and a 64-Bit QuickBooks SDK interface.</p>
<p>QODBC 2023 now includes a 64-Bit driver and the 32-bit driver, so you can use 64-bit or 32-bit applications to connect to QuickBooks Data directly. QRemote is no longer required to connect 64-bit applications with our 32-bit driver and is now used mainly for remote connection situations.</p>
<p>&nbsp;</p>
<p><strong>Note:</strong> If you are using MS Office 64-Bit and QuickBooks 2021 or older, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a>.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setup QODBC to use with Microsoft Excel</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please start Microsoft Excel 2016/2013 from Windows Start-&gt;All Programs-&gt;Microsoft Office 2016 or Microsoft Office 2013: </span></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2016: </span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step14.png" alt="" /></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2013:</span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Start menu_2012-10-31_12-39-58.png" alt="" /></p>
<p style="text-align: left;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2016: </span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access2013-64/step15.png" alt="" /></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">Office 2013: </span></strong></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Opening - Microsoft Excel_2012-10-31_12-41-01.png" alt="" /></p>
<p>Create a blank workbook or can open an existing one. In this example, we are creating a new workbook:</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Access2013-64/step18.png" alt="" width="824" height="651" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">An Empty sheet will open, and you shall be on the "Home" tab: </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-42-09.png" alt="" width="915" height="515" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please select the "Data" tab and click "Get Data -&gt; From Other Sources-&gt;From Microsoft Query." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-42-25.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-42-48.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It will take some time to get the DSN list: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-31.png" alt="" width="894" height="505" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)<span style="font-family: Arial,Helvetica,sans-serif;">. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Choose Data Source_2012-10-31_12-43-26.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time use MS Excel to access QuickBooks, you will be asked to grant access permission for QODBC:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-46-55.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option, and then click the "Continue" button; in the next window, click the "Done" button to finish authorizing. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-46-59.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import QuickBooks data into MS Excel via MS Query </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you grant permission for QODBC, you will be guided by Query Wizard. In Choose Columns window, please select a table and the columns you want to input. Multiple selections are available. And once a table is set, it is the default that all its columns are selected. You can add or remove columns from the correct list "Columns in your query." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-04.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-19.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set a filter for your query in this window. If you don't want to put any questions, please click the "Next" button: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Filter Data_2012-10-31_12-47-23.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This window allows you to sort your data. If you don't want to change the order, please click the "Next" button:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Sort Order_2012-10-31_12-47-28.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the setup is finished, MS Excel will ask you to choose an edit method for the records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Finish_2012-10-31_12-51-24.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Excel:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will directly export the data to Excel, you can view and edit these records, but the data is static. The modification will not be uploaded into QuickBooks. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" width="918" height="518" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can view the detailed connection properties by clicking the "Queries &amp; Connections" button in the Data menu: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-43.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> In the Workbook Connection Window,&nbsp;Right-click on the connection name &amp; click the "Properties" button to view detailed information:&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Workbook Connections_2012-10-31_12-48-53-1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Now you can view the connection string and its SQL statement in the definition window: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-49-08.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">View Data or Edit Query in MS Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will lead you to the MS Query window, and you can view and edit data via SQL Statement there, and all modifications will be uploaded to QuickBooks.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-31.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click the "SQL" button to view the SQL Statement of this query. </span><span style="font-family: Arial,Helvetica,sans-serif;">The SQL window will show the SQL Statement, and the user can also modify the statement to extract other records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-42.png" alt="" /></p>
<p>The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Residential." Select the field header name and click on it, following selecting <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, specify the criteria <strong>Field</strong> as "Name," <strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Residential" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-21.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" width="918" height="518" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data</strong> or clicking the <img src="//support.flexquarters.com/esupport/newimages/Excel13.jpg" alt="" /> button in the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables, as shown above. Changes to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Customer Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Sample Tables and Reports.xls">Download</a>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a></p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016, Microsoft excel 2013 blank window</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with Microsoft Excel 2007 ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2449]]></link>
<guid isPermaLink="false"><![CDATA[61d77652c97ef636343742fc3dcf3ba9]]></guid>
<pubDate><![CDATA[Thu, 23 Aug 2012 10:07:50 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with&nbsp;Microsoft Excel 2007
Setup QODBC to work with Microsoft Office 2007
Note: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data wil...]]></description>
<content:encoded><![CDATA[<h2 class="style1">How to Use QODBC with&nbsp;Microsoft Excel 2007</h2>
<h3 class="style2">Setup QODBC to work with Microsoft Office 2007</h3>
<p class="style3"><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p class="style3">Before using the MS Excel application, please make sure you have installed MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352">Microsoft Office with MS Query and QODBC</a> for more.</p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p class="style3">First, please select the data input method via Data-&gt;From Other Sources-&gt;From Microsoft Query.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%201.jpg" alt="" width="904" height="350" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)<span style="font-family: Arial,Helvetica,sans-serif;">. </span></p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel%202007%202.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Sample WholesaleDistributor Sample File  - Intuit QuickBooks Enterprise Solutio_2012-10-30_21-07-58.png" alt="" width="841" height="444" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option and click the "Continue" button. In the next window, click the "Done" button to finish authorizing. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-30_21-08-08.png" alt="" /></span></p>
<p class="style3">Then you will be guided by Query Wizard. In Choose Columns window, please select a table and the columns you want to input. Multiple selections are available. And once a table is set, it is the default that all its columns are selected. You can add or remove columns from the correct list "Columns in your query."</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%203.jpg" alt="" /></p>
<p class="style3">The following screens allow you to filter and sort the data to be imported, and then you will reach the finish screen.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%204.jpg" alt="" /></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%205.jpg" alt="" /></p>
<p class="style3">Now the Query Wizard is moving to the final step.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%206.jpg" alt="" /></p>
<p class="style3"><strong>Return Data to Microsoft Office Excel </strong>will directly export the data to Excel, you can view and edit these records, but modifications will not be uploaded.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%209.jpg" alt="" /></p>
<p class="style3"><strong>View data or edit query in Microsoft Query&nbsp;</strong>will go to the MS Query window, and you can view and edit data via SQL Statement there. All modifications will be uploaded to QuickBooks.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%207.jpg" alt="" /></p>
<p class="style3">You could use SQL Statements to build your query. Press the "SQL" button at the top of the window to enter the SQL view.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%208.jpg" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Residential." Select the field header name and click on it, following selecting <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, the worksheet specifies the criteria <strong>Field</strong> as "Name," <strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Residential" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" width="482" height="236" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;</p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p class="style3">Once you have done this, click File-&gt;Return Data to Microsoft Office Excel.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%2010.jpg" alt="" /></p>
<p class="style3">Then they will be displayed on your worksheet.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Excel%202007%209.jpg" alt="" /></p>
<p>&nbsp;</p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Customer Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC Sample Tables and Reports.xls">Download</a></p>
<p>&nbsp;</p>
<p>Also, Refer:</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2467/57/using-quickbooks-data-with-excel-2010-32-bit">Using QuickBooks Data with Excel 2010 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with Microsoft Access 2007]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2448]]></link>
<guid isPermaLink="false"><![CDATA[07a9d3fed4c5ea6b17e80258dee231fa]]></guid>
<pubDate><![CDATA[Thu, 23 Aug 2012 10:05:19 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Access 2007
Creating a Table in Microsoft Access
Open MS Access 2007, and create a blank database.
&nbsp;
Click on the "Create" button. Then you get a Microsoft Office Access blank database.
The newly created database ...]]></description>
<content:encoded><![CDATA[<h2 class="style1">How to Use QODBC with Microsoft Access 2007</h2>
<h3 class="style2">Creating a Table in Microsoft Access</h3>
<p class="style3">Open MS Access 2007, and create a blank database.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 1.jpg" alt="" /></p>
<p class="style3">Click on the "Create" button. Then you get a Microsoft Office Access blank database.</p>
<p class="style3">The newly created database shall have one table by default. You could extract QuickBooks data to this table or create another table to do this.</p>
<p class="style3">Build a connection to QuickBooks via External Data-&gt;More-&gt;ODBC Database</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 2.jpg" alt="" /></p>
<p class="style3">In the "Get External Data" Window, you will see two options:</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 3.jpg" alt="" /></p>
<p class="style3"><strong>Import the source data into a new table in the current database. This</strong>&nbsp;option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query.</p>
<p class="style3"><strong>Link to the data source by creating a linked table. This</strong>&nbsp;option will create a table just like the first option but will keep its link to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in full sync with QuickBooks.</p>
<p class="style3">We have selected a&nbsp;<strong>link to the data source in this example by creating a linked table</strong>.</p>
<p class="style3">Click the OK button. Then you will see the Select Data Source window.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 4.jpg" alt="" /></p>
<p class="style3">Please Select "QuickBooks Data" or the one you may have created for your QuickBooks File.</p>
<p class="style3">Please make sure the DSN you choose is available. You can check it by pressing the "Test Connection" button in QODBC Setup Screen-&gt;General Window.</p>
<p class="style3">Once the connection is built, Access will return a list of available tables in the Select Tables window. Multiple Selections are available. Please, select the tables you want to extract.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 5.jpg" alt="" /></p>
<p class="style3">After the extraction, you will notice a new table has been created. It can be viewed in the All Tables list.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 6.jpg" alt="" /></p>
<p class="style3">Double-click the extracted table (In this example, it's table Customer). QODBC will connect to QuickBooks, read all records from QuickBooks, and show it in MS Access.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 11.jpg" alt="" /></p>
<p class="style3">And you can also query tables using MS Access via Create-&gt;Query Design.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 7.jpg" alt="" /></p>
<p class="style3">This will create a query (default name "Query1") in your database. Please add the table you want to query in the "Show Table" Window.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 8.jpg" alt="" /></p>
<p class="style3">Here is the design view of a query:</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 12.jpg" alt="" /></p>
<p class="style3">And please click the View-&gt;SQL View option to check the SQL Statement of this query.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 9.jpg" alt="" /></p>
<p class="style3">And this is the SQL View of a query. You can edit your query using SQL Statement.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Access 2007 13.jpg" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">How to Configure QODBC to Work With 64-bit MS Access</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to Configure QODBC to Work With 64-bit Microsoft Excel]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2441]]></link>
<guid isPermaLink="false"><![CDATA[7a68443f5c80d181c42967cd71612af1]]></guid>
<pubDate><![CDATA[Wed, 25 Jul 2012 12:13:19 +0000]]></pubDate>
<dc:creator><![CDATA[Rajendra Dewani (QODBC Support)]]></dc:creator>
<description><![CDATA[How to Get QODBC to go with 64-bit Access and Excel
How to Configure QODBC to Work With 64-bit MS Excel 
Instructions
 64 and 32-bit words are kept separate in the Microsoft Windows Operating System.&nbsp;QuickBooks 2021 and older versions are 32-bit a...]]></description>
<content:encoded><![CDATA[<p>How to Get QODBC to go with 64-bit Access and Excel</p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Configure QODBC to Work With 64-bit MS Excel </span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Instructions</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> 64 and 32-bit words are kept separate in the Microsoft Windows Operating System.&nbsp;QuickBooks 2021 and older versions are 32-bit applications, so a 32-bit ODBC driver is required to communicate with it.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect. We call it QRemote. QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-bit Web Servers and 64-bit applications to talk to QuickBooks live for the first time via the QODBC Driver.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote has two components "QRemote Client Driver for QODBC" and "QRemote Server for QODBC."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Client Driver: Allows 64-bit Applications to connect to QRemote Server and sends the Request to QRemote Server for Processing.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setting Up a New QRemote Connection. </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start "QRemote Server for QODBC" from the start menu. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image002.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double-click the QRemote Server icon from the system tray. <img src="http://www.qodbc.com/qremoteconnect_files/image004.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Server Main screen shows the IP address and Port allowing the QRemote Client to connect. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image006.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Note the IP address and Port number listed on the QRemote Server "Event Logs window." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image008.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Create a new DSN entry </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o Before creating A DSN entry, verify you have made a DSN entry for QODBC, which can connect to QuickBooks.&nbsp;</span></p>
<h4>Create a new DSN entry/or configure the existing one</h4>
<p>Navigate to Start Menu, QODBC Drivers for Use with QuickBooks, and click</p>
<p>Configure QODBC Data Source 64-bit&nbsp;</p>
<p><img title="QODBCStartMenu.png" src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image008.png" alt="QODBCStartMenu.png" width="249" height="209" /></p>
<p>"QuickBooks Data 64-bit QRemote" is the default DSN created when installing QODBC. (Earlier, it was&nbsp;<br />"QRemote Data 64-bit")</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o Navigate to System DSN. Click on the "Add" Button </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/list of dsn 64bit.png" alt="" width="470" height="390" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o From the driver list, select "QRemote for QuickBooks" and click "Finish."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image016.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o Under the QRemote for QuickBooks &ndash; Client DSN configuration screen, Please fill in the following information </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&middot; Data Source Name: Name of your DSN entry </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&middot; Server: IP address displayed on QRemote Server </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&middot; Port: Port displayed on QRemote Server </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&middot; Encryption Key: encryption key ( keep this empty )<br /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&middot; Remote DSN: select the QODBC DSN from the list. ( Make sure QRemote Server is running) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image018.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image020.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o, Verify the QRemote Client connects to the server, and the below-listed logs are logged in the event window.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image022.jpg" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">How to connect with 64-bit MS Excel.</span></h3>
<p><br /><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Create or Open MS Excel Spreadsheet </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image044.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Navigate to "Data"&gt; "From Other Sources." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image046.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the source as "From Microsoft Query."</span></p>
<p>&nbsp;Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>&nbsp;<img src="http://www.qodbc.com/qremoteconnect_files/image048.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select QRemote Client DSN entry from the list </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Here we are selecting the default DSN, but you may choose the new DSN you may have created.<br /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/data source list excel1.jpg" alt="" width="457" height="232" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will find the connection information getting logged under the QRemote server.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image052.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image034.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the table(s) you would like to import. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image054.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the columns you want from the list </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image056.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to filter the data, you make settings here:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image058.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select "Return Data to Microsoft Excel" and click the "Finish" button </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://www.qodbc.com/qremoteconnect_files/image060.jpg" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/">Accessing QuickBooks Data Remotely using QODBC &amp; QRemote. (Video)</a></p>
<p>Keywords:&nbsp;encryption</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to Configure QODBC to Work With 64-bit Microsoft Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2435]]></link>
<guid isPermaLink="false"><![CDATA[b1301141feffabac455e1f90a7de2054]]></guid>
<pubDate><![CDATA[Thu, 22 Mar 2012 06:58:49 +0000]]></pubDate>
<dc:creator><![CDATA[Wilson (QODBC Support)]]></dc:creator>
<description><![CDATA[&nbsp;
How to Configure QODBC to Work With 64-bit&nbsp;Microsoft Access
Instructions
64 and 32-bit words are kept separate in the Microsoft Windows Operating System.&nbsp;. QuickBooks 2021 and older versions are 32-bit applications, so in order to comm...]]></description>
<content:encoded><![CDATA[<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Configure QODBC to Work With 64-bit&nbsp;Microsoft Access</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Instructions</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">64 and 32-bit words are kept separate in the Microsoft Windows Operating System.&nbsp;. QuickBooks 2021 and older versions are 32-bit applications, so in order to communicate with it, a 32-bit ODBC driver is required.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect; we call it QRemote. QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote makes it possible for 64-bit Web Servers and 64-bit applications to talk to QuickBooks live for the first time via the QODBC Driver. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote has two components "QRemote Client Driver for QODBC" and "QRemote Server for QODBC." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Client Driver: Allows 64-bit Applications to connect to QRemote Server and sends the Request to QRemote Server for Processing. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setting Up a New QRemote Connection. </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start "QRemote Server for QODBC" from the start menu. </span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image004.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double-click the QRemote Server icon from the system tray. </span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image005.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Server Main screen shows the IP address and Port allowing the QRemote Client to connect. </span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image007.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Note the IP address and Port number listed on the QRemote Server "Event Logs window." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Create a new DSN entry </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o Before creating A DSN entry, verify you have made a DSN entry for QODBC, which can connect to QuickBooks. The ODBC Manager 32-bit can be found under Control Panel &gt; ODBC ( 32-bit ) </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image010.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o To create a new QRemote DSN entry, navigate to ODBC Manager 64-bit. Located under Control Panel &gt; Administrative Tools &gt; Data Sources (ODBC). </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image012.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">oNavig ate to System DSN. Click on the "Add" Button </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/list of dsn 64bit.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o From the driver list, select "QRemote for QuickBooks" and click "Finish."</span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/CreateQRDSN/step9.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Under the QRemote for QuickBooks Client DSN configuration screen, Please fill in the following information </span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP Address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, You can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, You can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select <strong>QuickBooks Data</strong> DSN from the list. <span class="GramE">(Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/CreateQRDSN/step3.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image011.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">o Verify the QRemote Client connects to the server and that the below-listed logs are logged in the event window.</span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image031.jpg" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">How to connect with 64-bit MS Access.</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Create or Open MS Access Database </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image026.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Navigate to the External Data table and select "ODBC Database." </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image028.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the method to import the data </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image030.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote DSN from the list under "Machine Data Source."</span></p>
<p><br /><span style="font-family: Arial,Helvetica,sans-serif;">Here, we are selecting the default DSN, but you may choose the new DSN you have created.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/list of dsn access.jpg" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>NOTE:</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>QODBC Desktop for QuickBooks Desktop</p>
<p>To use QRemote with Microsoft&nbsp;Access 64-Bit, use "QuickBooks Data 64-Bit QRemote".</p>
<p>To use&nbsp;QRemote with Microsoft&nbsp;Access 32-Bit, use "QuickBooks Data QRemote".</p>
<p>&nbsp;</p>
<p>QODBC Online for QuickBooks&nbsp;Online</p>
<p>To use&nbsp;QRemote with Microsoft&nbsp;Access 64-Bit, use "QuickBooks&nbsp;Online 64-Bit".</p>
<p>To use&nbsp;QRemote with Microsoft&nbsp;Access 32-Bit, use "QuickBooks&nbsp;Online QRemote".</p>
<p>&nbsp;</p>
<p>QODBC Desktop for QuickBooks&nbsp;POS (Point of Sale)</p>
<p>To use&nbsp;QRemote with Microsoft&nbsp;Access 64-Bit, use "QuickBooks&nbsp;POS 64-Bit QRemote".</p>
<p>To use&nbsp;QRemote with Microsoft&nbsp;Access 32-Bit, use "QuickBooks&nbsp;POS QRemote".</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can notice the connection information getting logged under QRemote Server. </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image034.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the table(s) you want to import to MS Access and click "OK." </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image036.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">MS Access is importing the table(s) information via QRemote.</span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image038.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After all the import process is completed, a notification window appears in MS Access. </span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image040.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">A list of the table(s) imported will show under "All Access Objects."</span></p>
<p align="center"><img src="http://www.qodbc.com/qremoteconnect_files/image042.jpg" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>QuickBooks Desktop:</p>
<p>You should be able to read and write data to your QuickBooks Desktop application.&nbsp;</p>
<p>&nbsp;</p>
<p>QuickBooks Online:</p>
<p>You should be able to read and write&nbsp;data to your&nbsp;QuickBooks Online application.&nbsp;</p>
<p>&nbsp;</p>
<p>QuickBooks POS:</p>
<p>You should be able to read and write&nbsp;data to your&nbsp;QuickBooks&nbsp;POS application.&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, refer to the following articles:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/">Accessing QuickBooks Data Remotely using QODBC &amp; QRemote. (Video)</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2469/57/using-quickbooks-data-with-access-2010-import-tables-32-bit">Using QuickBooks Data with Access 2010 (Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">Using QuickBooks Data with Access 2010(Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><br />Keywords:&nbsp;encryption, MS Access,&nbsp;How to Get QODBC to Go with 64-bit Access and Excel</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create sp_reports using Microsoft Excel 2007]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2405]]></link>
<guid isPermaLink="false"><![CDATA[b53477c2821c1bf0da5d40e57b870d35]]></guid>
<pubDate><![CDATA[Mon, 25 Jul 2011 06:05:19 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[How to create sp_reports using Microsoft Excel 2007
Instructions
To extract sp_reports from QuickBooks into Microsoft Excel Spreadsheet, you should use Microsoft Query.
&nbsp;
How to extract sp_reports using Microsoft Excel 2007 
Open Microsoft Query...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to create sp_reports using Microsoft Excel 2007</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Instructions</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">To extract sp_reports from QuickBooks into Microsoft Excel Spreadsheet, you should use <strong>Microsoft Query</strong>.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">How to extract sp_reports using Microsoft Excel 2007 </span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Open Microsoft Query in Excel </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong>Note</strong>: Make sure you have installed Microsoft Query Add-on first. To know how to install Microsoft Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC</a></span></p>
<p>Open Microsoft Excel 2007, get external data from Microsoft Query via Data Menu -&gt; Get External Data -&gt; From Other Sources -&gt; From Microsoft Query as below:<br /><strong>Note</strong>: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -1.JPG" alt="" /></p>
<p>&nbsp;</p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Create a New Microsoft Query in Excel </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Select the DSN you want to use to connect to the QuickBooks file.</span></span></p>
<p>Note: Uncheck option "Use Query Wizard to Created/edit Queries" since we do not need to import any QuickBooks tables here.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -2.JPG" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Close the "Add Tables" window by clicking the "Close" button.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -3.JPG" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Press the "SQL" button to input your sp_report query as below. Here we take a CustomerBalanceDetail report as an example:</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -4.JPG" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -5.JPG" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Press Execute button to get results in Microsoft Query:</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -6.JPG" alt="" /></p>
<p>&nbsp;</p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Return Records to Excel Spreadsheet</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Select Menu File -&gt; Return Data to Microsoft Office Excel to return records to Excel Spreadsheet.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -7.JPG" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Sp_reports in Excel2007 -8.JPG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting: QuickBooks data return as NULL with SSIS]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2394]]></link>
<guid isPermaLink="false"><![CDATA[d0921d442ee91b896ad95059d13df618]]></guid>
<pubDate><![CDATA[Tue, 17 Aug 2010 07:26:45 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[Troubleshooting: QuickBooks data return as NULL(NVARCHAR ONLY) with SSIS
Problem Description
 &nbsp;&nbsp;&nbsp;&nbsp; We are using the&nbsp;QODBC driver for connecting QuickBooks with SSIS. I can able to connect with QuickBooks through SSIS. But Quick ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting: QuickBooks data return as NULL<span id="2db2495f-f899-4a1c-9ed5-fe74f0ac46ca" class="GINGER_SOFTWARE_mark">(</span>NVARCHAR ONLY) with SSIS</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem Description</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; We are using the&nbsp;<span id="e00bf2e5-9232-4797-817f-5de7e46f0b30" class="GINGER_SOFTWARE_mark">QODBC driver</span> for connecting <span id="b38a432a-15d2-4ac9-a4eb-dd5907eb0ba2" class="GINGER_SOFTWARE_mark">QuickBooks</span> with SSIS. I can able to connect <span id="f57b4f2e-23fa-438d-b3e6-f2739bcc47af" class="GINGER_SOFTWARE_mark">with</span> <span id="b864f46b-50b1-4ce1-a077-044aae4d68ef" class="GINGER_SOFTWARE_mark">QuickBooks</span> through SSIS. But <span id="be60833e-c749-4f40-8107-aecda5aa2629" class="GINGER_SOFTWARE_mark">Quick books</span> Ex: LIST ID) <span id="d02b964b-33d3-46c2-bdef-2c79abc98917" class="GINGER_SOFTWARE_mark">nvarchar</span> data <span id="e66bfbc1-726e-417d-8119-ce8990abd147" class="GINGER_SOFTWARE_mark">comes</span> to the destination as NULL. (<span id="65a366fe-179e-4e0c-8e47-28d99f1b08c0" class="GINGER_SOFTWARE_mark">It's</span> <span id="32fa9cb9-edc8-49f9-8da7-6616ec173f63" class="GINGER_SOFTWARE_mark">treated</span> as NULL). We have checked in&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2981" target="_blank">QODBC Support Wizard</a>. It is working fine. It is just not bringing a Unicode <span id="d0d96509-d74c-4e12-8cbc-89ad98c6447e" class="GINGER_SOFTWARE_mark">character</span> (NVARCHAR) type column when using SSIS as below:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/Null Value using SSIS.JPG" alt="Null Value using SSIS.JPG" border="0" />&nbsp;</span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solutions</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp; &nbsp; &nbsp; I think QODBC is returning NVarChars the same as it does for VarChars. (Simple C Strings). Is there any way you can request the data as VarChars and convert it on your end?</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Tag: SSIS,&nbsp;SQL Server Integration Services (<strong>SSIS</strong>)</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC and Microsoft Visual Basic and ADO]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2356]]></link>
<guid isPermaLink="false"><![CDATA[ea204361fe7f024b130143eb3e189a18]]></guid>
<pubDate><![CDATA[Fri, 12 Feb 2010 02:11:41 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[How to use ADO and Visual Basic with QODBC  
Setup QODBC to work with ADO
 &nbsp;&nbsp;&nbsp;&nbsp; Note: QODBC can be accessed from ADO. ADO can be used in Visual Basic (VB), Access, VBScript, ASP, C++, VB.NET, C#, and other languages that support COM ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"><strong>How to use ADO and Visual Basic with QODBC </strong> </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Setup QODBC to work with ADO</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #820000;"><span style="color: #000000;"> &nbsp;&nbsp;&nbsp;&nbsp; <strong>Note</strong>: QODBC can be accessed from ADO. ADO can be used in Visual Basic (VB), Access, VBScript, ASP, C++, VB.NET, C#, and other languages that support COM components.<br /> <br /> </span><strong><span style="color: #990000;">Connection String</span></strong><br /> </span>&nbsp;&nbsp;&nbsp;&nbsp; The most challenging part of using QODBC in programming is the connection string. The simplest form includes a reference to a DSN. A system DSN called <strong>QuickBooks Data</strong> is automatically created when QODBC is installed. <strong>QuickBooks Data</strong> will be used in all examples but can be substituted for any different DSN name you create.<br /> <br />&nbsp;&nbsp;&nbsp;&nbsp; Normally ADO pools connections. QODBC does <strong>NOT</strong> support connection pooling. It is recommended to tell ADO not to do connection pooling on any QODBC connection. This is done with <strong>OLE DB Services= -2</strong>.<br /> <br />Other options available on the connection string: <br /> <img src="http://archive.qodbc.com/www.qodbc.com.au/_themes/ibmred_3flashs/bullet1.gif" alt="bullet" width="7" height="7" /> DFQ = Path to company file or. (dot) to indicate the currently open company file. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://archive.qodbc.com/www.qodbc.com.au/_themes/ibmred_3flashs/bullet1.gif" alt="bullet" width="7" height="7" /> OpenMode = F (Follow Company), M (Multi-user), S (Single-user). </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://archive.qodbc.com/www.qodbc.com.au/_themes/ibmred_3flashs/bullet1.gif" alt="bullet" width="7" height="7" /> DeveloperCode = This is for users of the QODBC v5 OEM version only. It is required to connect to the OEM licensing model. The Code is given to you when you purchase a QODBC v5OEM licensing pack. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="http://archive.qodbc.com/www.qodbc.com.au/_themes/ibmred_3flashs/bullet1.gif" alt="bullet" width="7" height="7" /> ColumnNameLen = This is a number that specifies the maximum length a column name can be. Using this is required in some development environments. Its use will make the returned column names not match the normally defined schema. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #990000;">Example of simple DSN</span></strong><br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br /> <br /> <strong><span style="color: #990000;">Example of a DSNless connection string</span></strong><br />sConnectString = "Driver={QODBC Driver for QuickBooks};DFQ=C:\Program Files\QODBC Driver for QuickBooks\sample04.qbw;OpenMode=M;OLE DB Services=-2;"<br /> <br /> <span style="color: #990000;"><strong>Example using current ADO syntax</strong></span><br />sConnectString = "Provider=MSDASQL.1;Persist Security Info=False;Data Source=QuickBooks Data;OLE DB Services=-2;"</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #990000;">Standard syntax</span></strong><span style="color: #820000;"><br /> </span>"DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;DFQ=.;OLE DB Services=-2;OptimizerOn=No;" <br /> <br /> <strong><span style="color: #990000;">Instructions for Parameters in Standard Syntax </span></strong></span></p>
<p><span style="color: #0000cc; font-family: Arial,Helvetica,sans-serif;">DFQ (./[path to .qbw file])</span><span style="font-family: Arial,Helvetica,sans-serif;"> : . means the current company file is open in QuickBooks<br /> <span style="color: #0000cc;">OLE DB Services</span> = -2<br /> <span style="color: #0000cc;">OptimizerOn</span> : Yes/No<br /> <span style="color: #0000cc;">OpenMode</span> : F/S/M &lt;=&gt; Follow company setting/Single-User/Multi-user<br /> <span style="color: #0000cc;">UseCaseSensitiveRefNumber</span> : Yes/No <br /> <br />[<strong>Note</strong>: For QuickBooks Online Edition (QBOE), these additional parameters can also be used]<br />IBizOEConnection: Yes/No<br /> <span style="color: #0000cc;">IBizOETicketGUID</span>: (GUID from web login)<br /> <span style="color: #0000cc;">IBizOEPromptForLogin</span>: Yes/No</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #0066cc;">Query Data VBS Example</span></strong></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'*****************************************<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=Quickbooks Data;OLE DB Services=-2;"<br />sSQL = "SELECT Name FROM Employee"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br /> <br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(10)<br />Do While (not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordSet.Fields("Name") &amp; Chr(10)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************" &amp; Chr(10)<br />MsgBox sMsg<br /> <br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />'*****************************************</span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><img title="VBA" src="//support.flexquarters.com/esupport/newimages/vba001.png" alt="VBA" width="861" height="548" /></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Save your VBA file as QODBC Query Data.vbs, To execute the VBS file, Double Click on the file.<br /></span></p>
<p>&nbsp;</p>
<h3><img title="VBA" src="//support.flexquarters.com/esupport/newimages/vba002.png" alt="VBA" width="670" height="127" /></h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #0066cc;">Visual Basic 6 Example</span></strong></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Note: </strong>Requires project reference to Microsoft ActiveX Data Objects 2. x Library</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'*****************************************<br />Dim oConnection As ADODB.Connection<br />Dim oRecordset As ADODB.Recordset<br />Dim sMsg As String<br />Dim sConnectString As String<br />Dim sSQL As String<br /> <br />sConnectString = "DSN=Quickbooks Data;OLE DB Services=-2;"<br />sSQL = "SELECT Name FROM Employee"<br />Set oConnection = New ADODB.Connection<br />Set oRecordset = New ADODB.Recordset<br /> <br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(10)<br />Do While (Not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordset.Fields("Name") &amp; Chr(10)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************" &amp; Chr(10)<br />MsgBox sMsg<br /> <br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />'*****************************************</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img title="vb6" src="//support.flexquarters.com/esupport/newimages/vb6001.png" alt="vb6" width="887" height="607" /><br /></span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Sp_report Query Data VBS Example </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Note</strong>: For QuickBooks reports, use sp_report like any other <strong>SELECT</strong> statement. For example, save the following example as sp_report.vbs to a file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'*****************************************<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=Quickbooks Data;OLE DB Services=-2;"<br />sSQL = "sp_report CustomerBalanceSummary show Text, Label, Amount_1 parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'TotalOnly'"</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br /> <br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(10)<br />Do While (not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordSet.Fields("Text") <br />sMsg = sMsg &amp; " " &amp; oRecordSet.Fields("Label") <br />sMsg = sMsg &amp; " $" &amp; oRecordSet.Fields("Amount_1") &amp; Chr(10)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************" &amp; Chr(10)<br />MsgBox sMsg<br /> <br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />'*****************************************</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Double-click on it using Windows Explorer, and you will get your Customer Balances:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/sp_reportvbs.JPG" alt="" width="200" height="302" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Keywords:&nbsp;vbs adodb connection 64-bit vbs</span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC and Microsoft Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2354]]></link>
<guid isPermaLink="false"><![CDATA[d254c8a084d4545bd80577481aa03076]]></guid>
<pubDate><![CDATA[Tue, 05 Jan 2010 07:09:49 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[QODBC and Microsoft Access
For MS Access 64-bit, Please refer: To how&nbsp;to Configure QODBC to Work With 64-bit MS Access.
Creating a Table in Microsoft Access:
Note: Microsoft Access is a product with many uses and will allow you to use your QuickBo...]]></description>
<content:encoded><![CDATA[<h2><span class="kbtitlemain">QODBC and Microsoft Access</span></h2>
<h5>For MS Access 64-bit, Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2435/57/how-to-configure-qodbc-to-work-with-64-bit-ms-access">&nbsp;to Configure QODBC to Work With 64-bit MS Access</a>.</h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Creating a Table in Microsoft Access:</span></h3>
<p><strong>Note</strong>: Microsoft Access is a product with many uses and will allow you to use your QuickBooks data files in the same fashion as Access databases.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Access 2010, and make sure you are using the 32-bit version of MS Access:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-12.png" alt="" width="861" height="446" /></span></p>
<p>A default database filename, Database1, appears in the box. You can edit this to a more relevant name, such as QB Link. accdb. Save the file as type "Microsoft Office Access Databases."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Then Click "Create" to create a blank database:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Greenshot_2012-10-30_21-17-33.png" alt="" width="857" height="440" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the newly created database, you will find a default blank table. Please close this default table: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-58-09.png" alt="" width="887" height="590" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You could directly extract QuickBooks records to this table. But in this article, we will show you how to build a linked table to access QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Build a connection via External Data-&gt;More-&gt;ODBC Database, or directly click the ODBC database button at the External Data menu:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-58-28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Under the Get External Data window, you will see two options:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Get External Data - ODBC Database_2012-10-30_21-58-38.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Import the source data into a new table in the current database. This</strong>&nbsp;option will directly extract tables into Access Database, you can view and edit these tables, but all modifications will not be uploaded unless you build another query.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Link to the data source by creating a linked table:</strong> this option will create a table just like the first option but will keep its connection to QuickBooks, which means all your operations to this table will be uploaded to QuickBooks, and the data in the table is also in complete sync with QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This article will show you how to build the linked table in MS Access. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Build a Linked Table in MS Access </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you select the access method and click OK, then you will get a Select Data Source window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-30_21-58-53.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Select Data Source_2012-10-30_21-59-01.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>Select the QuickBooks-related DSN you set up with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here, I choose the default DSN as the example.)</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Access to access QuickBooks, it will ask you to grant permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooks - Application Certificate_2012-10-31_12-55-12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, Always" option, and then click "Done" in the next window:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access Confirmation_2012-10-31_12-55-17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once the connection is built, Access will return a list of available tables in the Select Tables window. Please, select the tables you want to extract. Multiple Selection is available. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Link Tables_2012-10-30_21-59-25.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the Linking table is successful, you will see linked tables been created in your MS Access file under "Tables": </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_21-59-29.png" alt="" width="898" height="597" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Y</span><span style="font-family: Arial,Helvetica,sans-serif;">ou can view the property of these linked tables by right-clicking the linked table-&gt;select linked table manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_22-00-54.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">If you want to view QuickBooks records in this linked table, double-click the linked server, then you will see the records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Access - MyDataBase  Database (Access 2007)_2012-10-30_22-00-35.png" alt="" width="904" height="488" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">FYI, the linked table is always in sync with QuickBooks Data, so you cannot add or delete any columns in this table. But you can directly modify the data in the linked table. QODBC will automatically update the modification to QuickBooks. </span></p>
<p>&nbsp;</p>
<p><br /><strong>Note: When</strong>&nbsp;you run across an application that is not entirely ODBC compatible, they often support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup, as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer :</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/57/how-to-use-qodbc-with-microsoft-access-2007">How to Use QODBC with Microsoft Access 2007</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2471/57/using-quickbooks-data-with-access-2013import-tables-32-bit">Using QuickBooks Data with Access 2013(Import Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2470/57/using-quickbooks-data-with-access-2013-linked-tables-32-bit">Using QuickBooks Data with Access 2013 (Linked Tables) 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">How to Configure QODBC to Work With 64-bit MS Access</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2472/57/microsoft-access-2003-and-qodbc">Microsoft Access 2003 and QODBC</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC and Microsoft Excel]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2353]]></link>
<guid isPermaLink="false"><![CDATA[23af4b45f1e166141a790d1a3126e77a]]></guid>
<pubDate><![CDATA[Tue, 05 Jan 2010 05:31:26 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[QODBC and Microsoft Excel
Microsoft Excel 2010 and QODBC
For MS Access 64-bit, Please refer: To how&nbsp;to Configure QODBC to Work With 64-bit MS Excel.
Setup QODBC to use with MS Excel 2010
Note: QODBC allows you to quickly merge live QuickBooks dat...]]></description>
<content:encoded><![CDATA[<p>QODBC and Microsoft Excel</p>
<h2 class="style1">Microsoft Excel 2010 and QODBC</h2>
<h5>For MS Access 64-bit, Please refer: To how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">&nbsp;to Configure QODBC to Work With 64-bit MS Excel</a>.</h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Setup QODBC to use with MS Excel 2010</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please make sure you have installed MS Office Component named "Microsoft Q."ry." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before starting, please make use you have the 32-bit version of MS Excel: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel_2012-10-30_21-15-12.png" alt="" width="847" height="456" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">First, please select the "Data" tab, and Navigate to&nbsp; "From Other Sources"-&gt;"From Microsoft Q.uery."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-07-22.png" alt="" width="862" height="421" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here I choose the default data source with a sample company file open. And check to&nbsp;<strong>Use the Query Wizard to create/edit queries</strong>.)<span style="font-family: Arial,Helvetica,sans-serif;">. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Choose%20Data%20Source_2012-10-30_21-07-39.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Choose%20Data%20Source_2012-10-30_21-07-45.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Sample%20WholesaleDistributor%20Sample%20File%20%20-%20Intuit%20QuickBooks%20Enterprise%20Solutio_2012-10-30_21-07-58.png" alt="" width="841" height="444" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option, and then click the "Continue" button, in the next window, click the "Done" button to finish authorizing. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Access%20Confirmation_2012-10-30_21-08-08.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import QuickBooks data into MS Excel via MS Query </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you grant permission for QODBC, you will be guided by Query Wizard. In the Choose Columns window, select a table and the columns you want to import. </span>Choose the table you wish to import and select the columns from the table to import by pressing the "&gt;" button. (Here, I choose table Customer as a sample.)<span style="font-family: Arial,Helvetica,sans-serif;"> You can add or remove columns at the correct list "Columns in your q.uery." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-08-19.png" alt="" width="880" height="408" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query%20Wizard%20-%20Choose%20Columns_2012-10-30_21-08-55.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set a filter for your query in this window. If you don't want to set any query, please click the "Next" button: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query%20Wizard%20-%20Filter%20Data_2012-10-30_21-08-59.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the setup is finished, MS Excel will ask you to choose an edit method for the records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query%20Wizard%20-%20Finish_2012-10-30_21-09-50.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Excel:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will directly export the data to Excel, you can view and edit these records, but the data is static, modification will not be uploaded into QuickBooks. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-10-09.png" alt="" width="906" height="479" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can view the detailed connection properties by clicking "connection" button in the Data menu: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-14-07.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> In the Workbook Connection Window, click the "Properties" button to view detailed information: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Workbook%20Connections_2012-10-30_21-14-19.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Now you can view the connection string and its SQL statement in the definition window: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-14-31.png" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">View Data or Edit Query in MS Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will lead you to MS Query window and you can view or edit data via SQL Statement.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-12-26.png" alt="" width="846" height="452" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click the "SQL" button to view the SQL Statement of this query: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Query_2012-10-30_21-12-48.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> The SQL window will show the SQL Statement, and the user can also modify the statement to extract other records: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Query_2012-10-30_21-12-59.png" alt="" width="845" height="327" /></span></p>
<p>&nbsp;</p>
<p>The desired recordset is to contain only the records with a <strong>Name</strong> having a value equaling "Residential." Select the field header name and click on it, next select <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out, Add Criteria window, specify the criteria <strong>Field</strong> as "Name," <strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Residential" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" width="482" height="236" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;</p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save, so that next time you can directly use the same query: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Query_2012-10-30_21-13-18.png" alt="" width="820" height="284" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Import%20Data_2012-10-30_21-09-59.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft%20Excel%20-%20Book1_2012-10-30_21-10-09.png" alt="" width="880" height="481" /></span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data</strong> or clicking&nbsp;the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables as shown above. Chanade to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-32-bit">Using QuickBooks Data with Excel 2013 32-bit</a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2441/57/how-to-configure-qodbc-to-work-with-64-bit-ms-excel">How to Configure QODBC to Work With 64-bit MS Excel</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Microsoft Office  with MS Query and QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352]]></link>
<guid isPermaLink="false"><![CDATA[92049debbe566ca5782a3045cf300a3c]]></guid>
<pubDate><![CDATA[Mon, 04 Jan 2010 08:36:42 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[Microsoft Office with MS Query and QODBC
Microsoft Office with MS Query and QODBC
Setup QODBC to work with Microsoft Office
&nbsp;&nbsp; Before using any Microsoft Office applications, you must ensure that the Microsoft Query builder is installed.
Not...]]></description>
<content:encoded><![CDATA[<p>Microsoft Office with MS Query and QODBC</p>
<h2 class="style1">Microsoft Office with MS Query and QODBC</h2>
<h3 class="style3">Setup QODBC to work with Microsoft Office</h3>
<p class="style2">&nbsp;&nbsp; Before using any Microsoft Office applications, you must ensure that the Microsoft Query builder is installed.</p>
<p class="style2"><br />Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br />Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.<br /><br /></p>
<p class="style2">&nbsp;&nbsp; Click <strong>Start</strong> -&gt; <strong>Control Panel</strong> -&gt; <strong>Add or Remove Programs</strong> -&gt; <strong>Change</strong> program Microsoft Office Professional Edition <strong>2003/2007/2010/2013</strong> -&gt; Select <strong>Add or Delete Functions</strong> -&gt; Check to&nbsp;<strong>Choose advanced customization of application</strong> -&gt; Check the options to select the items you want to install and uncheck the options to clear the items you do not want installing, be sure to check the <strong>Microsoft Query</strong> option.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office1.jpg" alt="" /></p>
<p>(The installer user interface may be different based on Office Edition. Please look for Microsoft Query under the "Office Tools" section)</p>
<p class="style2">&nbsp;&nbsp; Click <strong>Update Now</strong> to install the components.</p>
<p class="style2">&nbsp;&nbsp; (Make sure you have QuickBooks and the Company file open "minimized" that you want to query)</p>
<p>&nbsp;</p>
<h3 class="style3"><strong> Microsoft Query </strong></h3>
<p class="style2">&nbsp;&nbsp; This is a utility worth having a desktop shortcut to, especially for those who are not very familiar with creating SQL statements. The MS Query executable can be launched from the following directory:</p>
<p class="style2">&nbsp;&nbsp; C:\Program Files\Microsoft Office\Office\MSQRY32.EXE</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office2.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp; Select the option <strong>File</strong> -&gt; <strong>New</strong>, and you will see the following screen.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office3.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp; Highlight the data source you wish to use and click <strong>OK</strong>. (Uncheck the Query Wizard, if checked, to create more in-depth queries.) the data source selected here is the Sample Serviced Based Business, which is currently open.</p>
<p class="style2">&nbsp;&nbsp; The Add Tables screen will then pop up. Highlight the table you wish to query, click&nbsp;<strong>Add,</strong> and then <strong>Close</strong>.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office4.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp; MS Query should now show the table selected with a scrollable list of all the fields available. If you double-click on the asterisk in the list of fields open, it will populate the table with all of the available fields and records of that table, or select only the fields you are interested in.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office5.jpg" alt="" /></p>
<p class="style2">&nbsp; &nbsp;Sixty-five records are returned from the table in grid view, with no criteria applied to the underlying SQL statement. (Select * From Customer)</p>
<p class="style2">&nbsp;&nbsp; To apply criteria to the underlying SQL statement (Select * from Customer), click <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>:</p>
<p>&nbsp; <img src="//support.flexquarters.com/esupport/newimages/Office6.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp; The Add Criteria panel will allow you to select the available fields from the query from a dropdown selection menu, along with an operator and the associated values for that field. The above selection will generate an underlying SQL statement equivalent to the following:</p>
<p class="style2">&nbsp;&nbsp; Select * From Customer Where (Customer.ListID='150000-934380929')</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Office7.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp; The returned recordset contains only onemeets meeting the applied criteria, as shown above. Click on <strong>File</strong> -&gt; <strong>Exit</strong> -&gt; <strong>Save Changes</strong> / <strong>No</strong> to exit MS Query.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC and Microsoft Word]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2351]]></link>
<guid isPermaLink="false"><![CDATA[0abdc563a06105aee3c6136871c9f4d1]]></guid>
<pubDate><![CDATA[Mon, 04 Jan 2010 07:08:56 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[QODBC and Microsoft Word
Microsoft Word 2003 and QODBC
Creating a word mail merge to live QuickBooks data
Note: QODBC allows you to easily merge QuickBooks data onto your Word documents as tables or mail-merged fields. 
&nbsp;&nbsp;&nbsp;&nbsp; Open t...]]></description>
<content:encoded><![CDATA[<p>QODBC and Microsoft Word</p>
<h2 class="style1">Microsoft Word 2003 and QODBC</h2>
<h3 class="style3">Creating a word mail merge to live QuickBooks data</h3>
<p><span class="style2"><strong>Note:</strong> QODBC allows you to easily merge QuickBooks data onto your Word documents as tables or mail-merged fields. </span></p>
<p><span class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Open the document you wish to mail merge QuickBooks data into. From the <strong>Tools</strong> menu, select <strong>Letters and Mailings </strong> -&gt; <strong>Mail Merge. Then</strong>&nbsp;the Mail Merge task pane will display on the right side in Microsoft Word 2003.</span></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word1.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Select options <strong>Letters</strong> as the document type, then click <strong>Next: Starting document</strong> at the bottom.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word2.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Select the starting document and then next.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word3.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Select the option <strong>Use an existing list</strong> as the recipients and then click <strong>Browse</strong>.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word4.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; In the popped select data source window, select the pull-down menu <strong>Tools</strong> -&gt; <strong>MS Query</strong>.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word5.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; MS Query will launch, and the following screen will be seen:</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Word6.jpg" alt="" /></p>
<p><span class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Choose the Data Source Name (DSN) set up with your QuickBooks data. It can be the default (QuickBooks Data), which was set up by the installer, or any DSN you have created. (Here, I choose the default.) Check the option of <strong>Using the Query Wizard to create/edit queries</strong>.</span></p>
<p><span class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Select the table with the data you wish to merge into your document and use the &ldquo;&gt;&rdquo; button to select columns to include in the paper. Pressing &ldquo;&gt;&rdquo; on the table name will consist of all columns in the document. (Here, I choose table Customer data as a sample.) several screens allow you to filter certain records and sort the records, followed by the final dialog.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word7.jpg" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word8.jpg" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word9.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>Finish</strong> button to return the data to Microsoft Word. A Mail Merge Recipients window will show up. Press OK and then click <strong>Next: Write your letter</strong>.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word10.jpg" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word11.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Here I use the Address block, Greeting line, and More items option as examples to write the letter.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word12.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; First, insert the bill address information by selecting the More items option and adding related fields.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word13.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Second, insert the greeting information by selecting the Greeting lines option and configure the settings.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word14.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Finally, insert address block information.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word15.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; After inserting all the information, it will display as below:</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word16.jpg" alt="" /></p>
<p class="style2">&nbsp;&nbsp;&nbsp;&nbsp; Then select <strong>Next: Preview your letters,</strong> and you will see the finished notes with records from QuickBooks. The Mail Merge is complete now, and you can print the finished letters.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word17.jpg" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Word18.jpg" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC and SharePoint]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1882]]></link>
<guid isPermaLink="false"><![CDATA[e1314fc026da60d837353d20aefaf054]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[QODBC and SharePoint
Environment Description
&nbsp; &nbsp; &nbsp;QuickBooks Enterprise 2017
 &nbsp;&nbsp;&nbsp;&nbsp; Microsoft SharePoint 2006 / SharePoint 2016 / SharePoint Foundation / SharePoint Office 365
Instructions
&nbsp;&nbsp;&nbsp;&nbsp; Th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">QODBC and SharePoint</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Environment Description</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp; &nbsp; &nbsp;QuickBooks Enterprise 2017</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; Microsoft SharePoint 2006 / SharePoint 2016 / SharePoint Foundation / SharePoint Office 365</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Instructions</span></h3>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; The use of SharePoint Services requires the full QODBC Server Edition. The bundled QODBC Enterprise Edition cannot be used with Windows Services. We don't provide direct support for Microsoft SharePoint 2006 / SharePoint 2016 / SharePoint Foundation / SharePoint Office 365&nbsp;because it's a Microsoft product. For further information, please see the link below:</span></p>
<p><a href="https://support.office.com/en-us/article/Add-a-database-as-a-data-source-c35c22e0-c178-4903-9e64-1c171a74fef7#bm4" target="_blank"><span style="font-family: Arial, Helvetica, sans-serif;">Add a database as a data source </span></a></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp; &nbsp; &nbsp;SharePoint 2006 / SharePoint 2016 / SharePoint Foundation / SharePoint Office 365 seems to support ODBC, try this QRemote connection string:</span></p>
<p><span style="color: #0000ff; font-family: Arial, Helvetica, sans-serif;">"Driver={QRemote for QuickBooks};OLE DB Services=-2;IPAddress=127.0.0.1;Port=4500;RemoteDSN=QuickBooks Data;" </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong>Note</strong>: You will need to set up the &nbsp;QRemote / QODBC DCOMs and unattended mode access.</span>&nbsp;</p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;">If you want to use Dcom, please use the connection string below.</span></p>
<p><span style="color: #0000ff; font-family: Arial, Helvetica, sans-serif;">"Driver={QODBC Driver for QuickBooks};DFQ=C:\Users\Public\Documents\Intuit\QuickBooks\Sample Company Files\QuickBooks Enterprise Solutions 14.0\sample_service-based business.qbw;OpenMode=M;OLE DB Services=-2;"</span></p>
<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #ff0000;">Note</span></strong><span style="color: #ff0000;">:</span></span> <strong>DCom component is deprecated. As an alternative to DCom, you can use QRemote.</strong></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">See also:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2483" target="_blank">Using QuickBooks data remotely via QODBC</a></span></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2372/0/how-to-setup-qodbc-dcom-server" target="_blank"><span style="font-family: Arial, Helvetica, sans-serif;">How to setup QODBC DCOM Server</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank"><span style="font-family: Arial, Helvetica, sans-serif;">How to setup QODBC for Auto-login into QuickBooks</span></a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use Prompted Date Ranges in MS Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1591]]></link>
<guid isPermaLink="false"><![CDATA[5129a5ddcd0dcd755232baa04c231698]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[ How to Use Prompted Date Ranges in MS Access
Create Link Table 
&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open MS Access -&gt; Create a blank database -&gt; Using the File menu pulldown -&gt; Get External Data -&gt; select Link Tables......]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;"> How to Use Prompted Date Ranges in MS Access</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create Link Table </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open MS Access -&gt; Create a blank database -&gt; Using the <strong>File</strong> menu pulldown -&gt; <strong>Get External Data</strong> -&gt; select <strong>Link Tables...</strong></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt1.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select Files of type: <strong>ODBC Databases ()</strong></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt2.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select <strong>Machine Data Source</strong> and <strong>QuickBooks Data</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt3.JPG" alt="" width="630" height="552" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>QuickBooks Integrated Applications with Certificate</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; When Microsoft Access starts QODBC and connects to a company file for the first time, QuickBooks will ask you permission for Microsoft Access to access your QuickBooks data. Check the <strong>Yes, always; allow access even if QuickBooks is not running</strong> the option. Your FLEXquarters QODBC application will be added to the Integrated Application list in your company file. Click on <strong>Continue....</strong> to continue.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-5.jpg" alt="" width="816" height="632" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; QuickBooks will then confirm access; click on <strong>Done</strong> to continue.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-6.jpg" alt="" width="816" height="638" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the InvoiceLine table used in this example :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt4.JPG" alt="" width="633" height="555" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create a Query using the Linked Table </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>Queries</strong> tab and <strong>Create Query in the Design Mode view</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt5.JPG" alt="" width="632" height="554" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the linked InvoiceLine table :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt6.JPG" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Setup Date Parameters</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Move your mouse to the main pane and right click and select <strong>Parameters...</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt8.JPG" alt="" width="632" height="552" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Enter the PARAMETERS for <span style="color: #0000ff;">entering Start Date</span> and <span style="color: #0000ff;">Enter Finish Date</span> as shown and click <strong>OK</strong>:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt9.JPG" alt="" width="630" height="552" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Back to the central pane right, click and select <strong>SQL View...</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt7.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; The parameters that were entered are displayed.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt10.JPG" alt="" width="632" height="554" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Define Your SQL Query with Date Parameter</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; You can now paste in your SQL statement using the parameters (enclosed in <span style="color: #0000ff;">[ ]</span>), for example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">SELECT InvoiceLine.CustomerRefListID, InvoiceLine.CustomerRefFullName, <br />InvoiceLine.TxnDate, InvoiceLine.RefNumber, InvoiceLine.InvoiceLineItemRefFullName, <br />InvoiceLine.InvoiceLineDesc, InvoiceLine.InvoiceLineQuantity, InvoiceLine.InvoiceLineRate, InvoiceLine.InvoiceLineAmount<br />FROM InvoiceLine<br />WHERE (((InvoiceLine.TxnDate) &gt;= <span style="color: #0000ff;">[Enter Start Date]</span> And (InvoiceLine.TxnDate) &lt;= <span style="color: #0000ff;">[Enter Finish Date]</span>));</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt11.JPG" alt="" width="632" height="554" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Click on the red <strong>X</strong> to close the Query. Save the design :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt12.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; When the Query is run either as a query or a report, it will now prompt you to Enter the Start Date :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt13.JPG" alt="" width="631" height="552" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Then Enter Finish Date :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt14.JPG" alt="" width="631" height="554" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">And the Query will then run and return the Invoice Lines for the date range selected:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Accessprompt15.JPG" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use Prompted Date Ranges in MS Access 2007 using Vista]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1225]]></link>
<guid isPermaLink="false"><![CDATA[25df35de87aa441b88f22a6c2a830a17]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[How to Use Prompted Date Ranges in MS Access 2007 using Vista
Create a Link to Table 
&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open Microsoft Access 2007 -&gt; Create a Blank Database:

&nbsp;&nbsp;&nbsp;&nbsp; Using the External Data ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to Use Prompted Date Ranges in MS Access 2007 using Vista</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create a Link to Table </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open Microsoft Access 2007 -&gt; Create a Blank Database:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-1.jpg" alt="" width="819" height="638" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Using the <strong>External Data</strong> tab -&gt; use the More icon and select: <strong>ODBC Database</strong></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-2.jpg" alt="" width="816" height="632" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the&nbsp;<strong>Link to the data source by creating a linked table</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-3.jpg" alt="" width="760" height="560" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select <strong>Machine Data</strong> Source and <strong>QuickBooks Data</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-4.jpg" alt="" width="814" height="635" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>QuickBooks Integrated Applications with Certificate</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; When Microsoft Access starts QODBC and connects to a company file for the first time, QuickBooks will ask you permission for Microsoft Access 2007 to access your QuickBooks data. Check the <strong>Yes, always; allow access even if QuickBooks is not running</strong> the option. Your FLEXquarters QODBC application will be added to the Integrated Application list in your company file. Click on <strong>Continue....</strong> to continue.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-5.jpg" alt="" width="816" height="632" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; QuickBooks will then confirm access. Click on <strong>Done</strong> to continue.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-6.jpg" alt="" width="816" height="638" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the InvoiceLine table used in this example :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-7.jpg" alt="" width="816" height="634" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Define your QuerQueryh the Link Table </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Using the <strong>Create</strong> tab, click on the <strong>Query Design</strong> icon and select the linked InvoiceLine table :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-8.jpg" alt="" width="813" height="633" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Setup Date Parameters </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Move your mouse to the main pane and right click and select <strong>Parameters...</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-9.jpg" alt="" width="815" height="633" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Enter the PARAMETERS for <span style="color: #0000ff;">entering Start Date</span> and <span style="color: #0000ff;">Enter Finish Date</span> as shown and click <strong>OK</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-10.jpg" alt="" width="812" height="631" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Define your SQL Statement </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Back in the Query pane, click on the <strong>SQL</strong> icon, and the entered parameters are shown.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-11.jpg" alt="" width="809" height="628" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; You can now paste in your SQL statement using the parameters (enclosed in <span style="color: #0000ff;">[ ]</span>), for example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">SELECT InvoiceLine.CustomerRefListID, InvoiceLine.CustomerRefFullName, <br />InvoiceLine.TxnDate, InvoiceLine.RefNumber, InvoiceLine.InvoiceLineItemRefFullName, <br />InvoiceLine.InvoiceLineDesc, InvoiceLine.InvoiceLineQuantity, InvoiceLine.InvoiceLineRate, InvoiceLine.InvoiceLineAmount<br />FROM InvoiceLine<br />WHERE (((InvoiceLine.TxnDate) &gt;= <span style="color: #0000ff;">[Enter the Start Date for Invoices you want to see]</span> <br />And (InvoiceLine.TxnDate) &lt;= <span style="color: #0000ff;">[Enter the Ending Date for Invoices you want to see]</span>));</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-12.jpg" alt="" width="809" height="628" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Click on the <strong>X</strong> to close the querQueryve the design :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-13.jpg" alt="" width="811" height="632" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; When the querQueryrun either as a query or a report, it will now prompt you to Enter the Start Date :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-14.jpg" alt="" width="816" height="633" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Then Enter Finish Date :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-15.jpg" alt="" width="816" height="632" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">And the querQueryl then runs and returns the Invoice Lines for the date range selected:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/access2007-16.jpg" alt="" width="809" height="628" /></span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Questions and Answers </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Question</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; B</span><span style="font-family: Arial, Helvetica, sans-serif;">y any chance, have you tested this with office 2007 on XP SP 2? Access keeps crashing (closing with no error msg) when I select the table I want to link. I can import tables into Excel but need to connect them to update large amounts of customer data I have on my payment gateways. I have also tried Qintegrator as I need to update the customer -&gt; currency fields. Qintegrator does not allow me to do this. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family: Arial, Helvetica, sans-serif;">I am guessing this error can be caused by two reasons; the odbc is returning non-supported data to access or Jet. OR Access 2007 does not work on XP with your driver.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Systems info:&nbsp;&nbsp; QuickBooks Pro 2005 UK edition / MS Access 2007 (with office pro) / XP Service Pack 2 / MS Jet up to date / ODBC connected and working</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Answer</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; I cannot do that combination because QuickBooks 2005 and 2006 UK, 2006 and 2007 Canadian, and 2006/07 and 2007/08 Australian editions don't support Microsoft Office 2007. As far as QuickBooks and Windows XP SP2 is concerned, only Microsoft Office 2003 should be used.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; Make sure you use QODBC v7.00.00.214 (or higher) and start a new database. I've seen MS Access close when I tried to add additional linked tables to existing projects and had no trouble adding them to new projects.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Sample Code for VB.NET with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1047]]></link>
<guid isPermaLink="false"><![CDATA[20b5e1cf8694af7a3c1ba4a87f073021]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[Sample Code for VB.NET with QODBC 
Sample Code of VB.NET to Create DataSet 
Note: The following is the minimal code required to create a DataSet from the SQL statement and attach the dataset to a DataGrid. Dim cnQODBC As System.Data.Odbc.OdbcConnectionD...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Sample Code for VB.NET with QODBC </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Sample Code of VB.NET to Create DataSet </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong>Note</strong>: The following is the minimal code required to create a DataSet from the SQL statement and attach the dataset to a DataGrid.<br /> <br />Dim cnQODBC As System.Data.Odbc.OdbcConnection<br />Dim daQODBC As System.Data.Odbc.OdbcDataAdapter<br />Dim dsQODBC As System.Data.DataSet</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">cnQODBC = New System.Data.Odbc.OdbcConnection("DSN=QuickBooks Data")<br />cnQODBC.Open()<br />daQODBC = New System.Data.Odbc.OdbcDataAdapter("SELECT ListID, FullName, CompanyName FROM Customer", cnQODBC)<br />dsQODBC = New System.Data.DataSet</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">daQODBC.Fill(dsQODBC)<br />dgDataGrid.DataSource = dsQODBC<br />dgDataGrid.DataBind() 'May or may not be required depending on where you put this code.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please click <a href="http://support.flexquarters.com/supportfiles/SampleVBDOTNet.zip">here</a>&nbsp;to download a sample VB.Net project.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial, helvetica, sans-serif;">Using a 64-bit system, you can specify x86 as Target CPU in Visual Studio.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Change project properties | Advanced Compile Options... | Target CPU | x86</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/VBNet/step1.png" alt="http://support.flexquarters.com/esupport/newimages/VBNet/step1.png" /></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">To use it as a 64-bit, you need to use QRemote 64-bit DSN &ldquo;QuickBooks Data 64-bit QRemote&rdquo; in the&nbsp;</span>connection<span style="font-family: arial, helvetica, sans-serif;"> string.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QODBC Edition Related </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; The difference between the <strong>Desktop</strong> and the <strong>Server</strong> Edition is that for running Service based application Server Edition license is required. The service-based application is active in the Server Edition, which allows applications that call through a Windows Service (such as IIS, ColdFusion. MS SQL Server) to use QODBC and QuickBooks. So QODBC Server Edition should be chosen when using. NET. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; See also: http://www.qodbc.com/qodbcfree.htm for more about the differences between the Desktop and Server Edition. </span></p>
<h3>&nbsp;</h3>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">IE Hanging Problem </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Sometimes one could get the problem when opening the QODBC connection, but the IE hangs. To resolve this, use QRemote DSN "QuickBooks Data QRemote" instead of "QuickBooks Data" DSN</span><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;See: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2483" target="_blank">How to use QRemote</a> for more.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please click here for&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2510" target="_blank">How to build a QuickBooks IIS Web application using QODBC Driver and Microsoft ASP.NET (Video)</a></span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Please click here for the&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2204/" target="_blank"><span class="kbtitlemain">Sample code for the ASP C# QODBC connection</span></a>.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial, helvetica, sans-serif;"><span class="kbtitlemain">Keywords: sample .net, sample, .net, Dot Net, C#,C#.Net ,VB.Net<br /></span></span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Examples of How to Use QODBC via Visual Basic]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/506]]></link>
<guid isPermaLink="false"><![CDATA[ff4d5fbbafdf976cfdc032e3bde78de5]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[Examples of How to Use QODBC via Visual Basic
Download Link
Query and Update VBS 
Click here: http://www.qodbc.com/docs/support/vbexamples.zip to download some VBS files that show several examples of queries and updates. They can be pasted into a Visua...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Examples of How to Use QODBC via Visual Basic</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Download Link</span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Query and Update VBS </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Click here: <a href="http://www.qodbc.com/docs/support/vbexamples.zip">http://www.qodbc.com/docs/support/vbexamples.zip</a> to download some VBS files that show several examples of queries and updates. They can be pasted into a Visual Basic 6 program and used. You can strongly type the dimmed variables and change the Create Objects to the new if you reference ado. The VBS will run as is, pasted in.</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>VB Demo 32 Source </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Also, click here: <a href="http://www.qodbc.com/docs/support/vbdemosrc.zip">http://www.qodbc.com/docs/support/vbdemosrc.zip</a> for the source to VBDemo32. It mainly came from Microsoft. It uses the Sheridan grid, so you won't be able to run it unless you have that, but you can look at how to do ODBC calls directly. By far, the fastest executing programs can be written with it. It will just be time-consuming to get a library built to use it.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Example Process</span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Example VBS (Update Specified Value) </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">'***********************************<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br />Const adUseClient = 3</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Dim asFName(1)<br />Dim asLName(1)<br />Dim asBAddr1(1)<br />Dim asBAddr2(1)<br />Dim asBAddr3(1)<br />Dim asBCity(1)<br />Dim asBState(1)<br />Dim asBZip(1)<br />Dim asSAddr1(1)<br />Dim asSAddr2(1)<br />Dim asSAddr3(1)<br />Dim asSCity(1)<br />Dim asSState(1)<br />Dim asSZip(1)<br />Dim asPhone1(1)<br />Dim asPhone2(1)<br />Dim asEmail(1)<br />Dim sSQL<br />Dim lCnt<br />'***********************************<br />asFName(1) = "Kim"<br />asLName(1) = "Garland"<br />asBAddr1(1) = "123 E Main St"<br />asBAddr2(1) = "Addr2"<br />asBAddr3(1) = ""<br />asBCity(1) = "Mesa"<br />asBState(1) = "AZ"<br />asBZip(1) = 85222<br />asSAddr1(1) = "321 E Main St"<br />asSAddr2(1) = ""<br />asSAddr3(1) = "Addr3"<br />asSCity(1) = "Mesa"<br />asSState(1) = "AZ"<br />asSZip(1) = 85215<br /> <span style="color: #ff0000;">asPhone1(1) = "111-111-111x"</span><br />asPhone2(1) = "111-111-1111"<br />asEmail(1) = "<a href="mailto:deanna@global.net">deanna@global.net</a>"<br />'***********************************</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Set oConnection = CreateObject("ADODB.Connection")<br />oConnection.Open "DSN=Quickbooks Data;OLE DB Services=-2"</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">For lCnt = 1 To UBound(asFName)<br />sSQL = "SELECT * FROM Customer WHERE IsActive = 1 and FirstName = '" &amp; asFName(lCnt) &amp; "' and LastName = '" &amp; asLName(lCnt) &amp; "'"<br /> <br />Set oRecordset = CreateObject("ADODB.Recordset")<br />oRecordset.CursorType = 2<br />oRecordset.LockType = 3</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> oRecordset.CursorLocation = adUseClient <br />oRecordset.Open sSQL, oConnection<br /> <br />If (Not oRecordset.EOF), then<br />MsgBox oRecordSet.Fields("ListID")<br />'oRecordset.Fields("BillAddressAddr1").Value = asBAddr1(lCnt)<br />'oRecordset.Fields("BillAddressAddr2").Value = asBAddr2(lCnt)<br />'oRecordset.Fields("BillAddressAddr3").Value = asBAddr3(lCnt)<br />'oRecordset.Fields("BillAddressCity").Value = asBCity(lCnt)<br />'oRecordset.Fields("BillAddressState").Value = asBState(lCnt)<br />'oRecordset.Fields("BillAddressPostalCode").Value = asBZip(lCnt)<br />'oRecordset.Fields(&amp;qu ot;ShipAddressAddr1").Value = asSAddr1(lCnt)<br />'oRecordset.Fields("ShipAddressAddr2").Value = asSAddr2(lCnt)<br />'oRecordset.Fields("ShipAddressAddr3").Value = asSAddr3(lCnt)<br />'oRecordset.Fields("ShipAddressCity").Value = asSCity(lCnt)<br />'oRecordset.Fields("ShipAddressState").Value = asSState(lCnt)<br />'oRecordset.Fields("ShipAddressPostalCode").Value = asSZip(lCnt)<br /> <span style="color: #ff0000;">oRecordset.Fields("Phone").Value = asPhone1(lCnt)</span><br />'oRecordset.Fields("AltPhone").Value = asPhone2(lCnt)<br />'oRecordset.Fields("Email").Value = asEmail(lCnt) <br />oRecordset.Update<br />End If<br />Next <br />'***********************************<br />oRecordset.Close<br />Set oRecordset = Nothing</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">oConnection.Close<br />Set oConnection = Nothing<br />'***********************************</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong><span style="color: #990000;">Step 1</span></strong> - I created a new customer record for Kim Garland and closed the Edit Customer pane in QuickBooks:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/custvbs1.JPG" alt="" width="561" height="456" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong><span style="color: #990000;">Step 2</span></strong> - I copied your script to Notepad, saved the file as <span style="color: #ff0000;">Customer.vbs,</span> and then double-clicked it using Windows Explorer. The ListID is displayed in the MsgBox:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/custvbs2.JPG" alt="" width="143" height="107" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong><span style="color: #990000;">Step 3</span></strong> - I opened the Edit Customer pane and looked at the record in QuickBooks. The phone number has been updated as per: <span style="color: #ff0000;">asPhone1(1) = "111-111-111x"</span>.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/custvbs3.JPG" alt="" width="562" height="455" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><strong>Note</strong>: You can't have the Customer record open in QuickBooks while you run the vbs script.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use Prompted Date Ranges in MS Excel ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/374]]></link>
<guid isPermaLink="false"><![CDATA[ad972f10e0800b49d76fed33a21f6698]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[ How to Use Prompted Date Ranges in MS Excel 
New Database Query 
&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open MS Excel -&gt; Using the Data menu pulldown -&gt; Import External Data -&gt; select New Database Query...&nbsp;
Note: In rec...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;"> How to Use Prompted Date Ranges in MS Excel </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">New Database Query </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Let's start from the beginning. Open MS Excel -&gt; Using the <strong>Data</strong> menu pulldown -&gt; <strong>Import External Data</strong> -&gt; select <strong>New Database Query...</strong></span>&nbsp;</p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt1.JPG" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Locate Table and Field Record </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select Databases and QuickBooks Data:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt2.JPG" alt="" width="631" height="553" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the InvoiceLine table and the fields/columns as used in this example:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt3.JPG" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Setup Date Filter Parameter</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Enter the filter parameters for the TxnDate as shown:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt4.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Click <strong>Next</strong> to bypass Sort by (Order by), as you should always allow QODBC to sort how rows are returned wherever possible:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt5.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Click on <strong>View data or edit query in Microsoft Query</strong> and select <strong>Finish</strong>:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt6.JPG" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Setup Criteria Value for TxnDate </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Replace the Criteria value for TxnDate from: </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&gt;=#1/1/2006# And &lt;=#1/1/2008#</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt7.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; To:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&gt;=[Enter Start Date] And &lt;=[Enter Finish Date]</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Date Data Type Related </strong></span></p>
<p><strong><span style="color: #000000; font-family: Arial, Helvetica, sans-serif;">Note</span></strong><span style="font-family: Arial, Helvetica, sans-serif;">: Due to Date, DateTime (used by MS Access), and Timestamp (used by MS Query) data types, when using MS Query, you will also need to change the Criteria Field from <span style="color: #0000ff;">TxnDate</span> (Date) to<span style="color: #0000ff;"> TimeCreated </span></span><span style="color: #000000; font-family: Arial, Helvetica, sans-serif;">(Timestamp)</span><span style="font-family: Arial, Helvetica, sans-serif;">:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt8.JPG" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Return Data to Excel </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Using the <strong>File</strong> menu pulldown, select <strong>Return Data to Microsoft Office Excel...</strong> :</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt9.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; You can select the cell where you want to put the data in your worksheet:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt10.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Now, whenever you Refresh Data:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt11.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">It will now prompt you to Enter the Start Date:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt12.JPG" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Then Enter Finish Date:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/Excelprompt13.JPG" alt="" /></span></p>
<h2><span style="font-family: Arial, Helvetica, sans-serif;"><br /> <span style="color: #6633cc;">Questions and Answers </span></span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Question 1 </span></h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Is it possible to have a criteria sheet where the user can enter a Beginning and Ending date in the worksheet and have the query look to those cells to get the date ranges for the query? In other workbooks that I set up, I like to create criteria pages to allow the user to change aspects of the workbook and assign named ranges to those cells. That way, the data can be referenced throughout the entire workbook.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Answer 1 </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; I don't have an MS Excel example but see: <a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2571" target="_blank">Using QuickBooks Data with VBA</a> for more on using VBA to program date entry and execution using MS Access.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Example Code of Update QuickBooks from MS Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/28]]></link>
<guid isPermaLink="false"><![CDATA[33e75ff09dd601bbe69f351039152189]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[Example Code of Update QuickBooks from MS Access 
Requirements of Update QuickBooks from MS Access
Now take below as an example:
 &nbsp;&nbsp;&nbsp;&nbsp; All I am trying to do is update the account number in QuickBooks from a table I built in Access. ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Example Code of Update QuickBooks from MS Access </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Requirements of Update QuickBooks from MS Access</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now take below as an example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; All I am trying to do is update the account number in QuickBooks from a table I built in Access. In Access, I linked the QuickBooks&nbsp;Account table and did a join to my new table that has the Account.FullName field in it. Below are my queries tried in SQL:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> UPDATE [Q Account Master] RIGHT JOIN Account ON [Q Account Master].FullName = Account.FullName SET Account.AccountNumber = [Q Account Master]![GP Account Number] WHERE (([Account]![FullName]=[Q Account Master]![FullName])); </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">or</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">UPDATE Account, [Copy of Q Account Master] SET Account.AccountNumber = [Copy of Q Account Master]![AccountNumber]<br />WHERE (((Account.AccountNumber) Is Null) AND ((Account.ListID)=[Copy of QB Account Master]![ListID]));</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">But always get a QuickBooks error message: <strong>cannot merge list elements</strong></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;"><strong>Possible Solutions </strong></span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Try changing the SET Account.AccountNumber to SET AccountNumber and drop the Access table:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">UPDATE Account SET AccountNumber = [Copy of Q Account Master]![AccountNumber]<br />WHERE (((Account.AccountNumber) Is Null) AND ((Account.ListID)=[Copy of Q Account Master]![ListID]));</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">And place the statement within a loop of the MS Access Copy of Q Account Master table rows. This means you need to write some VBA code, or you can execute DoCmd.RunSQL commands, see: <a href="http://archive.qodbc.com/forum17dd.html?homeinclude=topicdetails&amp;forum_id=1&amp;category_id=17&amp;post_id=916" target="_blank">Inserting invoice lines built from external data using MS Access</a> or create a sub-procedure. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Here is an Invoice example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">----------------------------------------------------------------------------------</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Private Sub Send_Orders_QB_INS(iLogNum As Integer)</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> On Error GoTo ERR_SEND<br /> <br />Dim sSQL_OrderHeaders As String<br />Dim sSQL_OrderLabor As String<br />Dim sSQL_OrderMaterial As String<br />Dim sSQL As String</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Dim rsOrder_Headers As Recordset<br />Dim rsOrder_Labor As Recordset<br />Dim rsOrder_Material As Recordset<br /> <br />Dim sLocalCustName As String<br />Dim sQBCustomerID As String<br />Dim sQBTermsID As Variant<br />Dim sQBItemTaxID As Variant<br />Dim sQBCustTaxID As Variant<br />Dim sQBCustAddr1 As Variant<br />Dim sQBCustAddr2 As Variant<br />Dim sQBCustCity As Variant<br />Dim sQBCustState As Variant<br />Dim sQBCustZip As Variant<br />Dim iLaborRowCount As Integer<br />Dim iMaterialsRowCount As Integer<br /> <br />Dim sSQL_INVOICE_LINE_INSERT As String<br />Dim sSQL_INVOICE_INSERT As String<br /> <br />Dim sCustomerRefListID As String<br />Dim sCustomerRefFullName As String<br />Dim sClassRefListID As String<br />Dim sClassRefFullName As String<br />Dim sARAccountRefListID As String<br />Dim sARAccountRefFullName As String<br />Dim sTxnDate As String<br />Dim sRefNumber As String<br />Dim sBillAddressAddr1 As String<br />Dim sBillAddressAddr2 As String<br />Dim sBillAddressCity As String<br />Dim sBillAddressState As String<br />Dim sBillAddressPostalCode As String<br />Dim sTermsRefListID As String<br />Dim sTermsRefFullName As String<br />Dim sDueDate As String<br />Dim sShipDate As String<br />Dim sItemSalesTaxRefListID As String<br />Dim sItemSalesTaxRefFullName As String<br />Dim sCustomerMsgRefListID As String<br />Dim sCustomerMsgRefFullName As String<br />Dim sCustomerSalesTaxCodeRefListID As String<br />Dim sCustomerSalesTax As String<br />Dim sCodeRefFullName As String<br />Dim sInvoiceLineItemRefListID As String<br />Dim sInvoiceLineDesc As String<br />Dim dInvoiceLineQuantity As Double<br />Dim cInvoiceLineAmount As Currency<br />Dim cInvoiceLineRate As Currency<br />Dim sInvoiceLineSalesTaxCodeRefListID As String<br />Dim sInvoiceLineSalesTaxCodeRefFullName As String<br /> <br />Dim iServiceOrderMatchCnt As Integer<br />Dim bDupError As Boolean<br /> <br />DoCmd.SetWarnings False<br /> <br />' ***** ADDED 05/31/2004 *******************<br />' only allow orders that have an invoice number<br />sSQL_OrderHeaders = "SELECT dtl.* FROM dtlServiceOrder AS dtl, tblQB_Exports_Detail_Log AS log " + _<br />"WHERE dtl.ServiceOrderNumber = log.ServiceOrderNumber AND dtl.ServiceOrderStatus = 'Complete' AND log.IsSendable = True AND log.ExportLogNum = " + CStr(iLogNum)<br /> <br />Set rsOrder_Headers = CurrentDb.OpenRecordset(sSQL_OrderHeaders)<br /> <br />Do While Not rsOrder_Headers.EOF<br />' add labor lines to QuickBooks Invoice Line table<br />iLaborRowCount = 0<br />' ***** ADDED 05/31/2004 *******************<br />' only allow lines that have labor hours included. This is to prevent the import of blank lines.<br />sSQL_OrderLabor = "SELECT * FROM dtlServiceOrderLbr WHERE ServiceOrderNumber = '" + rsOrder_Headers!ServiceOrderNumber + "' AND (LbrHoursRG &gt; 0 OR LbrHoursOT &gt; 0 OR LbrHoursDT &gt; 0)"<br />Set rsOrder_Labor = CurrentDb.OpenRecordset(sSQL_OrderLabor)<br />Do While Not rsOrder_Labor.EOF<br />sInvoiceLineItemRefListID = id_INVOICE_LINE_ITEM_REF_Labor<br />sInvoiceLineDesc = "Labor"<br />dInvoiceLineQuantity = rsOrder_Labor!LbrHoursRG + rsOrder_Labor!LbrHoursOT + rsOrder_Labor!LbrHoursDT<br />cInvoiceLineAmount = rsOrder_Labor!LbrTotalCost<br />If cInvoiceLineAmount = 0 And dInvoiceLineQuantity = 0 Then<br />cInvoiceLineRate = 0<br />Else<br />cInvoiceLineRate = cInvoiceLineAmount / dInvoiceLineQuantity<br />End If<br />sInvoiceLineSalesTaxCodeRefListID = id_INVOICE_LINE_SALES_TAX_CODE_Non<br />sInvoiceLineSalesTaxCodeRefFullName = "Non"<br />sFQSaveToCache = 1<br /> <br />sSQL_INVOICE_LINE_INSERT = "INSERT INTO Q_INVOICE_LINE " + _<br />"(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineQuantity," + _<br />"InvoiceLineAmount,InvoiceLineRate,InvoiceLineSalesTaxCodeRefListID," + _<br />"InvoiceLineSalesTaxCodeRefFullName,FQSaveToCache) " + _<br />"VALUES " + _<br />"('" + sInvoiceLineItemRefListID + "','" + sInvoiceLineDesc + "'," + CStr(dInvoiceLineQuantity) + "," + _<br />&amp;nb sp; "" + CStr(cInvoiceLineAmount) + "," + CStr(cInvoiceLineRate) + ",'" + sInvoiceLineSalesTaxCodeRefListID + "'," + _<br />"'" + sInvoiceLineSalesTaxCodeRefFullName + "'," + CStr(1) + ")"<br /> <br />CurrentDb.Execute sSQL_INVOICE_LINE_INSERT<br /> <br />iLaborRowCount = iLaborRowCount + 1<br /> <br />rsOrder_Labor.MoveNext<br />Loop<br /> <br />' add material lines to QuickBooks Invoice Line table<br />iMaterialsRowCount = 0<br />' ***** ADDED 05/31/2004 *******************<br />' only allow lines that have material quantities included. This is to prevent the import of blank lines.<br />sSQL_OrderMaterial = "SELECT * FROM dtlServiceOrderMtl WHERE ServiceOrderNumber = '" + rsOrder_Headers!ServiceOrderNumber + "' AND MtlQuantity &gt; 0"<br />Set rsOrder_Material = CurrentDb.OpenRecordset(sSQL_OrderMaterial)<br />Do While Not rsOrder_Material.EOF<br />sInvoiceLineItemRefListID = id_INVOICE_LINE_ITEM_REF_Misc<br />sInvoiceLineDesc = rsOrder_Material!MtlItemDescription<br />dInvoiceLineQuantity = rsOrder_Material!MtlQuantity<br />cInvoiceLineAmount = rsOrder_Material!MtlPrice<br />cInvoiceLineRate = rsOrder_Material!MtlExtend<br />If (rsOrder_Material!MtlTaxable) = True Or (rsOrder_Material!MtlTaxable2 = True) Then<br />sInvoiceLineSalesTaxCodeRefListID = id_INVOICE_LINE_SALES_TAX_CODE_Tax<br />sInvoiceLineSalesTaxCodeRefFullName = "Tax"<br />Else<br />sInvoiceLineSalesTaxCodeRefListID = id_INVOICE_LINE_SALES_TAX_CODE_Non<br />sInvoiceLineSalesTaxCodeRefFullName = "Non"<br />End If<br /> <br />sSQL_INVOICE_LINE_INSERT = "INSERT INTO Q_INVOICE_LINE " + _<br />"(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineQuantity," + _<br />"InvoiceLineAmount,InvoiceLineRate,InvoiceLineSalesTaxCodeRefListID," + _<br />"InvoiceLineSalesTaxCodeRefFullName,FQSaveToCache) " + _<br />"VALUES " + _<br />"('" + sInvoiceLineItemRefListID + "','" + sInvoiceLineDesc + "'," + CStr(dInvoiceLineQuantity) + "," + _<br />"" + CStr(cInvoiceLineAmount) + "," + CStr(cInvoiceLineRate) + ",'" + sInvoiceLineSalesTaxCodeRefListID + "'," + _<br />"'" + sInvoiceLineSalesTaxCodeRefFullName + "'," + CStr(1) + ")"<br /> <br />CurrentDb.Execute sSQL_INVOICE_LINE_INSERT<br /> <br />iMaterialsRowCount = iMaterialsRowCount + 1</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> rsOrder_Material.MoveNext<br />Loop<br /> <br />' add a record to QuickBooks Invoice table<br />sLocalCustName = DLookup("[CustSort]", "mstCustomers", "[CustNumber] = '" + rsOrder_Headers!CustNumber + "'")<br />sQBCustomerID = GetCustomerID(rsOrder_Headers!CustNumber, sLocalCustName)<br />sCustomerRefListID = sQBCustomerID<br />sCustomerRefFullName = sLocalCustName<br />sARAccountRefListID = id_ARA_ACCOUNT_REF_Accounts_Receivable<br />sARAccountRefFullName = "Accounts Receivable"<br />sTxnDate = CStr(rsOrder_Headers!ServiceOrderDate)<br />'sRefNumber = GetNextQBRefNum()<br />sRefNumber = rsOrder_Headers!ServiceOrderInvNum<br />sClassRefListID = id_CLASS_REF_landscaping<br />sClassRefListID = id_CLASS_REF_landscaping<br />sClassRefFullName = "Commerical Landscaping"<br />sQBCustAddr1 = DLookup("[BillAddressAddr1]", "Q_CUSTOMER", "[ListID] = '" + sCustomerRefListID + "'")<br />If IsNull(sQBCustAddr1) Then<br />sBillAddressAddr1 = ""<br />Else<br />sBillAddressAddr1 = sQBCustAddr1<br />End If<br />sQBCustAddr2 = DLookup("[BillAddressAddr2]", "Q_CUSTOMER", "[ListID] = '" + sCustomerRefListID + "'")<br />If IsNull(sQBCustAddr2) Then<br />sBillAddressAddr2 = ""<br />Else<br />sBillAddressAddr2 = sQBCustAddr2<br />End If<br />sQBCustCity = DLookup("[BillAddressCity]", "Q_CUSTOMER", "[ListID] = '" + sCustomerRefListID + "'")<br />If IsNull(sQBCustCity) Then<br />sBillAddressCity = ""<br />Else<br />sBillAddressCity = sQBCustCity<br />End If<br />sQBCustState = DLookup("[BillAddressState]", "Q_CUSTOMER", "[ListID] = '" + sCustomerRefListID + "'")<br />If IsNull(sQBCustState) Then<br />sBillAddressState = ""<br />Else<br />sBillAddressState = sQBCustState<br />End If<br />sQBCustZip = DLookup("[BillAddressPostalCode]", "Q_CUSTOMER", "[ListID] = '" + sCustomerRefListID + "'")<br />If IsNull(sQBCustZip) Then<br />sBillAddressPostalCode = ""<br />Else<br />sBillAddressPostalCode = sQBCustZip<br />End If<br />sQBTermsID = DLookup("[TermsRefListID]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />If IsNull(sQBTermsID) Or (sQBTermsID = "") Then<br />sTermsRefListID = id_TERMS_REF_Due_on_receipt<br />sTermsRefFullName = "Due on receipt"<br />Else<br />sTermsRefListID = sQBTermsID<br />sTermsRefFullName = DLookup("[TermsRefFullName]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />End If<br />sDueDate = CStr(rsOrder_Headers!ServiceOrderDate)<br />sShipDate = CStr(rsOrder_Headers!ServiceOrderDate)<br />sQBItemTaxID = DLookup("[ItemSalesTaxRefListID]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />If IsNull(sQBItemTaxID) Or (sQBItemTaxID = "") Then<br />sItemSalesTaxRefListID = id_ITEM_SALES_TAX_REF_6<br />sItemSalesTaxRefFullName = "6% Sales Tax"<br />Else<br />sItemSalesTaxRefListID = sQBItemTaxID<br />sItemSalesTaxRefFullName = DLookup("[ItemSalesTaxRefFullName]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />End If<br />sCustomerMsgRefListID = id_CUSTOMER_MSG_REF_Thank_you<br />sCustomerMsgRefFullName = " Thank you for your business."<br />sQBCustTaxID = DLookup("[SalesTaxCodeRefListID]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />If IsNull(sQBItemTaxID) Or (sQBItemTaxID = "") Then<br />sCustomerSalesTaxCodeRefListID = id_INVOICE_LINE_SALES_TAX_CODE_Tax<br />sCustomerSalesTaxCodeRefFullName = "Tax"<br />Else<br />sCustomerSalesTaxCodeRefListID = sQBCustTaxID<br />sCustomerSalesTaxCodeRefFullName = DLookup("[SalesTaxCodeRefFullName]", "Q_CUSTOMER", "[ListID] = '" + sQBCustomerID + "'")<br />End If<br /> <br />sSQL_INVOICE_INSERT = "INSERT INTO Q_INVOICE " + _<br />&amp; nbsp; "(CustomerRefListID,CustomerRefFullName,ClassRefListID,ClassRefFullName," + _<br />"ARAccountRefListID,ARAccountRefFullName,TxnDate,RefNumber,BillAddressAddr1," + _<br />"BillAddressAddr2,BillAddressCity,BillAddressState,BillAddressPostalCode," + _<br />"IsPending,TermsRefListID,TermsRefFullName,DueDate,ShipDate,ItemSalesTaxRefListID," + _<br />"ItemSalesTaxRefFullName,CustomerMsgRefListID,CustomerMsgRefFullName,IsToBePrinted," + _<br />"CustomerSalesTaxCodeRefListID) " + _<br />"VALUES " + _<br />"('" + sCustomerRefListID + "','" + sCustomerRefFullName + "','" + sClassRefListID + "','" + sClassRefFullName + "'," + _<br />"'" + sARAccountRefListID + "','" + sARAccountRefFullName + "','" + sTxnDate + "','" + sRefNumber + "','" + sBillAddressAddr1 + "'," + _<br />"'" + sBillAddressAddr2 + "','" + sBillAddressCity + "','" + sBillAddressState + "','" + sBillAddressPostalCode + "'," + _<br />"" + CStr(0) + ",'" + sTermsRefListID + "','" + sTermsRefFullName + "','" + sDueDate + "','" + sShipDate + "','" + sItemSalesTaxRefListID + "'," + _<br />"'" + sItemSalesTaxRefFullName + "','" + sCustomerMsgRefListID + "','" + sCustomerMsgRefFullName + "'," + CStr(0) + "," + _<br />"'" + sCustomerSalesTaxCodeRefListID + "')"<br /> <br />If (iLaborRowCount + iMaterialsRowCount &gt; 0) Then<br />CurrentDb.Execute sSQL_INVOICE_INSERT<br /> <br />If Not bDupError Then<br />iOrdersExported = iOrdersExported + 1<br />End If<br />bDupError = False<br />End If<br /> <br />' ***** ADDED 05/31/2004 *******************<br />' add to detail log<br />sSQL = "UPDATE tblQB_Exports_Detail_Log SET OrderSent = 1 WHERE ExportLogNum = " + CStr(iLogNum) + " AND " + _<br />"ServiceOrderNumber = " + MakeString(rsOrder_Headers!ServiceOrderNumber, True)<br />CurrentDb.Execute sSQL<br /> <br />' update status<br />sSQL = "UPDATE dtlServiceOrder " + _<br />"SET ServiceOrderStatus = 'Exported', " + _<br />"Export_batch_number = 'Q" + CStr(iLogNum) + "', " + _<br />"Export_date = '" + CStr(Date) + "' " + _<br />"WHERE ServiceOrderNumber = '" + rsOrder_Headers!ServiceOrderNumber + "'"<br />CurrentDb.Execute sSQL<br /> <br />MOVE_NEXT:<br />rsOrder_Headers.MoveNext<br />Loop</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> DoCmd.SetWarnings True<br /> <br />Exit Sub<br /> <br />ERR_SEND:<br />Select Case Err.Number<br />Case 3155<br />MsgBox "Invoice '" + sRefNumber + "' failed." + vbCrLf + "This Order is likely already in QuickBooks." + vbCrLf + "Please write down the order number and research it after this process is complete.", vbExclamation<br />bDupError = True<br />Resume Next<br />Case Else<br />MsgBox CStr(Err.Number) + "--" + Err.Description<br />Exit Sub<br />End Select</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">End Sub</span></p>]]></content:encoded>
</item>
</channel>
</rss>