<?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] How to use QODBC Support Wizard]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2981]]></link>
<guid isPermaLink="false"><![CDATA[9ff0525c64bf3d4c9957a1d4397f1b40]]></guid>
<pubDate><![CDATA[Mon, 25 Dec 2017 07:57:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC Support Wizard
Problem Description:
How to use the QODBC Support Wizard?
Solution:
Please follow the steps below for using the QODBC Support Wizard.
The "QODBC Support Wizard" application is included with QODBC v18.0.0.325 and above....]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QODBC Support Wizard</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to use the QODBC Support Wizard?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>Please follow the steps below for using the QODBC Support Wizard.</p>
<p>The "QODBC Support Wizard" application is included with QODBC v18.0.0.325 and above. If you are using an older version of QODBC, please upgrade your QODBC to the latest version. <a href="http://qodbc.com/qodbcDownload.htm">Click here</a> to download the newest version of QODBC.</p>
<p>OR <a href="http://support.flexquarters.com/supportfiles/QODBC-Support-Wizard/builds/QSW.zip">Click here</a> to download&nbsp;"QODBC Support Wizard."&nbsp;</p>
<p>Click on the "QODBC Support Wizard" icon from the Windows Start menu.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/intro/step1.png" alt="" /></p>
<p>"QODBC Support Wizard" is open. Click "Next."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step2.png" alt="" /></p>
<p>Follow the instructions on the wizard.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step3.png" alt="" /></p>
<p>On the QODBC DSN Verification step, make sure it passes all the checks.</p>
<p>In case you see a warning icon below. Please click the "FIX" button so the QODBC Support Wizard can automatically fix the issue.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step4.png" alt="" /></p>
<p>Once the QODBC Support Wizard has performed all checks, please click the "Next" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step5-1.png" alt="" /></p>
<p>Once the QODBC Support Wizard has performed all checks, please click the "Next" button.</p>
<p>&nbsp;</p>
<p>Now, click the "Test Connection" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step6.png" alt="" /></p>
<p>On clicking the "Test Connection" button, you will notice "Connecting to QuickBooks" as shown below.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/intro/step7.png" alt="" /></p>
<p>When QODBC tries to access the company file for the first time, QuickBooks will ask you for permission to allow the driver to access your QuickBooks company file. Switch to the QuickBooks application &amp; accept the certificate.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/intro/step8.png" alt="" /></p>
<p><strong>OR</strong></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/intro/step9.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/intro/step10.png" alt="" /></p>
<p>After accepting the Application Integration certificate, the QODBC Support Wizard should be able to connect to QuickBooks and should report "Test connection successful."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step11.png" alt="" /></p>
<p>Click the "Next" button, select the default option "Yes, I can connect to QuickBooks," and click "Next."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step12.png" alt="" /></p>
<p>You may click one of the options on the "Optional Configurations" steps. The default is "I can connect and would like to skip optional configuration/tests."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step13.png" alt="" /></p>
<p>Click "Next" to navigate to the Finish window.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step14.png" alt="" /></p>
<h3>&nbsp;</h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Testing your SQL Statement:</span></span></h3>
<p>Start the QODBC Support Wizard from the Windows Start menu.</p>
<p>Click "Test my SQL commands in QODBC directly."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step2-1.png" alt="" /></p>
<p>You may test connectivity and the data fetch on the "Test your SQL statements" steps. Click one of the five buttons, write your SQL statement, and click "Query."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/testconnection-01.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/testconnection-02.png" alt="" /></p>
<h3>&nbsp;</h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Detailed explanation of each check</span></span></h3>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QODBC latest version check</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - QODBC Latest Version check.png" alt="" /></p>
<p>This step will check if your machine is installed with the latest QODBC version available on the website.</p>
<p>If your QODBC version is lower than the latest version, it will show a warning/failure mark.</p>
<p>To fix the issue, click the "FIX" button, and you will be navigated to the QODBC website to download the latest QODBC version.</p>
<p>(Note: Internet connectivity is required.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QuickBooks check (Multiple versions of QuickBooks installation)</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - QB multiple version check.png" alt="" /></p>
<p>This step will check for multiple versions of QuickBooks installed on your machine.</p>
<p>If multiple QuickBooks are installed, you may not be able to use the QODBC Auto-login feature. This is because QODBC uses QuickBooks SDK to work with QuickBooks, and QODBC /QuickBooks SDK will not be able to judge from the company file path to determine which edition of QuickBooks to start.</p>
<p>For Example:</p>
<p>You have QuickBooks 2018 and QuickBooks 2020 installed on your machine.</p>
<p>You have created two DSNs to access the QuickBooks Company file 2018 and 2020 data.</p>
<p>When you auto-connect with the QuickBooks company file 2018, the QuickBooks SDK will not be able to identify which QuickBooks version to start. Hence, it may begin QuickBooks 2020 in the background (since QuickBooks 2020 is the latest QuickBooks version, it will start by default).</p>
<p>The solution is to keep the QuickBooks application running so that the QODBC / QuickBooks SDK does not have to load QuickBooks and can connect to an existing instance.</p>
<p>Or</p>
<p>If you are using only one of the QuickBooks versions, you may uninstall the non-required QuickBooks version.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QRemote Server firewall check</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - QRemote Server firewall check.png" alt="" /></p>
<p>This step will check whether incoming or outgoing connection requests from the QRemote Server port number are allowed via your Windows firewall.</p>
<p>If there is no entry of the QRemote Server port number 4500 in the firewall, then it will create one in the allowed list.</p>
<p>If you have selected disallowed in the firewall for connection requests coming from or to the QRemote Server port number 4500, then it will not alter those settings. You will need to change it manually.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QuickBooks and QODBC major version check</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - QB and QODBC major version check.png" alt="" /></p>
<p>This step will check whether your QODBC license OR version is higher than or equal to the QuickBooks version.</p>
<p>If your QODBC license or version is lower than the QuickBooks version, it will show a warning/failure mark.</p>
<p>For Example:</p>
<p>If you use QuickBooks 2020 and have QODBC version 2019, it will show a warning/failure mark.</p>
<p>Or</p>
<p>If you have QuickBooks and the QODBC version is 2020, the QODBC version is 2020, but your QODBC license is 2019, it will show a warning/failure symbol.</p>
<p>To fix this, you will need to activate the QODBC license and the version equal to or higher than QuickBooks.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Office 32/64-bit &ndash; QODBC license compatibility check</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - Office and QODBC license check.png" alt="" /></p>
<p>This step will check whether you have a compatible QODBC license to work with MS Office 64-Bit.</p>
<p>If you do not have a QODBC license and are using MS Office 64-Bit, it will show a warning/failure symbol.</p>
<p>Once you have purchased and activated the QODBC license, the validation check will change to a green tick mark.</p>
<p>If you don't want to use MS Office 64-bit or purchase a QODBC license, you may switch to MS Office 32-bit.</p>
<p>Click on the "FIX" button and follow the instructions.</p>
<p>Or</p>
<p>Please refer to the link below on how to convert 64-bit to 32-bit MS Office:</p>
<p><a href="http://qodbc.com/links/3000" target="new">http://qodbc.com/links/3000</a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QuickBooks check (Elevated Mode &ndash; Run as Administrator)</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard window - QB Run as administrator check.png" alt="" /></p>
<p>This step will show a warning/failure symbol if your QuickBooks application runs under elevated permissions or as "Run as administrator."</p>
<p>The QuickBooks application and your application, like Microsoft Excel, Microsoft Access, or your custom application, should be running under normal/standard user mode.</p>
<p>For further instructions, click on the "FIX" button and follow the instructions.</p>
<p>Or</p>
<p>You may navigate to the following link:</p>
<p><a href="http://qodbc.com/links/2529" target="New">http://qodbc.com/links/2529</a></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Optional Configurations and Tests:</span></span></h3>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Set up Auto-login in QuickBooks</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - configuration options.png" alt="" /></p>
<p>This is an optional step.</p>
<p>This will help you create a QODBC DSN for Auto-login.</p>
<p>QODBC Support Wizard can create a new DSN and configure it to&nbsp;auto-login to QuickBooks.</p>
<p>Click the "Browse" button, provide a DSN Name (in case you want to change the auto-generated DSN name), and click "Create a new DSN."</p>
<p>Start QuickBooks and log in to your QuickBooks company file as QuickBooks user "Admin."</p>
<p>Click "Test QODBC Connection"</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/optional-01.png" alt="" /></p>
<p>Company file path &ndash; Specify the QuickBooks company file path for which you wish to configure Auto-login.</p>
<p>You may use the "Browse" button to locate the QuickBooks Company file.</p>
<p>or</p>
<p>You must copy the QuickBooks company file path and paste it into this field. You can find the QuickBooks company file path in the QuickBooks UI (press F2 in QuickBooks UI).</p>
<p>DSN Name &ndash; Once you have specified the company file path, the QODBC Support Wizard will automatically generate a DSN name based on your QuickBooks company file name.</p>
<p>For Example:</p>
<p>Suppose the QuickBooks company file name is "sample_product-based business.qbw" (refer to the image).</p>
<p>The wizard will generate a DSN Name &ndash; "sample_product-based bu" (refer to the image).</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - Auto-login Example.png" alt="" /></p>
<p>If you want to change it, you may create a new DSN Name per your requirement.</p>
<p>Test QODBC connection &ndash; Click on this button to test the QODBC connection to connect to your QuickBooks company file.</p>
<p>Test QRemote connection - Click this button to test the QRemote connection to connect with your QuickBooks company file.</p>
<p>Repeat the above steps to create multiple DSNs if you have numerous companies.</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Rebuild the QODBC Optimizer file.</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - configuration options2.png" alt="" /></p>
<p>This is an optional step.</p>
<p>This will help you reset and rebuild your QODBC Optimizer files.</p>
<p>QODBC Support Wizard can reset and rebuild the QODBC optimizer file.</p>
<p>Click "Reset Optimizer Files" to delete the existing QODBC Optimizer file.</p>
<p>Click "Optimize All Tables" - This will start the process and rebuild the entire optimizer file for the opened QuickBooks company file.</p>
<p>This process may take a few hours (4 to 24 hours), depending on the number of records in your QuickBooks company file.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/optional-02.png" alt="" /></p>
<p>Reset optimizer files &ndash; When you click this button, your QODBC Optimizer file will be deleted from the Optimizer folder.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - OPT files.png" alt="" /></p>
<p>It will ask for confirmation. On confirmation, the optimizer file will be deleted.</p>
<p>If you have multiple QuickBooks company files, it will ask for confirmation for each optimizer file.</p>
<p>Once you have reset/deleted the optimizer file, you can optimize all or the selected QODBC data tables.</p>
<p>Optimize All Tables &ndash; If you want to optimize all tables, click on this button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - Optimizer.png" alt="" /></p>
<p>Or</p>
<p>Optimize Selected Tables &ndash; If you want to optimize selected tables, then click on this button.</p>
<p>From the list of tables, select the tables you want to optimize.</p>
<p>For Example:</p>
<p>To optimize Bill, Invoice tables, select Bill, Invoice tables, and then click "Optimize Selected Tables."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - Optimize tables.png" alt="" /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - Bill.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QRemote connectivity test</span>&nbsp;</h3>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-8/QODBC Support Wizard - configuration option QRemote.png" alt="" /></p>
<p>This is an optional step.</p>
<p>QODBC Support Wizard can also perform a "QRemote Test Connection" to check if QRemote is configured correctly and can connect.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/optional-03.png" alt="" /></p>
<h3>&nbsp;</h3>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Troubleshooting with QODBC Support Wizard:</span></span></h3>
<p>If you cannot connect to QuickBooks, select "No, I am not able to connect to QuickBooks" and click "Next."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step15.png" alt="" /></p>
<p>You may link one or more relevant topics from the FAQs and Knowledgebase, or search our knowledge base using the search button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step16.png" alt="" /></p>
<p>If you are still facing the issue, report the problem to us by creating a support ticket.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/qsw/v1-0-6/step17.png" alt="" /></p>
<p style="text-align: left;" align="center">Also, refer to&nbsp;<a title="Edit" href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3045" target="_blank">How to use QODBC Support Wizard - Remote Connectivity</a>.</p>]]></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] 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 w...]]></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 you 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 the 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/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 following message box about the 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 code below 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] How to insert Invoice using Excel - VBA]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2810]]></link>
<guid isPermaLink="false"><![CDATA[663772ea088360f95bac3dc7ffb841be]]></guid>
<pubDate><![CDATA[Mon, 01 Aug 2016 15:28:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to insert an invoice using Excel - VBA
Download Sample
In this example, we will show you how to insert an Invoice in QuickBooks using the data available in an Excel spreadsheet.
We have an Excel spreadsheet that contains invoice-related information...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to insert an invoice using Excel - VBA</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/Insert_Invoice.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In this example, we will show you how to insert an Invoice in QuickBooks using the data available in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We have an Excel spreadsheet that contains invoice-related information. The Excel spreadsheet has a CustomerRefFullName, RefNumber, TxnDate, InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineRate, InvoiceLineQuantity, InvoiceLineSalesTaxCodeRefFullName, and FQSaveToCache information. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Using this information, we will create an Invoice in QuickBooks, which has 4 line items. </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/InsertInvoiceVBA/step1.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 inserts the Invoice in QuickBooks.</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/InsertInvoiceVBA/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to ADD Invoice&mdash;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/InsertInvoiceVBA/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the code below for inserting an invoice in QuickBooks from an Excel spreadsheet.<br /><br /> <br /><br />Private Sub CommandButton1_Click() <br /><br />Dim sh As Worksheet<br />Dim row As Range<br />Dim RowCount As Integer<br />Dim CustomerRefFullName As String<br />Dim RefNumber As String<br />Dim TxnDate As Date<br />Dim InvoiceLineItemRefFullName As String<br />Dim InvoiceLineDesc As String<br />Dim InvoiceLineRate As Single<br />Dim InvoiceLineQuantity As Single<br />Dim InvoiceLineSalesTaxCodeRefFullName As String<br />Dim FQSaveToCache As Boolean<br />Dim connection As New ADODB.Connection<br />Dim sConnectString<br />Dim sSQL As String<br />Dim rs<br />Dim sMsg<br /> <br />RowCount = 0<br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br /><br />'' For 64-bit use this one--&gt;sConnectString = "DSN=QuickBooks Data 64-bit QRemote;" <br />sSQL = "SELECT * FROM InvoiceLine"<br />Set rs = New ADODB.Recordset<br />oConnection.Open (sConnectString)<br />rs.Open sSQL, oConnection, adOpenDynamic, adLockOptimistic<br />Set sh = ActiveSheet<br />For Each rw In sh.Rows<br /><br />If (RowCount &gt; 0), Then<br />CustomerRefFullName = sh.Cells(rw.Row, 1).Value<br />If (CustomerRefFullName = "") Then<br />Exit For<br /> <br />End If<br /><br />RefNumber = sh.Cells(rw.Row, 2).Value<br />TxnDate = sh.Cells(rw.Row, 3).Value<br />InvoiceLineItemRefFullName = sh.Cells(rw.Row, 4).Value<br />InvoiceLineDesc = sh.Cells(rw.Row, 5).Value<br />InvoiceLineRate = sh.Cells(rw.Row, 6).Value<br />InvoiceLineQuantity = sh.Cells(rw.Row, 7).Value<br />InvoiceLineSalesTaxCodeRefFullName = sh.Cells(rw.Row, 8).Value<br />FQSaveToCache = sh.Cells(rw.Row, 9).Value<br /> <br />rs.AddNew<br />rs("CustomerRefFullName") = CustomerRefFullName<br />rs("RefNumber") = RefNumber<br />rs("TxnDate") = TxnDate<br />rs("InvoiceLineItemRefFullName") = InvoiceLineItemRefFullName<br />rs("InvoiceLineDesc") = InvoiceLineDesc<br />rs("InvoiceLineRate") = InvoiceLineRate<br />rs("InvoiceLineQuantity") = InvoiceLineQuantity<br />rs("InvoiceLineSalesTaxCodeRefFullName") = InvoiceLineSalesTaxCodeRefFullName<br />rs("FQSaveToCache") = FQSaveToCache<br />rs.Update<br /> <br />End If<br /><br />RowCount = RowCount + 1<br />Next rw<br />sMsg = sMsg &amp; "Invoice Added!!!"<br />MsgBox sMsg<br /><br />rs. Close<br />oConnection.Close<br /> <br />End Sub <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/InsertInvoiceVBA/step4.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/InsertInvoiceVBA/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/InsertInvoiceVBA/step6.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">On clicking on the ADD Invoice button, the Invoice will be added to QuickBooks.<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/InsertInvoiceVBA/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Invoice Added.<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/InsertInvoiceVBA/step7.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can see the same in the QuickBooks Invoice that is added.<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/InsertInvoiceVBA/step8.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 B should have a gap of 15-30 seconds for switching operation.)</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This applies 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 the 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 following message box about the 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 an Excel sheet. </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 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/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 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 the 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 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 following message box about the 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 an Excel sheet 2. </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 code below 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 are required to close the company file and switch 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] Troubleshooting - Getting Error SOCKET Closed because of abnormal package]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2807]]></link>
<guid isPermaLink="false"><![CDATA[765d5fb115a9f6a3e0b23b80a5b2e4c4]]></guid>
<pubDate><![CDATA[Wed, 20 Jul 2016 15:42:09 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting Error SOCKET Closed because of an abnormal package 
Problem Description:
I am getting an error SOCKET Closed because of an abnormal package in the QRemote client. I am accessing QuickBooks Data from the remote machine over the...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting Error SOCKET Closed because of an abnormal package </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 getting an error SOCKET Closed because of an abnormal package in the QRemote client. I am accessing QuickBooks Data from the remote machine over the internet (WAN).</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;">This issue will occur when the QRemote client &amp; QRemote Server have different network types.The&nbsp;<br /><br />Windows component is internally checking the connection every 4 minutes. If there is no activity between the client &amp; server, the Windows component will close the connection after 4 minutes &amp; due to this, when the QRemote client tries to connect to the QRemote Server, it will not be able to connect, &amp; SOCKET is Closed because an abnormal package error occurred. <br /><br />To resolve this issue, you need to set the AutoClose value to 3 minutes for closing the broken connection in QRemote Server.<br /><br />You can find the QRemote Server running in the System Tray. If QRemote Server is not running, then you can run it from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step1.png" alt="" border="0" /><br /><br />Open QRemote Server. Go to File Menu -&gt; Settings -&gt; Advanced Tab. Set AutoClose broken connection after <strong>3 minutes</strong> &amp; apply the setting by clicking the Apply button.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step2.png" alt="" border="0" /><br /><br />After applying the settings. Please restart the QRemote Server &amp; test again. To continue QRemote Server, go to File Menu -&gt; Exit -&gt; :<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step3.png" alt="" border="0" /><br /><br />You will get a pop-up window with the message. Do you want to close the QRemote Server? Please click on OK to close QRemoteServer. <br /><br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step4.png" alt="" /></p>
<p><br />Please rerun QRemoteServer &amp; test. You can QRemoteServer from:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC Record Set Issue]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2806]]></link>
<guid isPermaLink="false"><![CDATA[c0f971d8cd24364f2029fcb9ac7b71f5]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 15:10:57 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC Record Set Issue 
Problem Description:
I am using the code below. It is returning records &amp; giving me the correct result. But if I change the query from "SELECT Name FROM customer" to "SELECT * FROM customer," it does not re...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC Record Set Issue </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 using the code below. It is returning records &amp; giving me the correct result. But if I change the query from "SELECT Name FROM customer" to "SELECT * FROM customer," it does not return any records &amp; giving me the incorrect result. I am getting the following error:<br /><br />[QODBC] Internal error<br />440: BOF or EOF is True, or the current record has been deleted. The requested operation requires a current record.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RecordSet/step1.png" alt="" border="0" /><br /><br /> <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 = "Driver={QODBC Driver for QuickBooks};DFQ=C:\QuickBooks\Maintenance.qbw;OpenMode=F;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</span></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;">To resolve the issue, you need to add the line below to your connection string.<br /><br />OptimizerAllowDirtyReads=N <br /><br />For Example: <br /><br />sConnectString = "Driver={QODBC Driver for QuickBooks};DFQ=C:\QuickBooks\Maintenance.qbw;OpenMode=F;OLE DB Services=-2;OptimizerAllowDirtyReads=N" <br /><br />After changing this, you can get the correct result.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to get Advanced Pricing Module in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2804]]></link>
<guid isPermaLink="false"><![CDATA[4ab52371762b735317125e6446a51e8f]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:48:54 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to get the Advanced Pricing Module in QODBC 
Problem Description:
We are using an advanced pricing module in QuickBooks and would like to know what tables we need to access to pull that information from the system.&nbsp;&nbsp;
So...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to get the Advanced Pricing Module in QODBC </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;">We are using an advanced pricing module in QuickBooks and would like to know what tables we need to access to pull that information from the system.&nbsp;</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;">Advanced pricing module data (Price Rules) is unavailable through the Intuit SDK, so they are unavailable through QODBC. <br /><br />QODBC is an ODBC driver for QuickBooks. It uses the QuickBooks SDK to communicate with QuickBooks, which means if Intuit doesn&rsquo;t expose one feature to the application in the SDK, QODBC cannot do it either.<br /><br />Also, Refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2717" target="_blank">How to export QuickBooks data not available in QODBC</a><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to close SQL Linked Server connection]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2803]]></link>
<guid isPermaLink="false"><![CDATA[64c31821603ab476a318839606743bd6]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:35:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to close SQL Linked Server connection 
Problem Description:
We are using QRemote with SQL Linked Servers with several different QuickBooks files. How can we close the connection to a QuickBooks file after the query has run, then o...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to close SQL Linked Server connection </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;">We are using QRemote with SQL Linked Servers with several different QuickBooks files. How can we close the connection to a QuickBooks file after the query has run, then open it to connect to another database?&nbsp;</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;">SQL Server Linked Server automatically handles disconnections. <br /><br /> SQL Server Linked Server does not have a disconnection command that can be fired/executed.<br /><br /> After executing the query, you will have to wait 30-45 seconds. SQL Server will automatically send the disconnect command if there is no activity on the linked server connection.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Reporting Ship To Addresses]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2802]]></link>
<guid isPermaLink="false"><![CDATA[2eb5657d37f474e4c4cf01e4882b8962]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:31:10 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Reporting Ship To Addresses 
Problem Description:
Has anyone run a report that will pull all the details for a range of invoices? In particular, I'm looking to run a report that shows the ship-to addresses for specific products over a...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Reporting Ship To Addresses </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;">Has anyone run a report that will pull all the details for a range of invoices? In particular, I'm looking to run a report that shows the ship-to addresses for specific products over a date range.</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 use the query below to get the ship-to addresses for particular products over a date range. <br /><br />Select InvoiceLineItemRefFullName, RefNumber, TxnDate, ShipAddressAddr1, ShipAddressAddr2, ShipAddressAddr3, ShipAddressAddr4, ShipAddressAddr5, ShipAddressCity, ShipAddressState, ShipAddressPostalCode, ShipAddressNote from InvoiceLine where TxnDate &gt;= {d'2009-01-01'} and TxnDate &lt;= {d'2009-03-01'} and (InvoiceLineItemRefFullName = 'Cabinets' or InvoiceLineItemRefFullName = 'Window') order by InvoiceLineItemRefFullName, RefNumber, TxnDate.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ShipTo/step1.png" alt="" border="0" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Troubleshooting - Code differences between QODBC Desktop and QODBC Online]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2800]]></link>
<guid isPermaLink="false"><![CDATA[0fc170ecbb8ff1afb2c6de48ea5343e7]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:15:00 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Code differences between QODBC Desktop and QODBC Online 
Problem Description:
I have an MS Access application using QODBC to connect to desktop QuickBooks. Can I use the QODBC Online driver to connect to QuickBooks Online without chan...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Code differences between QODBC Desktop and QODBC Online </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 have an MS Access application using QODBC to connect to desktop QuickBooks. Can I use the QODBC Online driver to connect to QuickBooks Online without changing my MS Access code?&nbsp;</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 Online is a different product from the QODBC Desktop driver. So you cannot use the QODBC Desktop driver with QuickBooks Online. It would be best if you used the QODBC Online driver to connect to QuickBooks Online. <br /><br />Most of the Tables, table columns, reports, report columns &amp; report parameters in QuickBooks Desktop &amp; Online are the same. But not all the tables, reports &amp; fields available in QuickBooks desktop are available in QuickBooks Online. You might have to change a few areas to match QuickBooks Online. You need to refer to QODBC Online reports/tables/fields &amp; make changes in your code.<br /><br />Please refer <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2647" target="_blank">Difference between QODBC for QuickBooks Desktop and Online</a> &amp; make necessary changes in your code &amp; use the code with QODBC Online.</span></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, code, QODBC Online, QODBC Desktop</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Connection Serial, Limitation , Queue and upper limit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2799]]></link>
<guid isPermaLink="false"><![CDATA[0d9095b0d6bbe98ea0c9c02b11b59ee3]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:11:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Connection Serial, Limitation, Queue, and Upper Limit
Problem Description:
How many concurrent connections does the Server edition support? Is the product QuickBooks version specific, requiring additional purchases with each version? ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Connection Serial, Limitation, Queue, and Upper Limit</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;">How many concurrent connections does the Server edition support? <br /><br />Is the product QuickBooks version specific, requiring additional purchases with each version? AKA. Upgrading from V15 to V16?</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;">There is no limit on QODBC for the concurrent connection, but the more connections, the more QuickBooks has to work. QuickBooks SDK will process all the requests in a sequence, so if you have three connections and three queries going at the same time, the SDK will execute them in sequence. <br /><br />QODBC license is licensed for QuickBooks Version(Year). E.g., If you have QODBC licensed for 2015, you can use QODBC with QuickBooks 2015,2014,2013, and so on, but not with QuickBooks 2016.<br /><br />You can install QODBC v15 and v16 with no upgrade cost. Upgrade cost is only applicable when your license does not match the year.<br /><br />For Example: <br /><br />If you have QODBC licensed for 2015 &amp; you are using QODBC v15 &amp; QuickBooks 2015, you can install QODBC v16 and use it with QuickBooks 2015.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2785]]></link>
<guid isPermaLink="false"><![CDATA[5be278a9e02bed9248a4674ff62fea2c]]></guid>
<pubDate><![CDATA[Tue, 21 Jun 2016 15:21:17 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks
Intuit is reinforcing existing security features that help protect QuickBooks customers&rsquo; sensitive information. Refer: Intuit's News: Changes to the Integrated A...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Intuit is reinforcing existing security features that help protect QuickBooks customers&rsquo; sensitive information. <br />Refer: Intuit's News: <a href="https://developer.intuit.com/hub/blog/2016/06/17/changes-to-the-integrated-application-authentication-for-quickbooks-desktop-users" target="_blank">Changes to the Integrated Application Authentication for QuickBooks Desktop users</a><br /> <br /><br />As a result of this effort, Intuit is delivering an update that impacts third-party applications that connect to QuickBooks using the QuickBooks SDK.<br /><br />A new file specific to a Windows user on a given machine is created on user login that provides access to an SDK app in QuickBooks. <br /><br />The implementation of this update will require customers to re-enter their login credentials &amp; authorize the application(i.e., QODBC) at QuickBooks. <br /><br />For Example, you have four Windows users. All four Windows users use QODBC via Microsoft Excel, Access, Crystal, or other applications. You will need to authorize EACH application from all 4 Windows users. That means you will need to log in to the 1st Windows user, endorse all the applications that will be using QODBC, then log in to the 2nd Windows user and authorize all the applications that will be using QODBC. This is because Intuit's LGB file, which was common earlier, has not changed to a new method, and integration information will be stored for each Windows user separately.<br /><br />The above is applicable for a Single machine, Terminal Services(Remote desktop connection), or Workstation(s). <br /></span></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;"> Get the following errors from the QODBC driver:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">ERROR [00000] [QODBC] QuickBooks Begin Session Failed. Error = 8004041d,80040418. This application cannot log into this QuickBooks company data file automatically. The QuickBooks administrator can grant permission for automatic login through the Integrated Application preferences.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Test connection to QuickBooks - FAILED: "[QODBC] QuickBooks Begin Session Failed. Error = 8004041a. This application does not have permission to access this QuickBooks company data file. The QuickBooks administrator can grant access permission through the Integrated Application preferences."<br /></span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Error8004041d/Step1.png" alt="Step.png" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Error8004041d/Error.png" alt="Error.png" /></p>
<h3><strong><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution 1:</span></strong></h3>
<p>&nbsp;</p>
<p>Step 1: Launch QuickBooks and Open the Company File</p>
<p>Open QuickBooks Desktop.</p>
<p>&nbsp;</p>
<p>Log in to the desired company file using the QuickBooks user "Admin".</p>
<p>&nbsp;</p>
<p>Log in to the QuickBooks user "admin" is required to authorize the connection to the QuickBooks company file.</p>
<p>This is a one-time activity for each new application you want to connect to QuickBooks Data.</p>
<p>&nbsp;</p>
<p>Step 2: Test connection using QODBC 32-Bit Test Tool</p>
<p>Go to Start &rarr; QODBC Driver for QuickBooks &rarr; QODBC 32-Bit Test Tool.</p>
<p>&nbsp;</p>
<p>In the QODBC Test Tool,&nbsp;</p>
<p>Select DSN: QuickBooks Data</p>
<p>Click the "Connect" button.</p>
<p>&nbsp;</p>
<p>QuickBooks may prompt you to authorize access: (optional)</p>
<p>If prompted, choose &ldquo;Yes, always; allow access even if QuickBooks is not running&rdquo;.</p>
<p>Select the Admin user from the dropdown (if applicable).</p>
<p>&nbsp;</p>
<p>Click Continue &rarr; Done.</p>
<p>&nbsp;</p>
<p>If the connection is successful, you can optionally run a test query (e.g., SELECT * FROM Customer).</p>
<p>Click "Disconnect" to close the connection.</p>
<p>&nbsp;</p>
<p>Step 3: Test connection using QODBC 64-Bit Test Tool</p>
<p>Go to Start &rarr; QODBC Driver for QuickBooks &rarr; QODBC 64-Bit Test Tool.</p>
<p>&nbsp;</p>
<p>In the QODBC Test Tool,&nbsp;</p>
<p>Select DSN: QuickBooks Data</p>
<p>Click the "Connect" button.</p>
<p>&nbsp;</p>
<p>This should successfully establish a 64-bit connection. You may not be prompted for permission, as it has been granted in Step 2.</p>
<p>&nbsp;</p>
<p>Once confirmed, click "OK" or "Disconnect" to close the session.</p>
<p>&nbsp;</p>
<p>Step 4: Connect Using Your Application</p>
<p>In your application (e.g., PHP, .NET, Excel, Access, etc.), use the DSN name "QuickBooks Data" to establish a connection.</p>
<p>QuickBooks may prompt you to authorize access: (optional)</p>
<p>If QuickBooks does not ask for authorization, your application might already be authorized. You can run a few SQL statements/queries to verify that the connection is successful.</p>
<p>If you are unable to connect, please ensure you have logged in to the QuickBooks company file as the QuickBooks user "admin."</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><strong><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution 2:</span></strong></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to follow the steps below to reauthorize QODBC for QuickBooks.<br />1. Log in to Windows, Open QuickBooks &amp; log in to the company file as Admin.<br />2. Switch Company File to Single User Mode.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step1.png" alt="" border="0" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3. Connect using your application. It should pop up the Data Access Certificate on QuickBooks. Please accept the Certificate. QuickBooks issues a Certificate for each application, so you need to get the Certificate for all applications that you use with QuickBooks.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step2.png" alt="" border="0" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step3.png" alt="" border="0" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">4. <strong>You must log in to each Windows user accessing QuickBooks Data using QODBC.</strong><br /> <strong>If Windows User/Work Station changes, you must reauthorize the application using the above steps.</strong></span></p>
<p>If the company file has Personally Identifiable Information (PII) in QuickBooks, users must log in with a password; the SDK app will only be allowed to connect once the login has been completed for that user.&nbsp;</p>
<p>Customers will be instructed to set up a strong password when logging in. Customers should use unique letters and numbers in a password, not essential words that can easily be found online or in the dictionary.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Can I use QODBC with QBB ( QuickBooks backup ) file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2781]]></link>
<guid isPermaLink="false"><![CDATA[ae587cfeea5ac21a8f1c1ea51027fef0]]></guid>
<pubDate><![CDATA[Fri, 27 May 2016 13:52:43 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Can I use QODBC with a QBB ( QuickBooks backup ) file 
Problem Description:
I am trying to find a way to pull data from a . QBB file without having to restore the. QBB file and going through QuickBooks. Is QODBC capable of doing so? I...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Can I use QODBC with a QBB ( QuickBooks backup ) file </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 find a way to pull data from a . QBB file without having to restore the. QBB file and going through QuickBooks. <br /><br />Is QODBC capable of doing so? I watched a few videos, and it appeared that all the files used were regular company files.</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;"> It is impossible to pull data from a . QBB file without restoring the. QBW file and going through QuickBooks because the QuickBooks SDK does not provide this feature. <br /><br />The only way that QuickBooks allows us to access any data is if a QuickBooks session runs on the machine with the company file loaded. <br /><br />QODBC is an ODBC driver for QuickBooks. It uses the QuickBooks SDK to communicate with QuickBooks, which means if Intuit doesn&rsquo;t expose one feature to the application in the SDK, QODBC cannot do it either.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Fai...]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2780]]></link>
<guid isPermaLink="false"><![CDATA[d47844673f2db74d78da8687d794523d]]></guid>
<pubDate><![CDATA[Tue, 24 May 2016 07:44:39 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Failed. Error - Unauthorized-401
Problem Description:
I was able to use QODBC Online. Sudde...]]></description>
<content:encoded><![CDATA[<h2 style="text-align: center;"><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Failed. Error - Unauthorized-401</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 was able to use QODBC Online. Suddenly, I got the following error when I tried to connect to QuickBooks Online using QODBC Online. It was working properly&mdash;no known changes to Windows or QODBC. Begin Session Failed. S0000 00000 [QODBC] QuickBooks Begin Session Failed. Error - Unauthorized-401 - - Fault Exception of type: AUTHENTICATION has been generated.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UnAuthorized401/step1.png" alt="" border="0" /><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;">The authorized access token for QuickBooks Online will remain active for 180 days. A privileged access token expires after 180 days. When this occurs, responses to calls to QuickBooks Data Services and the QuickBooks Online API indicate that the access token is invalid. <br /><br />So, you need to reauthorize/reconnect QODBC Online at QuickBooks Online to resolve the issue.<br /><br />Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2659" target="_blank">How to Reconnect QODBC Online with QuickBooks Online Edition</a>.</span></p>
<h3>&nbsp;</h3>
<p>Please follow the steps below.</p>
<p><br />1) "Disconnect from QuickBooks" 32-Bit.<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click the "Disconnect from QuickBooks" button.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2780/2023-04-19 19_46_28.png" alt="" /><br /><br />2) "Disconnect from QuickBooks" 64-Bit.<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 64-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 64-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click the "Disconnect from QuickBooks" button.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2780/2023-04-19 19_44_17.png" alt="" width="594" height="421" /><br /><br /><br />3) Close all the applications.<br /><br />4) Connect to QuickBooks:</p>
<p>Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click "Connect to QuickBooks"</p>
<p>Please refer to&nbsp;<a href="https://qodbc.com/links/2659" target="_blank">https://qodbc.com/links/2659</a><br /><br />5) Use the QODBC Online 32-Bit Test Tool to test the connectivity.<br /><br /><br />6) Export the connection key from "QuickBooks Online Data" DSN of type 32-bit&nbsp;<br /><br />Please use the DSN "QuickBooks Online Data" of type 32-bit to export the connection key:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure"&gt;&gt; Switch to "General" tab &gt;&gt; Click on "Export Connection key" button to the Export key.</p>
<p>7) Import&nbsp;the connection key from the above step&nbsp;to the 64-bit DSN.</p>
<p><br />Please use the DSN "QuickBooks Online Data" of type 64-bit using 64-Bit ODBC Data Source.<br />You can import the connection key:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 64-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; "QuickBooks Online Data" of type 64-bit &gt;&gt; Click "configure"&gt;&gt; Switch to General tab, click on "Import Connection key" button.<br /><br />Refer to the knowledgebase article at&nbsp;<a href="https://qodbc.com/links/2658" target="_blank">https://qodbc.com/links/2658</a>&nbsp;<strong>Section</strong> "Import / Export connection key:"<br /><br />8) Use the QODBC Online 64-Bit Test Tool to test the connectivity.<br /><br /><br /></p>
<p>Tags: QuickBooks Online, QBO, Authorization, Authentication, 401, Begin Session Failed</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - DSN Connection Not Consistent across multiple computers]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2778]]></link>
<guid isPermaLink="false"><![CDATA[fd4f21f2556dad0ea8b7a5c04eabebda]]></guid>
<pubDate><![CDATA[Mon, 23 May 2016 14:28:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - DSN Connection Not Consistent across multiple computers 
Problem Description:
I have a pass-through query for access:Select * from ItemThe connection string is as follows:ODBC;DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;DFQ=x:\Q...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - DSN Connection Not Consistent across multiple computers </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 have a pass-through query for access:<br /><br />Select * from Item<br /><br />The connection string is as follows:<br /><br />ODBC;DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;DFQ=x:\QuickBooks\MyQBcompanyfile.qbw;OpenMode=F;OLE DB Services=-2;OptimizerOn=No;<br /><br />This works on pc #1 if the QuickBooks file is open OR closed (desired behavior).<br /><br />This ONLY works on pc #2 if the QuickBooks File is closed.<br /><br />Why is it operating differently?? I am using the same access file on both pc.<br /><br />I need this to be running on some computers in the office. Some computers are allowed to use QuickBooks, and some are not, so I need a flexible DSN connection string that will work for both circumstances.&nbsp;</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 verify the company file path from the non-working machine. The other computer might be accessing the company file mapped via network name, i.e., \\servername\folder\ (e.g., \\QuickBooksfileserver\QuickBooks\MyQuickBookscompanyfile.qbw ) when the connection string is using a mapped drive, i.e., x:\ <br /><br />Please start QuickBooks from the non-working machine, log in&nbsp;to the company file, press F2, verify if the file path is the same in the connection string &amp; test again.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC Logging in with Wrong User account]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2777]]></link>
<guid isPermaLink="false"><![CDATA[b4a721cfb62f5d19ec61575114d8a2d1]]></guid>
<pubDate><![CDATA[Mon, 23 May 2016 14:26:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC Logging in with the Wrong User Account 
Problem Description:
I am using MS Access. I have the integrated application certificate set up correctly (see screenshot). The username for this certificate is "odbc." QuickBooks is close...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC Logging in with the Wrong User Account </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 using MS Access. I have the integrated application certificate set up correctly (see screenshot). The username for this certificate is "odbc."<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/WrongUser/step1.png" alt="" border="0" /><br /><br />QuickBooks is closed.<br /><br />Ms Access file connects to QuickBooks via the connection string:<br /><br />"ODBC;Driver={QODBC Driver for QuickBooks};DFQ=D:\QuickBooks\MyCompanyFile.qbw;OptimizerOn=No;IAppAutomaticLogin=n;OpenMode=F;OLE DB Services=-2;"<br /><br />Connection works.<br /><br />Another user tries to log in as "Admin" into QuickBooks on another computer, but it fails and says already logged in. See screenshot.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/WrongUser/step2.png" alt="" border="0" /><br /><br />Why is QODBC using the "Admin" account?? I was expecting it to use the "odbc" account. <br /><br /> </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 need to remove QODBC integrated application entries in QuickBooks &amp; companyfilename. lgb and delete it to resolve the issue. <br /><br />Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2406" target="_blank">Connection Lost Between QODBC and QuickBooks. QuickBooks Asking for Password</a> for more details. <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How do I see backorder items that have been invoiced but not shipped]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2776]]></link>
<guid isPermaLink="false"><![CDATA[6244b2ba957c48bc64582cf2bcec3d04]]></guid>
<pubDate><![CDATA[Mon, 09 May 2016 10:04:05 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How do I see backorder items that have been invoiced but not shipped 
Problem Description:
Could someone kindly provide me with a sample, or is there a stored procedure that would allow me to only pull out back-ordered invoices from t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How do I see backorder items that have been invoiced but not shipped </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;">Could someone kindly provide me with a sample, or is there a stored procedure that would allow me to only pull out back-ordered invoices from the invoice table? <br /><br />If a customer orders some items, we create an invoice. Then, if some things are back-ordered, when the packing slip is made, it shows they were not sent out, and that item is back-ordered. I was looking for a query or an SP that would lead me to only invoices that have not been completely shipped, or all the items in backorder.</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;">All you need to do is use the ItemInventory table to pick up the quantity on hand and compare it with the ordered quantity ordered and invoiced to date (invoiced or not), and call the column "Qty to Pick." <br /><br />Something along the lines of: <br /><br />SELECT SalesOrderLine.SalesOrderLIneItemRefFullName as Type, SalesOrderLine.TxnDate as Date, SalesOrderLine.DueDate, SalesOrderLine.RefNumber as Num, SalesOrderLine.CustomerRefFullName as Name, SalesOrderLine.SalesOrderLineQuantity as "Qty Ordered," SalesOrderLine.SalesOrderLineInvoiced as "Qty Invoiced," (SalesOrderLine.SalesOrderLineQuantity - SalesOrderLine.SalesOrderLineInvoiced) as "Qty to Pick," ItemInventory.QuantityOnHand as "Qty Available," ItemInventory.QuantityOnOrder as "Qty on Back Order" FROM SalesOrderLine, ItemInventory where SalesOrderLine.SalesOrderLineItemRefListID = ItemInventory.ListID and SalesOrderLine.IsFullyInvoiced = FALSE and SalesOrderLine.SalesOrderLineInvoiced &lt; SalesOrderLine.SalesOrderLineQuantity <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/BOItem/step1.png" alt="" border="0" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Trying to update ItemInventoryAssemblyLine table ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2775]]></link>
<guid isPermaLink="false"><![CDATA[4a5876b450b45371f6cfe5047ac8cd45]]></guid>
<pubDate><![CDATA[Mon, 09 May 2016 09:59:14 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Trying to update the ItemInventoryAssemblyLine table 
Problem Description:
All our products are Inventory Assemblies. I am using MS Access connected to QuickBooks via QODBC. I am using queries in MS Access to load/synchronize Inventor...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Trying to update the ItemInventoryAssemblyLine 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;">All our products are Inventory Assemblies. I am using MS Access connected to QuickBooks via QODBC. I am using queries in MS Access to load/synchronize Inventory data from my master inventory list, which is kept outside of QuickBooks, to make sure QuickBooks has the latest inventory data.<br /><br />I have successfully inserted ItemInventoryAssemblyLine entries, but now I'm trying to update the Quantity information on parts for existing assemblies. <br /><br />To do the update, I need to join a local table I've created from the external inventory data, which I've loaded with the ListID, ItemInventoryAssemblyLnItemInventoryRefListID, and FQPrimaryKey values from ItemInventoryAssemblyLine, in order to facilitate joins. <br /><br />Here's my SQL (from MS Access Query Designer): <br /><br />UPDATE ItemInventoryAssemblyLine INNER JOIN Assemblies_with_PK ON ItemInventoryAssemblyLine.FQPrimaryKey = Assemblies_with_PK.FQPrimaryKey SET ItemInventoryAssemblyLine.ItemInventoryAssemblyLnQuantity = [Qty]; <br /><br />"Qty" is a column in the local table with the updated Quantity that I'd like to edit into the QuickBooks table. <br /><br />When I run this query, I get the dreaded "Error parsing complete XML return string." error. I have tried alternatively joining on the combination of ListID and ItemInventoryAssemblyLnItemInventoryRefListID instead of FQPrimaryKey with the same result. <br /><br />I have updated Custom Fields in the parent ItemInventoryAssembly table using the same approach with no problems. <br /><br />Any help with this would be greatly appreciated!</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 update your QODBC to the latest QODBC version and test again.<br /><br />Please click <a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank">here</a> to get the latest QODBC version. <br /><br />If you are still getting the same error after updating the version, I kindly request you to please raise a support ticket to the QODBC Technical Support department by clicking <a href="http://support.flexquarters.com/esupport/index.php?/Tickets/Submit" target="_blank">here</a>.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] How to share/invite FLEXquarters Support team to QuickBooks Online company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2773]]></link>
<guid isPermaLink="false"><![CDATA[f565bb9efccaf6986443db0bf01018bc]]></guid>
<pubDate><![CDATA[Thu, 21 Apr 2016 11:50:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to share/invite the FLEXquarters Support team to the QuickBooks Online company file 
Problem Description:
How do I share/invite the FLEXquarters Support team to access my QBO company file?&nbsp;
Solution:
Please follow the steps below to share/in...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to share/invite the FLEXquarters Support team to the QuickBooks Online company file </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;">How do I share/invite the FLEXquarters Support team to access my QBO company file?</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 follow the steps below to share/invite the FLEXquarters Support team to the QuickBooks Online company file.<br /><br />1. You can share your QuickBooks Online company file connection key by exporting the connection key. <br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2658" target="_blank">Import / Export connection key</a> section for more details</span></p>
<p>2. Email the connection key to the FLEXquarters Support team.<br /><br />3. Log in to https://qbo.intuit.com/ using your credentials.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step1.png" alt="" /></p>
<p><br />4. Click on Company Name &amp; Manage Users.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step2.png" alt="" /></p>
<p><br />5. Go to the Manage Users section &amp; click on New.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step3.png" alt="" /></p>
<p><br />6. Choose user type, select Regular or custom user &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step4.png" alt="" /></p>
<p><br />7. Set the user's access rights, select All &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step5.png" alt="" /></p>
<p><br />8. Set the user's administrative rights. Select User management to "No," Company Information to "View Only," Subscription &amp; Billing to "View subscription information," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step6.png" alt="" /></p>
<p><br />9. Enter the FLEXquarters Support team Email address <strong>support@qodbc.com</strong>, First Name to "QODBC," the Last Name to "Support," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step7.png" alt="" /></p>
<p><br />Click Finish &amp; you're done.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step8.png" alt="" /></p>
<p><br />10. QODBC Support is listed under the Manage Users list as an Invited status.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step9.png" alt="" /></p>
<p><br />11. Once we accept the invitation, the status will change to Active.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step10.png" alt="" /></p>
<p><br />12. You can delete an invited user by selecting the user &amp; click on Delete.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step11.png" alt="" /></p>
<p><br />13. By clicking Invite Accountant, you can share/invite the FLEXquarters Support team to access the QuickBooks Online company file from the Accounting Firms section.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step12.png" alt="" /></p>
<p><br />14. Enter the FLEXquarters Support team Email address <strong>support@qodbc.com</strong>, First Name to "QODBC," the Last Name to "Support," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step13.png" alt="" /></p>
<p><br />Click Finish &amp; you're done.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step14.png" alt="" /></p>
<p><br />15. QODBC Support is listed under the Accounting Firms list as an Invited status.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step15.png" alt="" /></p>
<p><br />16. Once we accept the invitation, the status will change to Active.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step16.png" alt="" /></p>
<p><br />17. You can delete an invited user by selecting the user &amp; click on Delete.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step17.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<p>Tags: QuickBooks Online, QBO, QODBC Online</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] How to remove QODBC Related Certificates from Integrated Application under QuickBooks POS]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2767]]></link>
<guid isPermaLink="false"><![CDATA[f75526659f31040afeb61cb7133e4e6d]]></guid>
<pubDate><![CDATA[Mon, 11 Apr 2016 11:46:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to remove QODBC-related certificates from Integrated Applications under QuickBooks POS
Please follow the steps to remove QODBC-related certificates from the Integrated Application Under QuickBooks POS:
Try removing all the integrated application ent...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to remove QODBC-related certificates from Integrated Applications under QuickBooks POS</span></h2>
<p class="style1">Please follow the steps to remove QODBC-related certificates from the Integrated Application Under QuickBooks POS:</p>
<p class="style1">Try removing all the integrated application entries in QuickBooks POS again via File Menu -&gt; Preferences -&gt; Company -&gt; Integrated Applications Tab.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step1.png" alt="" width="501" height="366" /></p>
<p class="style1">Switch to Integrated Applications</p>
<p class="style1">To know which application uses "QODBC POS" to communicate with QuickBooks POS.</p>
<p class="style1">You can check it from the Application ID &amp; File Name.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step2.png" alt="" /></p>
<p class="style1">&nbsp;</p>
<p class="style1">To Remove, Select "QODBCPOS-APPLICATION," For Example, "QODBCPOS-MSACCESS.EXE," Click Remove and Save.</p>
<p class="style1">( If there are Multiple "QODBCPOS-APPLICATION" Listed, you may remove a single Integration at a time.)</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step3.png" alt="" /></p>
<p class="style1">&nbsp;</p>
<p class="style1">Exit QuickBooks POS.</p>
<p class="style1">Please start QuickBooks POS and log in again to your Company file.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use Between in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2764]]></link>
<guid isPermaLink="false"><![CDATA[98d8a23fd60826a2a474c5b4f5811707]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:39:19 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to use Between in QODBC 
Problem Description:
I need to use Between, in a range of dates, to return new customers in one period. I try this:  SELECT FullName FROM Customer Where TimeCreated Between {d'2007-12-18'} AND {d'2007-12-1...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to use Between in QODBC </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 need to use Between, in a range of dates, to return new customers in one period. I try this: <br /><br /> SELECT FullName FROM Customer Where TimeCreated Between {d'2007-12-18'} AND {d'2007-12-19'} AND SalesRepRefFullName='PD' <br /><br />Is the use of QODBC correct?</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;">The use of BETWEEN here is fine. It's just TimeCreated is a TIMESTAMP, not a date. It should be: <br /><br /> SELECT FullName FROM Customer Where TimeCreated Between {ts'2007-12-18 00:00:00.000'} AND {ts'2007-12-19 00:00:00.000'} AND SalesRepRefFullName='PD' </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I use wildcard (*) with Crystal Report and sp_report]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2761]]></link>
<guid isPermaLink="false"><![CDATA[566a9968b43628588e76be5a85a0f9e8]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:30:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I use a wildcard (*) with Crystal Report and sp_report 
Problem Description:
I am using the following SQL statement: sp_report JobProfitabilityDetail show AmountActualCost_Title, AmountActualRevenue_Title, AmountDifferenceActu...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I use a wildcard (*) with Crystal Report and sp_report </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 using the following SQL statement: <br /><br />sp_report JobProfitabilityDetail show AmountActualCost_Title, AmountActualRevenue_Title, AmountDifferenceActual_Title, Text, Label, AmountActualCost, AmountActualRevenue, AmountDifferenceActual parameters DateMacro = 'All', SummarizeColumnsBy = 'TotalOnly' , EntityFilterFullNameWithChildren = '{?customer}' <br /><br />I then create a customer parameter in the parameter list. The customer name is pretty long, so is there a way to search by using a wildcard, i.e., *50-126*, rather than having to enter: <br /><br />Customer name. location.50-126.projectdescription??</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;">Sorry, you can't use wildcards, and you need to use the full name path for a specific job: <br /><br />sp_report JobProfitabilityDetail parameters DateMacro = 'All', EntityFilterFullNameWithChildren = 'Abercrombie, Kristy:Remodel Bathroom', SummarizeColumnsBy = 'TotalOnly' <br /><br />If you wanted, for example, to compare all Remodel Bathroom (or 50-126) jobs for all customers, you would need to run the Job Profitability detail report for each customer to a data file (like an append query in MS Access) and report from the data file instead.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I get links between Estimate and Invoice using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2760]]></link>
<guid isPermaLink="false"><![CDATA[b0bef4c9a6e50d43880191492d4fc827]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:25:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I get links between Estimate and Invoice using QODBC 
Problem Description:
I've explored the related fields, but cannot determine how a line on the invoice is linked to the estimate. I'm designing a report that needs to see th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I get links between Estimate and Invoice using QODBC </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've explored the related fields, but cannot determine how a line on the invoice is linked to the estimate. <br /><br />I'm designing a report that needs to see the item on the estimate and how much has been billed out and retained for each item (as well as other related data).</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 refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/75/50/how-to-convert-a-sales-order-into-an-invoice" target="_blank">How to convert a Sales Order into an Invoice</a> for the basics of how an Estimate can be made into a Sales Order and an Invoice. <br /><br />The InvoiceLinkedTxn table shows Payments, Credit Memos, and Deposit Line Items, but doesn't include reimbursements, transfers from Sales Orders, or Estimates (depending on your QuickBooks version). But in QuickBooks, you probably understand it better as the History of an Invoice. The number of InvoiceLinkedTxn lines to Invoice lines won't match where multiple payments or deposits have been made. <br /><br />To better understand, refer to: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2130" target="_blank">How to use InvoiceLinkedTxn query using QODBC</a>.<br /><br />While the EstimateLinkedTxn table shows all the transfers to Invoice or Sales Order; but does NOT include any transfers to PO.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I get Last Items sold to customer details]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2759]]></link>
<guid isPermaLink="false"><![CDATA[35c5a2cb362c4d214156f930e7d13252]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:22:39 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I get the Last Items sold to the customer's details 
Problem Description:
I created a report using a custom set with the customer as the parent and InvoiceLine as the child, giving me items ordered in the past. My problem is t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I get the Last Items sold to the customer's details </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 created a report using a custom set with the customer as the parent and InvoiceLine as the child, giving me items ordered in the past. <br /><br />My problem is that I only want the last time an item was ordered and want to eliminate some things, such as shipping.<br /><br />When I try to filter out items like shipping, it also takes out any invoice line items.<br /><br />I'm at a complete loss when it comes to getting only the last time an item was ordered.&nbsp;</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 get items ordered by a customer, in part name order, with the last date ordered first,t by using the below query:<br /><br />SELECT TxnDate, InvoiceLineItemRefFullName, sum(InvoiceLineQuantity) as Qty FROM InvoiceLine WHERE CustomerRefFullName='Cook, Brian: Kitchen' and InvoiceLineItemRefFullName is not null Group by InvoiceLineItemRefFullName, TxnDate Order by InvoiceLineItemRefFullName, TxnDate desc <br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sold/step1.png" alt="" border="0" /><br /><br />Or for the last time an item was ordered by a customer:<br /><br />SELECT Top 1 TxnDate, InvoiceLineItemRefFullName, sum(InvoiceLineQuantity) as Qty FROM InvoiceLine WHERE CustomerRefFullName='Cook, Brian:Kitchen' and InvoiceLineItemRefFullName = 'Appliance' Group by InvoiceLineItemRefFullName, TxnDate Order by InvoiceLineItemRefFullName, TxnDate desc<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sold/step2.png" alt="" border="0" /><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2756]]></link>
<guid isPermaLink="false"><![CDATA[9a11883317fde3aef2e2432a58c86779]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:13:11 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice 
Problem Description:
We need to bill all payroll costs to various customers. Payroll costs are defined as all of the following: 1. Employee's gross salary 2. Company share of ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice </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;">We need to bill all payroll costs to various customers. Payroll costs are defined as all of the following:<br /><br /> 1. Employee's gross salary<br /> 2. Company share of social security<br /> 3. Company share of Medicare<br /> 4. Federal unemployment taxes paid<br /> 5. Texas unemployment taxes paid<br /> When a payroll run is processed, all the above costs are coded to the appropriate customer, and QuickBooks flags them as "billable" at this point.<br /><br /> To bill the payroll costs, we go to the Customers menu and select "Invoice for Time and Expenses." All employee costs outlined above are then brought up in a list. We check the items we want to bill (all of them) and then select "create an invoice."<br /><br /> The above five items are listed separately when the invoice is created, but valuable descriptions are not displayed. We need the invoice to record the employee's name and the nature of the expense associated with each cost being billed out. E.g.<br /><br /> John Doe Gross Salary $500<br /> John Doe Company Social Security $25<br /> Etcetera<br /> We have tried using various invoice forms, and these fields are never available to select for inclusion.<br /><br /> We can see the fields needed in the payroll module by viewing the details of the employee check. However, we have not been successful in finding these fields in the QuickBooks tables so that we can pull them into the invoice using your software. If I can see the data in the tables, I am confident I can extract it using QODBC and SQL to format it into a suitable report.<br /><br /> Thanks in advance for any help.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step1.png" alt="" border="0" /><br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step2.png" alt="" border="0" /><br /><br /> </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 get these details from the PayrollTransactionDetail report:<br /><br /> For this example, PayCheck: <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step3.png" alt="" border="0" /><br /><br /> You can find all the details using the following:<br /><br /> sp_report PayrollTransactionDetail show PayrollItem, WageBase, Credit, Debit, Amount parameters DateFrom = <strong>{d'2007-12-01'}</strong>, DateTo=<strong>{d'2007-12-01'}</strong>, IncludeAccounts = 'All,' ReportDetailLevelFilter = 'AllExceptSummary,' EntityFilterFullNameWithChildren=<strong>'Dan T. Miller'</strong> Where PayrollItem is not NULL<br /><br /> Change the bold entries to the employee and paycheck date you're after<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step4.png" alt="" border="0" /><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Where is the Bin Location for Items stored?]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2755]]></link>
<guid isPermaLink="false"><![CDATA[17693c91d9204b7a7646284bb3adb603]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:09:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Where is the Bin Location for Items stored?
Problem Description 1:
I am using QuickBooks Enterprise with Advanced Inventory enabled.
I am trying to find where the bin location for items is stored in QuickBooks through QODBC.
Problem...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Where is the Bin Location for Items stored?</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 am using QuickBooks Enterprise with Advanced Inventory enabled.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to find where the bin location for items is stored in QuickBooks through QODBC.</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 looking for the following tables in QuickBooks Enterprise Edition&nbsp;16 via QODBC (Linked Server) SQL server, with no luck: <br /><br />We can find the table for the Inventory Site, but there is no distinction for BIN. They are all listed equally in the table. (tbl = InventorySites) <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;">You can find the inventory site list &amp; location below the tables:<br /><br />BillItemLine, PurchaseOrderLine, InvoiceLine, SalesOrderLine, CheckItemLine, CreditCardCreditItemLine, CreditMemoLine, SalesReceiptLine, CheckItemLine, CreditCardChargeItemLine, BuildAssembly, BuildAssemblyComponentItemLine, TransferInventoryLine, InventoryAdjustment, InventoryAdjustmentLine &amp; ItemSites.<br /></span></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 linking 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 "s 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, Company Name, 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 records below 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 a 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 to the code 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 invoice lines. We will import these fields into QuickBooks using VBA. You can see the records below 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 a 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 to the code 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-Online] How to create or configure a QODBC Online DSN]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2752]]></link>
<guid isPermaLink="false"><![CDATA[b2ea5e977c5fc1ccfa74171a9723dd61]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 09:46:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to create or configure a QODBC Online DSN
Problem Description:
I have one QuickBooks Online login, which provides access to multiple QuickBooks Online companies. When I initially configured the connection, I selected one of the clients to which I h...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to create or configure a QODBC Online DSN</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 have one QuickBooks Online login, which provides access to multiple QuickBooks Online companies. <br /><br />When I initially configured the connection, I selected one of the clients to which I have access (Company A). The connection worked great, and I got the data I needed. Now I want to export data for another client of mine (Company B), but I'm unsure how to reconfigure it to pull from their database, not Company A's.</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 create a new DSN company-wise &amp; authorize your company file, and use it in your configuration. <br /><br />For Example, create a new DSN for Company A &amp; use Company A's DSN for accessing Company A's data. <br /><br />In the same way, you can create a DSN for Company B &amp; use Company B's DSN to access Company B's data. <br /><br />You can repeat this for multiple company files. <br /><br />Please refer to the example below, which shows creating a QODBC Online DSN company-wise.</span></p>
<h2><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Launch QODBC Online Data Source Configuration</span></strong></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locate the <strong>QODBC Driver for the QuickBooks Online&nbsp;</strong>program group on your desktop. Click on the <strong>Configure QODBC Online Data Source</strong> icon to create or configure a QODBC Online Data Source Name (DSN).</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/OnlineDSN/step1.png" alt="" /></span></p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create&nbsp;a New DSN </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click on the <strong>System DSN</strong> tab to create a DSN that both Windows applications and services can call. Click on the <strong>Add</strong> button to create a new DSN.</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/OnlineDSN/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>QODBC Driver for QuickBooks Online</strong> option and click on the <strong>Finish</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/OnlineDSN/step3.png" alt="" /></span></p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Configure the Created DSN </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter the Data Source Name as <strong>CompanyA</strong> and click Apply. <br /><br />Click <strong>Connect To QuickBooks</strong><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/OnlineDSN/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to authorize your company file to work with QODBC Online. <br /><br />During the authorization, select your Company file.</span>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For more details, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2659" target="_blank">How to Connect QODBC Online with QuickBooks Online Edition</a>.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once connected, you can use <strong>Excel</strong>, <strong>Access,</strong> or <strong>QODBC Online Test Tool</strong>&nbsp;or any other application, and use "CompanyA" instead of "QuickBooks Online Data." You should be able to connect and fetch data from QuickBooks Online.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can repeat the above steps for another company file (i.e., CompanyB, CompanyC, et.).</span></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, Configure&nbsp;online DSN, QODBC Online, connect company files, multiple</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to COMPUTE sum without COMPUTE clause]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2748]]></link>
<guid isPermaLink="false"><![CDATA[1006ff12c465532f8c574aeaa4461b16]]></guid>
<pubDate><![CDATA[Wed, 09 Mar 2016 13:09:53 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to COMPUTE sum without COMPUTE clause 
Problem Description:
The following selection gives me the correct data using DISTINCT, but how do I get a sum of it, which is what I need? Select distinct billtopayduedate, billtopayrefnumber...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to COMPUTE sum without COMPUTE clause </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;">The following selection gives me the correct data using DISTINCT, but how do I get a sum of it, which is what I need? <br /><br />Select distinct billtopayduedate, billtopayrefnumber, and bill.vendorreffullname, billtopayamountdue, assetaccountreffullname from bill nosync, bill pay nosync, billitemline nosync, item nosync where account to pay. billtopaytxnid = bill. tuned and bill.ispaid=false and bill. txnid = billitemline. txnid and BillItemLine.ItemLineItemRefListID = Item.ListID and assetaccountreffullname like '%inventory%.' <br /><br />I want my SELECT statement to return one number: a sum of all the records in "Bill to Pay" where one or more corresponding line items in the expense line or item line are for inventory.</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;">In SQL, we do sum(column) and group by, for example: <br /><br />SELECT Employee.PayrollInfoClassRefFullName, sum(Transaction.Amount) as Amount FROM Transaction, Employee where Transaction.EntityRefListID=Employee.ListID and Transaction.TxnType='Paycheck' and (Transaction.TxnDate &gt;= {d'2017-01-01'} and Transaction.TxnDate &lt; {d'2018-01-01'}) Group by Employee.PayrollInfoClassRefFullName<br /><br />To total all the BillToPay amounts, you do the following:<br /><br />Select sum(BillToPayAmountDue) as OpenAPBalance from BillToPay.<br /><br />To total all the BillToPay amounts involving stock (inventory) only and not expenses, you do the following:<br /><br />Select sum(BillToPayAmountDue) as OpenInvtBalance from BillToPay, BillItemLine where BillToPay.BillToPayTxnID = BillItemLine.TxnID and BillItemLine.ItemLineSeqNo = 1 <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How Do I List the Subtotal of Invoices within Date Range]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2739]]></link>
<guid isPermaLink="false"><![CDATA[56584778d5a8ab88d6393cc4cd11e090]]></guid>
<pubDate><![CDATA[Wed, 09 Mar 2016 12:27:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How Do I List the Subtotal of Invoices within the Date Range 
Problem Description:
I want to list the subtotal of all Invoices by a customer for not only that particular customer but all jobs assigned to that customer within a specifi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How Do I List the Subtotal of Invoices within the Date Range </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 list the subtotal of all Invoices by a customer for not only that particular customer but all jobs assigned to that customer within a specified date range. <br /><br />What QODBC SQL Statement would I use? <br /><br />This is what I have so far: <br /><br />SELECT SUM(Subtotal) AS gt FROM Invoice WHERE CustomerRefListId='30000-1166980720' AND (TxnDate&gt;={d'2006-12-24'} AND TxnDate&lt;={d'2007-01-23'}) <br /><br />But that will only get me the subtotal of invoices for the primary customer, but it doesn't get me the combined subtotal of all the invoices for each job under that customer. <br /><br />Is there a way to combine it all into one SQL Statement? Or do I have to use multiple statements and then manually combine all the totals?</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;">You can use the query below to get the Subtotal of Invoices Within the Date Range using QODBC. <br /><br />You can run this query: <br /><br />SELECT Invoice.CustomerRefFullName, Sum(Invoice.SubTotal) AS SumOfSubTotal FROM Invoice WHERE (((Invoice.TxnDate)&gt;={d'2007-01-01'})) and (((Invoice.TxnDate)&lt;{d'2007-12-01'})) GROUP BY Invoice.CustomerRefFullName<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Subtotal/step1.png" alt="" border="0" /> <br /><br />You can change the greater than or equal (&gt;=) and the less than (&lt;) dates to the date range you wish to use.<br /> <br /><br />If you want to get the SubTotal of all Invoices for Customer 2 and all the Customer 2 Jobs combined, I suggest you go straight to the QuickBooks reporting engine instead, which will add up and total things for you (including any credits). QuickBooks reports can be accessed using the QODBC stored report procedures: <br /><br />sp_report SalesByCustomerSummary show Text as Customer, Label as Job, Amount_1 as Total parameters DateFrom = {d'2007-01-01'}, DateTo= {d'2007-12-01'}, SummarizeColumnsBy = 'TotalOnly' <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Subtotal/step2.png" alt="" border="0" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] Troubleshooting - Cannot connect to my QuickBooks Online Sandbox]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2737]]></link>
<guid isPermaLink="false"><![CDATA[9ff7c9eb9d37f434db778f59178012da]]></guid>
<pubDate><![CDATA[Tue, 23 Feb 2016 08:11:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - I cannot connect to my QuickBooks Online Sandbox 
Problem Description:
I am trying to do some testing and now have access to a QuickBooks Online Sandbox company. I have tried to connect to it in two different ways.1. If I "Connect to ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - I cannot connect to my QuickBooks Online Sandbox </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 do some testing and now have access to a QuickBooks Online Sandbox company. I have tried to connect to it in two different ways.<br /><br />1. If I "Connect to QuickBooks" on the QODBC Driver for QuickBooks Online Setup Screen without checking the "Sandbox Company" checkbox, I can connect to QuickBooks Online, but cannot see any data from my QuickBooks Online Sandbox company. <br /><br />2. If I "Connect to QuickBooks" on the QODBC Driver for QuickBooks Online Setup Screen with the "Sandbox Company" checkbox checked, it goes through the QuickBooks Online login screen and presents the Authorize button on the next screen. When I click on Authorize, it closes that screen and opens a new one, which also requests Authorize. When I click Authorize on that screen, too, it then reports "Connection Complete," but it never loads the Access Token, and the "Connect to QuickBooks" button does not toggle to "Disconnect from QuickBooks." When I try to access my Sandbox Company tables using VBDemo, I get the error message shown in the attached file named "Error Message." <br /><br />I am getting the following error:<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sbox/step1.png" alt="" border="0" /><br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sbox/step2.png" alt="" border="0" /><br /><br />Also, I have noticed the following entries in the QODBCOL.log files: <br /><br />Begin Session Failed. S0000 00000 [QODBC] QuickBooks Begin Session Failed. 658 - Access Token Not Found. Go to [QODBC Online Setup Screen] and click [Test Connection to QuickBooks Online]. Please authorize QODBC Online to connect to your QuickBooks Online Company. <br /><br />Please advise on the correct process to connect to the Sandbox Company from QODBC.</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;">There might be some issues with Intuit's authorization service. Please wait for 30 minutes and try again. You</span>&nbsp;should be able to connect to the Sandbox company file.</p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, Sandbox, QODBC Online</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] How to connect to QuickBooks Online Sandbox.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2736]]></link>
<guid isPermaLink="false"><![CDATA[47fd3c87f42f55d4b233417d49c34783]]></guid>
<pubDate><![CDATA[Tue, 23 Feb 2016 08:05:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to connect to the QuickBooks Online Sandbox company file.
For installation &amp; configuring QODBC Online to work with the QuickBooks Online live company file. Please refer: How to use QODBC Online with QuickBooks Online Edition (Apps.com)
Configure...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to connect to the QuickBooks Online Sandbox company file.</span></h2>
<p>For installation &amp; configuring QODBC Online to work with the QuickBooks Online live company file. Please refer:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2658">How to use QODBC Online with QuickBooks Online Edition (Apps.com)</a><br /><br /></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Configure QODBC Online to work with the Sandbox company file:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You need to authorize &amp; configure QODBC Online to work with the QuickBooks Online Sandbox company. <br /><br />Please follow the steps below to configure QODBC Online:<br /><br />1) Open QODBC Online Setup Screen &amp; click on "Connect To QuickBooks," &amp; refer to the below step-by-step guide:<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks Online&gt;&gt; Configure QODBC Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; select QuickBooks Online Data&gt;&gt; click "configure"&gt;&gt; switch to General tab<br /><br />Enable the&nbsp;<strong>Sandbox Company (for testing only)</strong> option &amp; click on the "Connect To QuickBooks" button.<br /><br /> </span></p>
<div><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step1.png" alt="" align="absmiddle" border="1" /></span></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />2) By clicking "Connect To QuickBooks," open the authorization screen. You need to authorize your company file to work with QODBC Online. <br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step2.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />3) You need to enable a pop-up.<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step3.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />4) Enter your QuickBooks User ID &amp; Password, then click "Sign In."<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step4.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />5) Select the sandbox company files you want to use with QODBC Online if you have multiple company files.<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step5.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />6) Click on "Authorize."<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step6.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step7.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />7) After successful authorization, it will return to the QODBC Online page with a connected status. You can close this window.<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step8.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />8) QODBC Online is successfully connected to your QuickBooks Online Sandbox company.<br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step9.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br /></span></span></p>
<div><img src="//support.flexquarters.com/esupport/newimages/Sandbox/step10.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />9)Now, we will test the connection using the QODBC Online Test Tool. Please open the QODBC Online Test Tool from:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks Online &gt;&gt;QODBC Online Test Tool<br /></span></span></p>
<div><img src="https://support.flexquarters.com/esupport/newimages/2736/Q1.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />10) Please select the "QuickBooks Online Data" DSN from the dropdown list &amp; click on "Connect."</span></span></p>
<div><img src="https://support.flexquarters.com/esupport/newimages/2736/Q2.png" alt="" align="absmiddle" border="1" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">11) We can connect to DSN from the QODBC Online Test Tool. Please write your SQL statement &amp; click on "Run."</span></span></p>
<div><img src="https://support.flexquarters.com/esupport/newimages/2736/Q3.png" alt="" align="absmiddle" border="1" /></div>
<p>&nbsp;</p>
<p>12) We can fetch data from the QODBC Online Test Tool.&nbsp;</p>
<div><img src="https://support.flexquarters.com/esupport/newimages/2736/Q4.png" alt="" align="absmiddle" border="1" /></div>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Keywords:&nbsp;sandbox online,&nbsp;QuickBooks Online, QBO, QODBC Online</span></p>
<div id="commentparent">
<div id="commentsformcontainer"><form action="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Comments/Submit/2418/" enctype="multipart/form-data" method="post" name="CommentsForm"></form></div>
</div>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QuickBooks UI getting launched after updating QODBC Version.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2732]]></link>
<guid isPermaLink="false"><![CDATA[361440528766bbaaaa1901845cf4152b]]></guid>
<pubDate><![CDATA[Tue, 19 Jan 2016 10:21:07 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QuickBooks UI getting launched after updating the QODBC Version. 
Problem Description:
We recently upgraded from QODBC 14 to 16.00.00.313. It is functioning normally, except now the QuickBooks window is opening up when it didn't used ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QuickBooks UI getting launched after updating the QODBC Version. </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;">We recently upgraded from QODBC 14 to 16.00.00.313. It is functioning normally, except now the QuickBooks window is opening up when it didn't used to. In version 14, it didn't open up QuickBooks while being accessed. Now it does. Is there a way to change this behavior with a setting? </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 disable the force start QuickBooks option from the DSN you are using. <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" or "User DSN " Tab, whatever you are using &gt; your DSN &gt;&gt; click "configure"&gt;&gt; switch to Advanced&gt;&gt; disable <strong>Force Start QuickBooks</strong> option and try again. <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/HideQB/step1.png" alt="" border="0" /></strong></span></p>
<p><br /><br /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QuickBooks Advanced Inventory Module in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2730]]></link>
<guid isPermaLink="false"><![CDATA[421b3ac5c24ee992edd6087611c60dbb]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 11:56:52 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QuickBooks Advanced Inventory Module in QODBC 
Problem Description:
Does your enterprise driver support the advanced inventory module for QuickBooks Enterprise? Would we be able to query stock per item, per location?&nbsp;
Solution:...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QuickBooks Advanced Inventory Module in QODBC </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;">Does your enterprise driver support the advanced inventory module for QuickBooks Enterprise? Would we be able to query stock per item, per location?</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 access the Advanced Inventory data from the QuickBooks enterprise add-on.<br /><br />Yes, the site and location field is not available in ItemInventory &amp; other Item tables through the Intuit SDK.<br /><br />You can find the inventory site list &amp; location below the tables:<br /><br />BillItemLine, PurchaseOrderLine, InvoiceLine, SalesOrderLine, CheckItemLine, CreditCardCreditItemLine, CreditMemoLine, SalesReceiptLine, CheckItemLine, CreditCardChargeItemLine, BuildAssembly, BuildAssemblyComponentItemLine, TransferInventory, TransferInventoryLine, InventoryAdjustment, InventoryAdjustmentLine, ItemSite <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2727]]></link>
<guid isPermaLink="false"><![CDATA[23fc4cba066f390a8cc729c7592b6ee8]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 10:38:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over 
Problem Description:
I am using QRemote DSN to connect to QuickBooks. QODBC/QRemote tries to connect for 2 minutes over and over and says it has a connection, but does nothin...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over </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 using QRemote DSN to connect to QuickBooks. QODBC/QRemote tries to connect for 2 minutes over and over and says it has a connection, but does nothing. I tried the QODBC Test Tool&nbsp;program, but it just freezes.<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/2min/step1.png" alt="" border="0" /></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;">Due to this issue, there might be some issues with the QRemote configuration. <br /><br />Please verify QRemote Server &amp; QRemote Client DSN are configured correctly by referring to the link below &amp; testing again:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2649" target="_blank">QRemote Configuration</a><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting Unexpected extra token error in Date Field Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2726]]></link>
<guid isPermaLink="false"><![CDATA[b1c00bcd4b5183705c134b3365f8c45e]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 10:28:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting Unexpected extra token error in Date Field Query 
Problem Description:
I am trying to query the Transaction table based on the TxnDate field.I tried the code below.OdbcCommand SourceCmd = new OdbcCommand("Select * from Transac...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting Unexpected extra token error in Date Field Query </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 query the Transaction table based on the TxnDate field.<br /><br />I tried the code below.<br /><br />OdbcCommand SourceCmd = new OdbcCommand("Select * from Transaction where TxnDate &gt;= {d '2010-01-01'} and TxnDate &lt;= {d '" + DateTime.Now.ToString("yyyy-MM-dd") + "'} ", cnQODBC);<br /><br />I am getting this error:<br /><br />ERROR [42000] [QODBC] [sql syntax error] Expected lexical element not found: = <br /><br />And when&nbsp;I try this one:<br /><br />OdbcCommand SourceCmd = new OdbcCommand("Select * from Transaction where TxnDate &gt;= #2010-01-01# and TxnDate &lt;= #" + DateTime.Now.ToString("yyyy-MM-dd") + "# ", cnQODBC);<br /><br />I get this error:<br /><br />ERROR [42000] [QODBC] Unexpected extra token: #<br /><br />What is the correct format to pass the date values ??<br /><br />I am using C#.<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 refer to the article below for the date format in QODBC:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2203">How are dates formatted in SQL queries when using the QuickBooks-generated timestamps</a><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Insert information from MS Excel spreadsheet to QuickBooks using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2707]]></link>
<guid isPermaLink="false"><![CDATA[65f2a94c8c2d56d5b43a1a3d9d811102]]></guid>
<pubDate><![CDATA[Mon, 02 Nov 2015 13:05:56 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Problem Description: 
How to insert employee time information from an MS Excel time spreadsheet into QuickBooks using QODBC
Solution: 
You cannot perform insert/update operations directly in MS Excel because Excel is just exporting tables in the spread...]]></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 insert employee time information from an MS Excel time spreadsheet into QuickBooks using QODBC</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 cannot perform insert/update operations directly in MS Excel because Excel is just exporting tables in the spreadsheet. Excel does not create link tables like MS Access. If you want to insert/update using MS Excel, then you need to use MS Query, which will execute the statement you enter in the editor, or you can write VBA code in Excel. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the article for how to write SQL statements using MS Query: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC</a>.</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">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>You can use ADO in VB to connect to QuickBooks via VBA in MS Excel.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the sample code for inserting records through VBA:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Sub test() <br />Const adopt static = 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 TimeTracking (EntityRefListID, DurationMinutes, TxnDate, CustomerRefFullName, ItemServiceRefFullName, PayrollItemWageRefFullName) VALUES ( '370000-933272659', 480, {d'2007-12-18'}, 'Pretell Real Estate:75 Sunset Rd.', 'Removal,' 'Salary')." <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 />Set oRecordset = Nothing<br />Set oConnection = Nothing<br />End Sub</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please note: All query values are coming from sample company files. Please change it according to your company file value before using it.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please click here to <a href="http://support.flexquarters.com/esupport/newimages/TT/Insert Timetracking.xlsm">download a sample MS Excel file.</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting : QODBC Test Tool or VB Demo or Test Connection crashing.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2705]]></link>
<guid isPermaLink="false"><![CDATA[825f9cd5f0390bc77c1fed3c94885c87]]></guid>
<pubDate><![CDATA[Fri, 30 Oct 2015 09:31:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Note: VB Demo is deprecated. 
Please refer to&nbsp;How to use the QODBC Test Tool for testing 
Problem Description:
VB Demo\QODBC Test Tool\Test Connection was crashing when I tried to connect to QuickBooks using QODBC.
I have tried reinstalling QODBC...]]></description>
<content:encoded><![CDATA[<h5><span style="color: #cc0000; font-family: Arial,Helvetica,sans-serif;">Note: VB Demo is deprecated. </span></h5>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3069/" target="_blank">How to use the QODBC Test Tool for testing </a></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;">VB Demo\QODBC Test Tool\Test Connection was crashing when I tried to connect to QuickBooks using QODBC.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">I have tried reinstalling QODBC &amp; QuickBooks, but the QODBC Test connection (also via QODBC Test Tool) is still crashing. Also, I tried to run QODBC as an Admin/Non-Admin user, QODBC Test Tool, but with no success.</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;">If you are running QODBC with <strong>Detail&nbsp;</strong><span style="box-sizing: border-box; margin: 0px; padding: 0px;"><strong>Trace-</strong>enabled</span>&nbsp;mode, please check the log file size (Detail Trace, QODBC Messages, SDK Messages). </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">It should not be more than 400 MB.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please clear all the log files &amp; Optimizer files.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Then, please try to test the Connection through the VB Demo on the sample company file.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We recommended clearing log files when the file size exceeds 100 MB for better performance.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to connect to multiple company files at the same time/simultaneously]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2703]]></link>
<guid isPermaLink="false"><![CDATA[220c77af02f8ad8561b150d93000ddff]]></guid>
<pubDate><![CDATA[Fri, 30 Oct 2015 09:22:44 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to connect to multiple company files at the same time/simultaneously
Problem:
There are multiple company files in QuickBooks. At a time, I can access only one company file. Does QODBC allow me to access multiple company files at the same time?
Solu...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to connect to multiple company files at the same time/simultaneously</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;">There are multiple company files in QuickBooks. At a time, I can access only one company file. Does QODBC allow me to access multiple company files at the same time?</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution:</span></h3>
<p data-path-to-node="3">To access data from multiple QuickBooks company files, you must configure a dedicated Data Source Name (DSN) for each individual file. Each DSN should be configured to handle auto-login for its respective company file. For detailed setup steps, please refer to the guide: <strong data-path-to-node="3" data-index-in-node="272">How to set up QODBC for auto-login into QuickBooks</strong>.</p>
<p data-path-to-node="4">To switch between different company files, simply update your application's connection string to point to the specific DSN associated with that company file.</p>
<p data-path-to-node="4">&nbsp;</p>
<p data-path-to-node="4">Please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2341/48/how-to-setup-qodbc-for-auto-login-into-quickbooks" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a></p>
<h3 data-path-to-node="5">Step 1: Granting QODBC Access Permissions</h3>
<p data-path-to-node="6">Before attempting automated data extraction, QODBC must be granted permission by <strong data-path-to-node="6" data-index-in-node="81">each</strong> QuickBooks company file. This configuration is a one-time requirement per company file.</p>
<p data-path-to-node="7">Follow these steps for each file:</p>
<ol start="1" data-path-to-node="8">
<li>
<p data-path-to-node="8,0,0">Open <strong data-path-to-node="8,0,0" data-index-in-node="5">QuickBooks</strong> and log into the target company file as a QuickBooks user&nbsp;<strong data-path-to-node="8,0,0" data-index-in-node="59">Admin</strong>&nbsp;in <strong data-path-to-node="8,0,0" data-index-in-node="76">Single-User Mode</strong>.</p>
</li>
<li>
<p data-path-to-node="8,1,0">Connect to the company file using the <strong data-path-to-node="8,1,0" data-index-in-node="38">QODBC Test Tool</strong> or your integrated user application.</p>
</li>
<li>
<p data-path-to-node="8,2,0">A QuickBooks integrated application certificate prompt will appear.</p>
</li>
<li>
<p data-path-to-node="8,3,0">Accept the certificate and grant the necessary permissions to allow QODBC to access the data.</p>
</li>
</ol>
<h3 data-path-to-node="9">Step 2: Extracting and Consolidating Data</h3>
<p data-path-to-node="10">Once all certificates are accepted, you can proceed with data extraction:</p>
<ol start="1" data-path-to-node="11">
<li>
<p data-path-to-node="11,0,0">Use an application such as <strong data-path-to-node="11,0,0" data-index-in-node="27">Microsoft Excel Or Access, or your custom application</strong>&nbsp;to connect to each DSN sequentially.</p>
</li>
<li>
<p data-path-to-node="11,1,0">Export/dump the required data for the company.</p>
</li>
<li>
<p data-path-to-node="11,2,0">Close the connection, and wait for 15 seconds before connecting to the next company file.</p>
</li>
</ol>
<h3 data-path-to-node="13">Important Technical Limitations</h3>
<blockquote data-path-to-node="14">
<p data-path-to-node="14,0">⚠️ <strong data-path-to-node="14,0" data-index-in-node="3">QuickBooks SDK Connection Constraint</strong> The QuickBooks SDK can only connect to <strong data-path-to-node="14,0" data-index-in-node="79">one company file at a time</strong>. It does not support concurrent connections to multiple company files.</p>
</blockquote>
<p data-path-to-node="15">Because simultaneous access is not supported, your data extraction workflow must strictly follow a <strong data-path-to-node="15" data-index-in-node="99">sequential</strong> connection process. You must completely close the connection to the active company file before opening a connection to the next one.</p>
<ul data-path-to-node="16">
<li>
<p data-path-to-node="16,0,0"><strong data-path-to-node="16,0,0" data-index-in-node="0">Required Delay:</strong> To ensure QuickBooks completely releases the previous session, implement a <strong data-path-to-node="16,0,0" data-index-in-node="91">15 to 30-second delay (gap)</strong> between closing Connection A and opening Connection B.</p>
</li>
</ul>
<h4 data-path-to-node="17">Potential Error Messages</h4>
<p data-path-to-node="18">If an application attempts to access multiple company files concurrently, or if a new connection is initiated too quickly without the required delay, the system will return the following error:</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If the user tries to access multiple company files at the same time, then you will receive the error:</span></p>
<p align="center"><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/2703/Q1.png" alt="" /></span><br /><br /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">As a workaround,&nbsp;you can use multiple machines, each with QuickBooks and QODBC installed. Each machine will have a different QuickBooks company file opened in the QuickBooks application. The application machine uses QRemote Client (different DSNs) to connect to those machines and access the QuickBooks company file data simultaneously.&nbsp;<br /><br /></span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step2.png" alt="" width="736" height="397" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">For Example:<br />On Application Machine.<br />QRemote Client DSN A --&gt; Points to the IP Address of Machine A --&gt; Machine A will have QuickBooks company file A opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QRemote Client DSN B --&gt; Points to the IP Address of Machine B --&gt; Machine B will have QuickBooks company file B opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QRemote Client DSN C --&gt; Points to the IP Address of Machine C --&gt; Machine&nbsp;C will have QuickBooks company file C opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer to:</span><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2993" target="_blank">How to create or configure a QRemote DSN</a></p>
<p>&nbsp;Keywords:&nbsp;QB&nbsp;win log with multiple companies,&nbsp;log in with various companies,&nbsp;multi-instance, Secondary QuickBooks, multiple company files.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How can I add blank InvoiceLine in QuickBooks using QODBC.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2702]]></link>
<guid isPermaLink="false"><![CDATA[2e7ceec8361275c4e31fee5fe422740b]]></guid>
<pubDate><![CDATA[Fri, 30 Oct 2015 09:14:00 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Problem Description:
How can I add a blank InvoiceLine in QuickBooks using QODBC?
Solution:
You can create an empty Invoice, neither in QODBC nor QuickBooks. But in QuickBooks, you could leave lines blank and ensure at least one line with data in your ...]]></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 can I add a blank InvoiceLine in QuickBooks using QODBC?</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 can create an empty Invoice, neither in QODBC nor QuickBooks. But in QuickBooks, you could leave lines blank and ensure at least one line with data in your invoice to create open line records.<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/BlInvoice/step1.png" alt="" /><br /><br /> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You can create the same from QODBC by using the queries below. Please note you need to create one line of sufficient data. For the rest line, you can add a description &amp; keep other fields blank. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When the line record is null, there will be no record for the newly created invoice, which is not allowed by QuickBooks.<br /><br />INSERT INTO InvoiceLine (CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('670000-1071517519', '71099', '320000-1071525597', 'POWERTRAK-2000', 200.00000, 200.00, '20000-999022286',1) <br /><br />INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('POWERTRAK-3000', 1) <br /><br />INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('POWERTRAK-4000', 0) <br /><br /><img src="//support.flexquarters.com/esupport/newimages/BlInvoice/step2.png" alt="" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to run QODBC applications on a repeating/nightly basis]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2691]]></link>
<guid isPermaLink="false"><![CDATA[110eec23201d80e40d0c4a48954e2ff5]]></guid>
<pubDate><![CDATA[Mon, 19 Oct 2015 12:35:52 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Windows scheduler / How to use&nbsp;QScheduler with QODBC /&nbsp;How to run QODBC applications on a repeating/nightly basis
Problem Description 1:
My application needs to read data from QuickBooks and update data in the SQL server....]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with Windows scheduler / How to use&nbsp;QScheduler with QODBC /&nbsp;How to run QODBC applications on a repeating/nightly basis</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">My application needs to read data from QuickBooks and update data in the SQL server. Up to this, I can handle everything. But I need a solution for the task scheduler. My need is that my application needs to run every hour through the task scheduler. I'm trying this, but it is giving the error message:</span></p>
<p>QuickBooks Begin Session Failed. Error = 80040408, Could not start QuickBooks.</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I have a batch file that runs a query using the QODBC driver. It ran perfectly when I logged in, but when I ran it as a scheduled task, I got this error:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Unable to connect to QuickBooks Connection String: DSN=BPCQuickBooks _PROD_batch; DFQ=; OpenMode=F; SERVER=QODBC, OLE Automation Error. The source is Microsoft OLE DB Provider for ODBC Drivers." [QODBC] Server Edition of QODBC is required to use the DCOM Servers."<br /><br />SQLConnect [QODBC] QuickBooks Begin Session Failed. Error = 8004041c, An internal QuickBooks error occurred while accessing the QuickBooks company data file.</span>&nbsp;</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 3:</span></span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">There is a batch script that runs the data extraction, and it works when it is run manually, and we can generate a CSV file. However, when the batch script is scheduled to run using the task scheduler, it gives an error message 8004041d. We have followed all the solutions in the article, and we're still running into the error message when the task runs during the scheduled time in the task scheduler. We can also manually run the task in the task scheduler without an error, so it is only during the scheduled times that it gives an error, Error ID 8004041d</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution :</span>&nbsp;</h3>
<p>Windows Scheduler has changed from desktop-based to service-based from Vista or Windows 7 onwards, and the new OS has the Scheduler as a service-based.&nbsp;</p>
<p>QODBC is able to access data from QuickBooks using the QuickBooks SDK, which is an embedded feature of the QuickBooks Desktop Application.</p>
<p>The QuickBooks SDK requires an active desktop session (someone to be logged in) to the machine because QuickBooks is a desktop-based application.</p>
<p>If no one logs on to the server/machine, you will get the error "Could not start QuickBooks."</p>
<p>Even if you have specified the username/password and have a user logged into the machine, you may notice the same error. This is because the task executed from Task Scheduler runs as a different user / new session.</p>
<p><br /> <br />The workaround is to use a Desktop-based Based Scheduler like QScheduler&nbsp;<a href="https://qxl1.com/qschedule">https://qxl1.com/qschedule</a>,&nbsp; or&nbsp;<a href="http://alternativeto.net/software/task-scheduler/?platform=windows" target="_blank">http://alternativeto.net/<wbr />software/task-scheduler/?<wbr />platform=windows</a>.&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use&nbsp;QScheduler with QODBC for repetitive or scheduled jobs</span></h2>
<p>You can download&nbsp;QScheduler from the mentioned link:</p>
<p><a href="https://qxl1.com/qschedule" target="_blank">Download QScheduler</a></p>
<p>Please refer to the following article for how to install QScheduler&nbsp;-&nbsp;<a href="https://qxl1.com/links/3047" target="_blank">https://qxl1.com/links/3047</a></p>
<p>&nbsp;</p>
<p>After downloading QScheduler, please install it on your machine.</p>
<p>How to use QScheduler&nbsp;-&nbsp;<a href="https://qxl1.com/links/3059" target="_blank">https://qxl1.com/links/3059</a></p>
<p>Add a new task using the&nbsp;"Add" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_12_51.png" alt="" /></p>
<p>Enter the task title in the "Task Name", and click the "Browse" icon to select the application.</p>
<p>Input the start date of the task and the frequency.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_13_51.png" alt="" /></p>
<p>Select the file that you want to schedule &amp; click "OPEN." In this example, I am selecting the VBS script.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/KAFT/step2.png" alt="" /></p>
<p>Review the task details and click "Close".</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_14_31.png" alt="" /></p>
<p>The task will be added to the task list and will be executed.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_15_12.png" alt="" /></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Windows Task Scheduler (Troubleshooting)</span></h2>
<p>If your company policy requires you to use the default Windows Task Scheduler, you may try the following option to see if that helps.</p>
<p>Error 8004041d means QuickBooks/SDK rejected the automatic login: &ldquo;This application is not allowed to log into this QuickBooks company data file automatically.&rdquo; In practice, this commonly happens when a scheduled task runs in a different Windows session, under a different account, or without an interactive desktop - QuickBooks (and the QuickBooks SDK) require an interactive desktop session / approved integrated application certificate for the exact user/session that is doing the BeginSession.<br /><br />QuickBooks and QuickBooks SDK are not designed to run as a service.<br />Someone should be logged in to the Windows user session.<br /><br />Run Task only when user is logged on (Interactive session), Do not use "Run with highest privileges."<br /><br />Edit the scheduled task &rarr; General tab &rarr; select Run only when user is logged on (not &ldquo;Run whether user is logged on or not&rdquo;).<br /><br />Rationale: QuickBooks and the QuickBooks SDK require an interactive desktop. If the task is started in a non-interactive session (session 0) or as SYSTEM, it can&rsquo;t establish a QuickBooks SDK BeginSession. Many users fix this by keeping a user logged into the server and setting the task to run under that same user.<br /><br /><br />Use the same Windows account that was used when authorizing QODB.C<br /><br />The Integrated Application permission in QuickBooks is tied to the Windows user and the certificate. Make sure the scheduled task runs under the same Windows user account that you manually used when authorizing QODBC in QuickBooks. If they differ, re-authorize while logged in as the scheduled task user or change the task to run as the authorized user.<br /><br /><br /><br />Confirm QODBC was allowed automatic login in QuickBooks Integrated Applications<br /><br />In QuickBooks: Edit &rarr; Preferences &rarr; Integrated Applications &rarr; Company Preferences &rarr; find QODBC (or the exact application name shown during authorization) and ensure &ldquo;Allow this application to log in automatically&rdquo; is checked and the access level is appropriate (or explicitly select &ldquo;Yes, always; allow access even if QuickBooks is not running&rdquo; if available for your version). If you do not see the app, re-run the QODBC setup/support wizard and accept the certificate when QuickBooks prompts.<br /><br /><br />Make sure the QuickBooks company file is open, and QuickBooks is running in the interactive session.<br /><br />For scheduled runs, quick test: log into the server interactively as the task user, open QuickBooks and the company file, then trigger the scheduled task manually (from Task Scheduler while still logged in) - if that works, but the scheduled run (when no interactive login) fails, it confirms the interactive-session issue.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use QODBC with multiple QuickBooks Company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2680]]></link>
<guid isPermaLink="false"><![CDATA[220a7f49d42406598587a66f02584ac3]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 09:34:12 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to use QODBC with multiple QuickBooks Company files
Problem Description:
I have a question about setting ODBC to auto-login. I am trying to automate some tasks and wanted to auto-login. We have two different company files for accou...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to use QODBC with multiple QuickBooks Company files</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 have a question about setting ODBC to auto-login. I am trying to automate some tasks and wanted to auto-login. We have two different company files for accounting purposes. If I set the path in the odbc to the company file, how do I change this to access the second company?<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 with the QuickBooks SDK: it can connect to only one company file simultaneously on a machine. QODBC uses QuickBooks SDK &amp; QRemoteServer uses QODBC. Thus, you can open one company file at a time on a device. <br /><br />You can create multiple DSNs pointing to different company files and use this DSN in your configuration. <br /><br />Please refer to the steps below for creating multiple DSNs pointing to different company files. <br /><br />1) Create a new DSN.<br /><br />For example, you have a Company file "A," and let us create a DSN for Company "A" with the DSN name <strong>"CompA."</strong>&nbsp;Please refer to the article mentioned below for creating DSN:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929/48/how-to-create-or-configure-a-qodbc-dsn" target="_blank">How to make or configure a QODBC DSN</a> <br /><br />2) Set up auto login to QuickBooks using QODBC.<br /><br />Please refer to the article mentioned below for configuring auto-login to QuickBooks using QODBC.<br /><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 /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2341" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a><br /><br />Let us repeat steps 1 &amp; 2 for the Company file "B."<br /><br />1) Create a new DSN.<br /><br />Create DSN for Company "B" with DSN name <strong>"CompB."</strong>&nbsp;Please refer to the article mentioned below for creating DSN:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929/48/how-to-create-or-configure-a-qodbc-dsn" target="_blank">How to make or configure a QODBC DSN</a> <br /><br />2) Set up auto login to QuickBooks using QODBC.<br /><br />Please refer to the article mentioned below for configuring auto-login to QuickBooks using QODBC.<br /><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 /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2341" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a><br /><br /> </span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Use DSN in Applications:</span></span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> We have created multiple DSNs. Now we use it in our application. <br /><br />In this example, I am using DSN in VBA code. Please refer to the sample code for using multiple DSNs in VBA through QODBC:<br /><br />Public Sub Test()<br /><br />Const adopt static = 3<br /><br />Const adLockOptimistic = 3<br /><br />Dim oConnection<br /><br />Dim sConnectString<br /><br />sConnectString = "DSN=CompA;OLE DB Services=-2;"<br /><br />// <strong>Write your query here as per your requirements.</strong> //<br /><br />Set oConnection = CreateObject("ADODB.Connection")<br /><br />oConnection.Open sConnectString<br /><br />oConnection.Close<br /><br />Set oConnection = Nothing<br /><br />Sleep(10)<br /><br />sConnectString = "DSN=CompB;OLE DB Services=-2;"<br /><br />// <strong>Write your query here as per your requirements.</strong> //<br /><br />Set oConnection = CreateObject("ADODB.Connection")<br /><br />oConnection.Open sConnectString<br /><br />oConnection.Close<br /><br />Set oConnection = Nothing<br /><br />Sleep(10)<br /><br />End Sub</span></p>
<p>&nbsp;</p>
<p>Keywords: QB Win Log with multiple companies,&nbsp;log in with multiple companies&nbsp;</p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2679]]></link>
<guid isPermaLink="false"><![CDATA[9813b270ed0288e7c0388f0fd4ec68f5]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 09:29:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC
Problem Description 1:
We are adding invoice records to QuickBooks using an Access front end. When we create the records and try to insert them into QuickBooks, the line items see...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We are adding invoice records to QuickBooks using an Access front end. When we create the records and try to insert them into QuickBooks, the line items seem to go, but when the invoice header is inserted, we get an error that the Child Record must be inserted before the Header Record in BuildXMLHeader. I have examined the data being passed, and it all looks correct.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I upgraded my QuickBooks Premier Plus Professional Services to 2016 (from 2014). I skipped updating to 2015.<br /> <br />I installed the new QODBC connector, but I cannot connect to my Access database. I have tried to uninstall the MS Access Database driver, but I get the error message&nbsp;<span class="kbtitlemain">ODBC call failed- Error 10004.</span><br /><br /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 3:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I just updated QuickBooks Enterprise 14 to Enterprise 23. Using an Access database 2013 32-bit. I get an error when trying to process a Packing list in Access to invoice in QuickBooks.<br /> <br /><span class="kbtitlemain">I'm having an issue with my database sending a packing list to QuickBooks. It's working, and then it stops.<br /><br />"ODBC--call failed".</span><br />&nbsp;<br /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 4:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I have an MS Access database containing QuickBooks Data as the linked table. Recently, I changed my Optimizer file path &amp; after changing the Optimizer path, I am facing a slow performance issue.<br /><br /> </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/ReLink/step1.png" alt="" /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <br /><br />How can I solve this issue?</span>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You need to re-link the MS Access-linked table to resolve the issue. Delete the old linked table &amp; re-link it.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">After changing the optimizer file path, you need to re-link the linked table in MS Access because your MS Access Linked table contains an old Optimizer file path. <br /><br />Please note: Linked Table Manager in MS Access will not update the Optimizer file path; you need to re-link the linked table in MS Access to solve this issue. <br /><br />The solution to this issue is to re-create the linked table.<br /><br />Open MS Access Linked Table:<br /><br />Right-click on the On Your Linked Table:<br /><br /> </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/ReLink/step3.png" alt="" /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />Now, click on the Delete.<br /><br /></span></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/ReLink/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />Now Link the Same Table. After linking the table, you will get the updated optimizer file path.<br /><br />To view the Optimizer file path &amp; other table properties, hover your mouse over the table name so that you can view table properties.<br /><br /></span></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/ReLink/step2.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please keep QuickBooks running, log in as Admin to your company file, and try to connect again with MS Access.<br /><br />Please refer to the link below for How to Create a Linked Table in MS Access:<br /><br /> <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> <br /><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">How to Use QODBC with Microsoft Access 2010</a> <br /><br /> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If the above does not resolve the issue, please download the latest QODBC version.</span></p>
<p><a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank"><span style="font-family: Arial, Helvetica, sans-serif;">QODBC Download</span></a></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Skip the CDKEY Step during installation. Restart the Machine after a new version is installed (if prompted)</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>If the Above Solutions <span class="GINGER_SOFTWARE_mark">don't work</span>, please post a ticket to us, and we will further investigate your issue.</strong></span></p>
<p>Tags: Re-link linked tables, Re-link table, Re-add table, Re-Add linked tables, Refresh Linked tables, ODBC-Connection to 'QuickBooks Data' failed, #Deleted,[#Deleted], ODBC--call failed,&nbsp;call failed, <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2679/">#Deleted</a></p>
<div id="commentparent">
<div id="commentsformcontainer"><form action="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Comments/Submit/2418/" enctype="multipart/form-data" method="post" name="CommentsForm"></form></div>
</div>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to locate data found in QuickBooks by table and field name inside QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2676]]></link>
<guid isPermaLink="false"><![CDATA[d89a66c7c80a29b1bdbab0f2a1a94af8]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 08:43:47 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to locate data found in QuickBooks by table and field name inside QODBC
Problem Description:
I have a question about how to locate data found in QuickBooks by table and field name inside the QODBC system. 
Solutions:
 The fastest...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to locate data found in QuickBooks by table and field name inside 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 have a question about how to locate data found in QuickBooks by table and field name inside the QODBC system.<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;"> The fastest way to find data in QuickBooks via the QODBC Driver is to use the batch and sync method. Inside QuickBooks, place a unique "bait" value in the field in question, such as <strong>find me</strong>&nbsp;for text fields or 123321 for numeric fields, and save the data. Then start the QODBC Test Tool and connect to the QuickBooks company file. Refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2512" target="_blank">Connecting QODBC Driver to QuickBooks for the First Time (Video)</a>, then do a global search for the "bait" value. The file and field name will be shown if the data is available via QODBC. <br /><br />Please follow the steps below to locate QuickBooks data by table and field name inside the QODBC system.<br /><br />1) Add a sample <strong>find me</strong>&nbsp;to Invoice or bill records (i.e., RefNumber).<br /><br />For Example, we are creating an Invoice with RefNumber (i.e., Invoice#) <strong>findme</strong>. <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q1.png" alt="" /><br />2) Add a sample <strong>123321</strong> in the CreditMemo rate.<br /><br />For Example, we are creating a CreditMemo with a rate of&nbsp;<strong>123321</strong>. <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q2.png" alt="" /><br />3) Use the SP_GLOBALSEARCH command to search data from the QuickBooks company file. <strong>(Requires v16.0.0.317 or above)</strong> <br /><br />sp_globalsearch SearchValue<br /><br />For Example: <br /><br />sp_globalsearch 'find me.'<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q3.png" alt="" /> <br />sp_globalsearch '123321' </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q4.png" alt="" /> <br /></span></p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Application Connectivity Delay]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2656]]></link>
<guid isPermaLink="false"><![CDATA[1680e9fa7b4dd5d62ece800239bb53bd]]></guid>
<pubDate><![CDATA[Fri, 10 Jul 2015 08:47:00 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Application Connectivity Delay
Problem Description:
I have an inventory control system (C #, SQL Server) that needs read-only access to four tables in the accounting system. I have deployed your multiuser version and can access the loc...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Application Connectivity Delay</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 have an inventory control system (C #, SQL Server) that needs read-only access to four tables in the accounting system. I have deployed your multiuser version and can access the local QuickBooks instance from your VB app, Excel, and my app.<br /><br />1. When I run your VB app in the production RDP session, the ODBC behavior is as expected. <br /><br />2. I created a WPF/c# app to duplicate your VB and ran it in the production RDP session. The ODBC's behavior is expected. <br /><br />3. When I run my app in my development environment, the ODBC behavior is as expected. <br /><br />4. When I run my app in the production RDP session, opening the ODBC connection takes &gt; 6 minutes. But it opens. <br /><br />Please let me know what I am doing wrong.<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 reset your Optimizer file, check the connection time, and log the connection time in your application. Please refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2519/0/how-to-remove-optimizer-file">How to Remove Optimizer file</a> <br /><br />Please try the below .net application below for the troubleshooting of the time delay in connection opening and querying:<br /><br /> <a href="http://support.flexquarters.com/supportfiles/VBNetSample-timelog.zip">Sample code for Troubleshooting Connection Time Issue</a> <br /><br />If the above does not resolve the issue, please change the application, as it could eat more environmental resources.<br /><br />Also, please try to move the process of reading the QuickBooks tables to a background task. It will solve the problem. I suspect that your app is consuming most of the thread pool. Creating an explicit task provides sufficient resources to resolve the issue. &nbsp;<br /></span></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 an 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 fin...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Examples of Creating an 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 to 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 to the link below 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-ALL] Difference between QODBC for QuickBooks Desktop and Online.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2647]]></link>
<guid isPermaLink="false"><![CDATA[0b7e926154c1274e8b602ff0d7c133d7]]></guid>
<pubDate><![CDATA[Wed, 06 May 2015 10:20:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Difference between QODBC for QuickBooks Desktop and Online.
Table Differences:
 Number of Tables available in 


QODBC DesktopQODBC Online 



150
83




 
List of Tables available in QODBC Desktop
List of Tables available in QODBC Online...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Difference between QODBC for QuickBooks Desktop and Online.</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Table Differences:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Number of Tables available in </span></p>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Desktop</span></th><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Online </span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">150</span></td>
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">83</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"> <br /></span></span></p>
<p><a href="http://doc.qodbc.com/qodbc/usa/TableList.php?categoryName=" target="_blank">List of Tables available in QODBC Desktop</a></p>
<p><a href="http://doc.qodbc.com/qodbc/online/TableList.php?categoryName=" target="_blank">List of Tables available in QODBC Online</a></p>
<p><a href="https://developer.intuit.com/docs/api/accounting" target="_blank">List of Tables available via API from QuickBooks Online</a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Report Differences:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Number of Reports available in</span></span></p>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Desktop</span></th><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Online </span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">93</span></td>
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">22</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></span></p>
<p><a href="http://doc.qodbc.com/qodbc/usa/Reports.php?categoryName=" target="_blank">List of Reports available in QODBC Desktop</a></p>
<p><a href="http://doc.qodbc.com/qodbc/online/Reports.php?categoryName=" target="_blank">List of Reports available in QODBC Online</a></p>
<p><a href="https://developer.intuit.com/docs/0100_accounting/0400_references/reports" target="_blank">List of Reports available via API from QuickBooks Online</a>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Stored Procedure Difference:</span></h3>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Stored Procedure, which is not working in QODBC for QuickBooks Online:</span></h4>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;"> Store Procedure Name</span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_qbfilename</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchclear TableName</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchstart TableName</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchupdate TableName</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p>&nbsp;</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2342" target="_blank">QODBC Desktop Stored Procedures Command-List</a></p>
<p>&nbsp;</p>
<p>Also, Refer</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2715" target="_blank">Detailed Difference between QODBC for QuickBooks Desktop and Online.</a></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, QODBC Online, difference</p>
<p>&nbsp;</p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></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 instructions below 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[[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. The 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. The</strong>&nbsp;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 specific 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 have 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 - How to verify if Optimizer file corrupted or not]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2636]]></link>
<guid isPermaLink="false"><![CDATA[c61fbef63df5ff317aecdc3670094472]]></guid>
<pubDate><![CDATA[Thu, 05 Mar 2015 06:33:31 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to verify if the Optimizer file is corrupted or not
Problem Description:
 Is there any way to figure out when the Optimizer cache is corrupted, or is there a way we can avoid it altogether in the future?  
Solutions:
 Please refe...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to verify if the Optimizer file is corrupted or not</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;"> Is there any way to figure out when the Optimizer cache is corrupted, or is there a way we can avoid it altogether in the future? <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 refer to the steps below to identify if the Optimizer file has the issue:<br /> </span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Method 1</span></span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1). Locate the Optimizer file. The default path is %AppData%\QODBC Driver for QuickBooks\Optimizer)<br /><br />You can open the optimizer folder via Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt; Go To the "System DSN" Tab, select "QuickBooks Data" or "Your created QODBC" DSN &amp; click "Configure"&gt;&gt; Navigate to Optimizer tab-&gt;Click On "Open Optimizer Folder."</span>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q1.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">2) Check the file modified date-time; if it's not recent, there is an issue.<br /><br />To verify, start QODBC Test Tool and query the table you use the most, e.g., Invoice or Bill.&nbsp;</span></span>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q2.png" alt="" /><br /></span></span></p>
<p>&nbsp;</p>
<p><img src="//support.flexquarters.com/esupport/newimages/Optimizer/step3.png" alt="http://support.flexquarters.com/esupport/newimages/Optimizer/step3.png" width="780" height="187" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3. Check the file modified </span><span style="font-family: Arial, Helvetica, sans-serif;">date-time; if</span><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span><span style="font-family: Arial, Helvetica, sans-serif;">it's</span><span style="font-family: Arial, Helvetica, sans-serif;"> not recent, there is an issue.&nbsp;</span>&nbsp;</p>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Method 2</span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1) Check QODBC logs. The default path is %AppData%\QODBC Driver for QuickBooks.&nbsp;<br /></span></p>
<p>&nbsp;</p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q3.png" alt="" /></span></span></p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Search for any of the following errors. If one of the following errors is present in the log file, then the Optimizer file is corrupted.<br /><br /> <strong>The database disk image is malformed.</strong><br /><br /> <strong>SQLOptimize_SQLite_OpenOptimizeDBHandle prepare:<br />SELECT "type," "tbl_name" FROM "SQLite_MASTER."<br />Is the file encrypted, or is it not a database?</strong><br /><br /> <strong>SQLOptimize_SQLOpen attach:<br />C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT<br />cannot start a transaction within a transaction</strong><br /><br /> <strong>SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:<br />ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase" The&nbsp;<br />database is locked</strong><br /><br /> <strong>SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:<br />ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase"</strong><br /><br /></span></span></span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Fixing Optimizer file/Rebuilding Optimizer file</span></span></h4>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">To overcome this issue, we need to reset the optimizer file. Please refer to the steps below to reset your QODBC optimizer file: <br /><br />1) Close all other applications that use QODBC. <br /><br />2)&nbsp;Delete the Optimizer file: Please refer to:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2519/0/how-to-remove-optimizer-file" target="_blank">How to Remove Optimizer file</a></span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br />Find the file with the .opt extension at the path you had assigned to the QODBC optimizer and delete the optimizer file.<br />(The default path is %UserProfile%\QODBC Driver for QuickBooks\Optimizer or %AppData%\QODBC Driver for QuickBooks\Optimizer )<br />You can find the optimizer folder path from QODBC Setup Screen-&gt;" Optimizer" tab. Please copy this path &amp; navigate to this path &amp; delete the .opt file.<br /><br /><br />3) After turning on the optimizer, please run the following command in the QODBC Test Tool:<br /><br />sp_optimizefullsync All<br /><br />Refer:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2459/0/how-to-execute-sp_optimizeupdatesync-or-sp_optimizefullsync-for-selected-tables" target="_blank">How to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for Selected Tables</a><br />This command will bring some data to a local cache to increase query retrieval performance. I want to suggest that you please let the above command run 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 it's building the Optimizer file. <br /><br />4) Please test again.<br /></span><br /></span></span></p>
<p style="text-align: left;"><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) If you still face the issue, please raise a support ticket.</span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Also, Refer</span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2459/0/how-to-execute-sp_optimizeupdatesync-or-sp_optimizefullsync-for-selected-tables">Troubleshooting: Slow Performance / Cannot Get Full Records From QuickBooks / How to find missing data</a></span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Keywords:&nbsp;qodbc cache slowing down data access</span></span></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 the 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 t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">QODBC POS could not access the 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 to the now available company file.<br /><br />QuickBooks POS SDK Test Plus tool also requires a connection string; It will not connect to 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 steps below: <br /><br />1) Please change QuickBooks POS to run in multi-user mode. Click the "Switch Company File to Multi-User Mode" option in the 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 files 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 tool,s VB De, mo 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 the QODBC POS Test Tool. Please open the 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 the 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 the 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 - How to adjust value of a stock item without adjusting stock quantity]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2628]]></link>
<guid isPermaLink="false"><![CDATA[8e065119c74efe3a47aec8796964cf8b]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:07:24 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to adjust the value of a stock item without changing the stock quantity
Problem Description:
 Can I adjust the value of a stock item without changing the stock quantity?  
Solutions:
 Yes, you can adjust the value of a stock item...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to adjust the value of a stock item without changing the stock quantity</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;"> Can I adjust the value of a stock item without changing the stock quantity? <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;"> Yes, you can adjust the value of a stock item without changing the stock quantity. Here is an example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">This item has a COGS Average Cost of $69.73429:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;<br /><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step1.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step1.png" width="599" height="481" /><br /><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Using QODBC, I adjusted the opening balance equity cost of the stock item by $250.00 using the following SQL insert statement:<br /><br /> INSERT INTO "InventoryAdjustmentLine" ("AccountRefFullName," "TxnDate," "RefNumber," "Memo," "InventoryAdjustmentLineItemRefFullName," "InventoryAdjustmentLineValueAdjustmentNewValue," "FQSaveToCache") VALUES ('Opening Bal Equity,' {d'2007-05-23'}, '110', 'Value Adj 250', 'Wood Door: Exterior', 250.0, 0)&nbsp;</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/StockQuantity/step2.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step2.png" width="633" height="398" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">This item now has a COGS Average Cost of $106.69857:</span></span></p>
<p>&nbsp;</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/StockQuantity/step3.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step3.png" width="600" height="482" /><br /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">The value adjustment details can be seen in the Inventory Valuation Detail:&nbsp;</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;">&nbsp;</span></span></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step4.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step4.png" width="714" height="612" /></p>]]></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 that 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 to: <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 - How to access QuickBooks Data using FileMaker]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2613]]></link>
<guid isPermaLink="false"><![CDATA[6aed000af86a084f9cb0264161e29dd3]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:00:17 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to access QuickBooks Data using FileMaker
Problem Description:
 I downloaded the trial version of your driver this morning and am excited about the prospects. I've installed it and can get the fields and tables to appear in QODBC T...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to access QuickBooks Data using FileMaker</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 downloaded the trial version of your driver this morning and am excited about the prospects. I've installed it and can get the fields and tables to appear in <strong>QODBC Test Tool</strong>, but I cannot connect using FileMaker Pro.</span>&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;"> Please follow the steps below for FileMaker connectivity using QODBC.<br /><br />1) Open FileMaker Pro &amp; click on the Browse button.</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step1.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step2.png" width="1200" height="551" /><br /><br /><span style="font-family: Arial, Helvetica, sans-serif;">2) Please select the ODBC data source.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step2.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step3.png" width="1200" height="552" /><br /><br />3) Please select the ODBC data source "QuickBooks Data" &amp; click on the "Continue" button.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step3.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step3.png" width="1200" height="551" /></p>
<p><strong>For FileMaker 64-Bit, please select "QuickBooks Data 64-Bit QRemote."</strong></p>
<p><br /><span style="font-family: Arial, Helvetica, sans-serif;">4) Please enter the username &amp; password for the ODBC data source. If you have not defined any username &amp; password, then click on the "OK" button. &nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step4.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step4.png" width="1200" height="551" /><br /><br /><span style="font-family: Arial, Helvetica, sans-serif;">5) Select tables &amp; columns that you want to use, then please click on the "Insert into SQL Query" &amp; "Execute" buttons.</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step5.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step5.png" /></p>
<p><br /><span style="font-family: Arial, Helvetica, sans-serif;">6) Save results &amp; you can see results.<br /></span><br /><br /><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step6.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step6.png" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FileMaker/step7.png" alt="http://support.flexquarters.com/esupport/newimages/FileMaker/step7.png" width="1200" height="552" /></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Freezing QuickBooks, slow query running]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2612]]></link>
<guid isPermaLink="false"><![CDATA[1175defd049d3301e047ce50d93e9c7a]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 09:46:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Freezing QuickBooks, slow query running.
Problem Description:
When I run a report query, the query works very slowly &amp; takes about 1-5 mins per simple report like:"sp_report ARAgingSummary show Current parameters DateFrom={d'2014-1...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Freezing QuickBooks, slow query running.</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 I run a report query, the query works very slowly &amp; takes about 1-5 mins per simple report like:<br /><br />"sp_report ARAgingSummary show Current parameters DateFrom={d'2014-11-12'}, DateTo={d'2014-11-12'} where Blank = 'Total'"<br /><br />Sometimes it freezes QuickBooks, so the user should restart it.<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 enable the QODBC status panel via Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source.</span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/DSNConf/step1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "System DSN" Tab, select "QuickBooks Data" DSN &amp; click "Configure."</span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/AT_Txn_Tt/step22.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Navigate to the "Message" tab -&gt;Select "Display Driver Status" and "Display Optimizer Status" options.</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/FreezingQuickBooks/step1.png" alt="http://support.flexquarters.com/esupport/newimages/FreezingQuickBooks/step1.png" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Then the next time you run a query, if you see "Waiting for QuickBooks," it means QuickBooks is taking time to process the request. There will be a status panel at the lower right corner of your screen, showing a window with information on what QODBC is working on. Please note the step on which QODBC spends the most time or gets stuck and share it with us.<br /><br />If you are getting "Waiting for QuickBooks," it means QuickBooks is taking time to process requests. So we may not provide much help on this issue. <br /><br />QuickBooks SDK provides data in XML format &amp; QODBC displays it in tabular form. QODBC acts as a 'wrapper' around the Intuit SDK so customers can finally get at their QuickBooks data using standard database tools, speeding development time. QODBC accepts SQL commands from applications through the ODBC interface, then converts those calls to navigational XML commands to the QuickBooks Accounting DBMS and returns record sets that qualify for the query results.<br /><br />QODBC requests the Report information from the QuickBooks SDK, and QuickBooks is the one processing it and sending the output. QODBC formats that output to a data table format. &nbsp;&nbsp;</span></p>
<div id="ginger-floatingG-container">&nbsp;</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 set up in an Excel file and be able to refresh on either a64-bit4 or...]]></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 set up in an Excel file and be able to refresh on either a64-bit4 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 to the example below: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1) Machine A of a 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 a 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 machine. 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 the 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 the DataTab &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] Troubleshooting: Error in DCOM instance in W2003 Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2398]]></link>
<guid isPermaLink="false"><![CDATA[565030e1fce4e481f9823a7de3b8a047]]></guid>
<pubDate><![CDATA[Thu, 19 Aug 2010 07:12:44 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[Troubleshooting: Error in DCOM instance in W2003 Server 
Problem Description
 &nbsp;&nbsp;&nbsp;&nbsp; I'm using Windows Server 2003 system. When I try to create a linked server from SQL 2008 express, it fails, and from the SDK messages, I see the error...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting: Error in DCOM instance in W2003 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;"> &nbsp;&nbsp;&nbsp;&nbsp; I'm using Windows Server 2003 system. When I try to create a linked server from SQL 2008 express, it fails, and from the SDK messages, I see the error as a remote client can't be found. I created my linked server on my local machine ok, but nothing comes up when I try to view the tables/catalog from a remote computer with a remote desktop. Not even the catalog name. Then when I try to recreate it, I get the odbc error "error in DCOM instance" and nothing in the odbc error log. </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;&nbsp; DCOM security is way complicated with W2003 SP2 and above. See the link below to help with what screens need to be set up. It is probably a security issue if it works from the local login but not a remote connection:</span></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2395"><span style="font-family: Arial,Helvetica,sans-serif;">How to Setup QODBC in Window Server 2003 SP2 System</span></a></p>
<p>Also refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2508">DCom Option / Server Edition Tab missing in QODBC Setup Tab</a></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] MS SQL Reporting Services and QuickBooks ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/350]]></link>
<guid isPermaLink="false"><![CDATA[9de6d14fff9806d4bcd1ef555be766cd]]></guid>
<pubDate><![CDATA[Thu, 12 Mar 2009 17:21:52 +0000]]></pubDate>
<dc:creator><![CDATA[brad waddell]]></dc:creator>
<description><![CDATA[Troubleshooting: MS SQL Reporting Services and QuickBooks&nbsp;
Problem Description 
&nbsp;&nbsp;&nbsp;&nbsp; I am trying to deliver reports via Microsoft's SQL Server 2005 Reporting Services. I have a Windows 2003 server with QuickBooks 6 and the lates...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting: MS SQL Reporting Services and QuickBooks&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;">&nbsp;&nbsp;&nbsp;&nbsp; I am trying to deliver reports via Microsoft's SQL Server 2005 Reporting Services. I have a Windows 2003 server with QuickBooks 6 and the latest QODBC driver using DCOM. I repeatedly got this error: "QB Open Connection Failed. DCOM Instance Error= 8000401a" until I set the component services permissions correctly on the QBXML... DCOM config items.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Now, I no longer get the error. I can run the report in the MS Business Studio without problems (the information always works fine in the Business Studio). Still, it hangs with a generating report message when I run it through reporting services. This seems to turn reporting services, and QuickBooks and a reboot will clear everything so I can hang it again. The report is created in the business studio connecting directly to the QODBC driver. It only references one table, InvoiceLine, and works correctly from the business studio. When installed in the Reporting Services and run via a web interface, it used to fail on a DCOM permissions error. Now I get no mistake, but it hangs, waiting for the report to generate. I do not receive any errors.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; I get these same results whether I connect locally or remotely to the IIS server. The server contains all the components, QuickBooks, SQL Server, Reporting Services, QODBC, and IIS.</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;&nbsp; First, look at your configuration setup: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2350" target="_blank">How to create a Link Server with MS SQL 2005/2008</a> to see if the linked tables are working correctly with SQL Server 2005.</span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Then suggest you debug IIS first using qbcust.asp found in: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2371" target="_blank">How to see QuickBooks data in an Internet Explorer Browser using Windows XP</a></p>]]></content:encoded>
</item>
</channel>
</rss>