<?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] QuickBooks and Microsoft PowerBI Desktop]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3036]]></link>
<guid isPermaLink="false"><![CDATA[4b86ca48d90bd5f0978afa3a012503a4]]></guid>
<pubDate><![CDATA[Fri, 15 May 2020 07:39:21 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using Microsoft PowerBI with QuickBooks Data
Problem Description 1:
How to connect to QuickBooks Data with Power BI using QODBC Desktop?
Solutions:&nbsp;
Open the QODBC setup screen and change the QODBC Compatibility mode from "Default" to "3.8."
To ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Using Microsoft PowerBI with QuickBooks Data</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p>How to connect to QuickBooks Data with Power BI using QODBC Desktop?</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p>Open the QODBC setup screen and change the QODBC Compatibility mode from "Default" to "3.8."</p>
<p>To change, please follow the steps below:</p>
<p>Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go To "System DSN" Tab&gt;&gt; select DSN "QuickBooks Data" &gt;&gt; click "Configure&rdquo;&gt;&gt; Switch to "Advanced" tab&gt;&gt; Navigate to "QODBC Compatibility"&gt;&gt; change to "3.8"</p>
<p>&nbsp;</p>
<p>For QODBC POS,&nbsp;select DSN "QuickBooks POS Data."</p>
<p>For QODBC Online,&nbsp;select DSN "QuickBooks Online Data."</p>
<p>&nbsp;</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/QODBC Setup Screen - Advanced tab.png" alt="" /></p>
<p>Start QuickBooks and log in to the QuickBooks company file as the QuickBooks user Admin.</p>
<p>Start Microsoft PowerBI Desktop (32-bit).</p>
<p>Navigate to the "Get Data" option, and from the drop-down list, select "More."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/2. GetData-More.png" alt="" /></p>
<p>A pop-up with the title "Get Data" should appear.</p>
<p>Select "Other" --&gt; "ODBC" and click the "Connect" button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/3. Other-connect.png" alt="" /></p>
<p>Select the "QuickBooks Data" from the Data source name (DSN) list and click the "OK" button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/QuickBooks Data - connect directly.png" alt="" /></p>
<p>Note: If you are using QODBC version 19.0.0.333 or lower, use the "Advanced options"&gt;&gt; Write the SQL statement for the table you want to fetch data from.</p>
<p>For example, "select * from customer" and click the "OK" button.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/QuickBooks Data - Advance option.png" alt="" /></p>
<p>It would be best if you got the preview of the table. Click the "Load" button to continue.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/5. Preview.png" alt="" /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/6. Load.png" alt="" /></p>
<p>Select the fields you want to display on the report. This will add the fields to the information and display the data.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3036/7. FinalData.png" alt="" /></p>
<p>&nbsp;</p>
<p>If you are facing "Driver does not support this parameter," please switch QODBC, QRemote 32-Bit DSN, and QRemote 64-Bit DSN to ODBC Compatibility 3.8.</p>
<p><br />To change compatibility in QODBC, follow the path below:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select DSN "QuickBooks Data" &gt;&gt; click "Configure&rdquo;&gt;&gt; Switch to "Advanced" tab&gt;&gt; Navigate to "QODBC Compatibility"&gt;&gt; change to "3.8"</p>
<p>For QODBC POS,&nbsp;select DSN "QuickBooks&nbsp;POS Data."</p>
<p>For QODBC&nbsp;Online,&nbsp;select DSN "QuickBooks Online Data."</p>
<p>&nbsp;</p>
<p>If you are using Power BI 64-bit, you need to change to QODBC and QRemote 64-bit clients. To change compatibility in QODBC, follow the path below:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select DSN "QuickBooks Data" &gt;&gt; click "Configure&rdquo;&gt;&gt; Switch to "Advanced" tab&gt;&gt; Navigate to "QODBC Compatibility"&gt;&gt; change to "3.8"</p>
<p>For QODBC POS,&nbsp;select DSN "QuickBooks&nbsp;POS Data."</p>
<p>For QODBC&nbsp;Online,&nbsp;select DSN "QuickBooks Online Data."</p>
<p><br /> <br /> To change compatibility in QRemote 32-bit, follow the path below:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select "QuickBooks Data QRemote" DSN &gt;&gt; click "Configure"&gt;&gt; Switch to Advanced tab and change 'ODBC Compatibility' to '3.8' and click the Apply/OK button.</p>
<p>For QODBC POS,&nbsp;select DSN "QuickBooks&nbsp;POS Data QRemote."</p>
<p>For QODBC&nbsp;Online,&nbsp;select DSN "QuickBooks Online Data QRemote."</p>
<p>&nbsp;</p>
<p><br /> <br />To change compatibility in QRemote 64-bit, follow the path below:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks (64-Bit)&gt;&gt; Configure QODBC Data Source &gt;&gt;Go to "System DSN" Tab&gt;&gt; select "QuickBooks Data 64-bit QRemote" DSN &gt;&gt; click "Configure"&gt;&gt; Switch to Advanced tab and change 'ODBC Compatibility' to '3.8' and click the Apply/OK button.</p>
<p>&nbsp;</p>
<p>For QODBC POS,&nbsp;select DSN "QuickBooks&nbsp;POS Data 64-Bit QRemote."</p>
<p>For QODBC&nbsp;Online,&nbsp;select DSN "QuickBooks Online 64-Bit Data&nbsp;QRemote."</p>
<p>&nbsp;</p>
<p><br /> <br />Try connecting again. It should fix the issue you are facing.<br /> If you are using the older version of Power BI, please download the latest and try connecting with QODBC.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC with Tableau Desktop]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3006]]></link>
<guid isPermaLink="false"><![CDATA[5f268dfb0fbef44de0f668a022707b86]]></guid>
<pubDate><![CDATA[Fri, 11 May 2018 11:49:29 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Tableau Desktop
For using QODBC with Tableau Desktop, you need to use QODBC V 18.0.0.326 or a later version.
If you are using an older version of QODBC, please upgrade your QODBC to the latest version. Click here to download the ne...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with Tableau Desktop</span></h2>
<p>For using QODBC with Tableau Desktop, you need to use QODBC V 18.0.0.326 or a later version.</p>
<p>If you are using an older version of QODBC, please upgrade your QODBC to the latest version. <a href="http://qodbc.com/qodbcDownload.htm" target="_blank">Click here</a> to download the newest version of QODBC.</p>
<p>After installing the QODBC latest version, we need to enable ODBC 3.8 compatibility from QODBC Setup Screen &gt;&gt; Advanced tab.</p>
<p>Navigate to Start Menu, QODBC Drivers for Use with QuickBooks, and click "Configure QODBC Data Source."</p>
<p align="center">&nbsp;<img src="https://support.flexquarters.com/esupport/newimages/QODBCStartMenu.png" alt="" /></p>
<p>Navigate to the "System DSN" tab &amp; select "QuickBooks Data," &amp; click "Configure."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step1.PNG" alt="" /></p>
<p>Note: If you are using a user-defined DSN, you need to make changes to your user-defined DSN.</p>
<p>QODBC Setup Screen will open on clicking configure. Now, please navigate to the "Advanced" tab.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step2.PNG" alt="" /></p>
<p>Please change "ODBC Compatibility" to "3.8" from "Default" &amp; "Apply changes."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step3.PNG" alt="" /></p>
<p>Now, Open Tableau Desktop, navigate to "To a Server," &amp; select the "Other Databases (ODBC)" option.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step4.PNG" alt="" /></p>
<p>In Other Databases (ODBC), select "QuickBooks Data" data source and click "Connect."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step5.PNG" alt="" /></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>" <br />Please refer:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">How to configure QRemote</a></p>
<p>Tableau Desktop is connecting to QODBC.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step6.PNG" alt="" /></p>
<p>Tableau Desktop is connected to QODBC. Click on "Sign In" to move ahead.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step7.PNG" alt="" /></p>
<p>QODBC connection is added to Tableau Desktop.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step8.PNG" alt="" /></p>
<p>Now, write any table name you want to use &amp; click on the "Search" icon. In this example, I have written the "Customer" table name.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step9.PNG" alt="" /></p>
<p>The "Customer" table has been added to Tableau Desktop. Double-click on the table name to see the table schema.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step10.PNG" alt="" /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step11.PNG" alt="" /></p>
<p>Now, click "Sheet1" to add table data to the Tableau Desktop sheet.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step12.PNG" alt="" /></p>
<p>Tableau Desktop will show an ODBC connection warning. Click "OK" to continue.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step13.PNG" alt="" /></p>
<p>The customer table data is added to the sheet. Click "Data Sources" for the list of available table fields.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step14.PNG" alt="" /></p>
<p>Now drag any table field in the sheet that you want to show. In this example, I have added the FullName field from "Dimensions" &amp; Balance field from "Measures" in the sheet.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step15.PNG" alt="" /></p>
<p>You will notice that Customer FullName &amp; Balance is loaded into the sheet.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step15.PNG" alt="" /></p>
<p>You can choose the option from "Show Me" to see QuickBooks Data per your requirements.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tableau/step16.PNG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - VehicleMileage table showing deleted records]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3003]]></link>
<guid isPermaLink="false"><![CDATA[a4380923dd651c195b1631af7c829187]]></guid>
<pubDate><![CDATA[Thu, 05 Apr 2018 12:06:24 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - VehicleMileage table showing deleted records
Problem Description:
I am using QODBC for working with QuickBooks. I can delete the VehicleMileage record. But after that, when I query the VehicleMileage table, it still shows deleted hist...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - VehicleMileage table showing deleted records</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC for working with QuickBooks. I can delete the VehicleMileage record. But after that, when I query the VehicleMileage table, it still shows deleted history.</p>
<p>The UNOPTIMIZED query is working fine.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>This issue is related to the QuickBooks SDK. QuickBooks SDK is not returning deleted records in TxnDeleted &amp; due to this, QODBC cannot remove the deleted records from the Optimizer.</p>
<p>We have already reported the QuickBooks SDK issue to Intuit.</p>
<p>Until Intuit fixes the issue, we have applied a workaround in QODBC V18.0.0.326 that the VehicleMileage table will directly fetch data from QuickBooks &amp; does not use the Optimizer.</p>
<p>So if you are using QODBC V325 or an earlier QODBC version, then you need to use the "UNOPTIMIZED" keyword in your query to fetch the correct records.</p>
<p>For Example:</p>
<p>Select * from VehicleMileage UNOPTIMIZED</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QlikSense Desktop (Web-based) with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3002]]></link>
<guid isPermaLink="false"><![CDATA[d806ca13ca3449af72a1ea5aedbed26a]]></guid>
<pubDate><![CDATA[Thu, 05 Apr 2018 11:57:55 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QlikSense Desktop (Web-based) with QODBC
To use QlikSense Desktop with QODBC, please follow the steps below.
Open QlikSense Desktop in the browser &amp; click on the "CREATE A NEW APP" button.

Enter the app name and click the "Create" butt...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QlikSense Desktop (Web-based) with QODBC</span></h2>
<p>To use QlikSense Desktop with QODBC, please follow the steps below.</p>
<p>Open QlikSense Desktop in the browser &amp; click on the "CREATE A NEW APP" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step1.png" alt="" /></p>
<p>Enter the app name and click the "Create" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step2.png" alt="" /></p>
<p>A New application in QlikSense Desktop was created successfully. Click "Open app" for the opening application.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step3.png" alt="" /></p>
<p>The application has two options for: "Add Data" &amp; "Data Load editor." In this example, I am using the "Add Data" option. Click the "Add Data" button to update QuickBooks Data to QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step4.png" alt="" /></p>
<p>QlikSense Desktop will show a list of the data sources. Please select the "ODBC" data source.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step5.png" alt="" /></p>
<p>In the Create new connection (ODBC) window, select "System DSN" &amp; enable the "32-bit" option, select DSN &amp; click on the "Create" button. You can change DSN as per your configuration. I am connecting to the default DSN "QuickBooks Data QRemote" in this example.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step6.png" alt="" /></p>
<p>The connection was made with QuickBooks through QuickBooks Data QRemote DSN &amp; you can see the list of tables and windows available.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step7.png" alt="" /></p>
<p>Select the table you want to add to the QlikSense Desktop &amp; click the "Add data" button. In this example, I am selecting the Customer table.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step15.png" alt="" /></p>
<p>Adding data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step10.png" alt="" /></p>
<p>The customer table data is added to the QlikSense Desktop. Now, you can perform any operation on table data using QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step16.png" alt="" /></p>
<p>You can view table data by double-clicking the "Customer" table icon.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step17.png" alt="" /></p>
<p>Please click the "Load data" button on the QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step24.png" alt="" /></p>
<p>Loading data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step25.png" alt="" /></p>
<p>The data is loaded successfully. Click on the "Edit the sheet" button to add data to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step26.png" alt="" /></p>
<p>The empty sheet is open in the QlikSense Desktop. Click on the "Fields" icon to add table fields to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step21.png" alt="" /></p>
<p>In this example, I have added the Customer table's FullName, CompanyName, and Phone fields on the sheet. Please click on the "Done" button to finish editing the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step27.png" alt="" /></p>
<p>QlikSense Desktop displays data on the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSenseWeb/step28.png" alt="" /></p>
<p>Now, you can perform any operation on table data using QlikSense Desktop.</p>
<p>Also, Refer:</p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2984" target="_blank">How to Auto Add relationship Between two tables in QlikSense Desktop using QODBC</a></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - How to convert MS Office from 64-bit to 32-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3000]]></link>
<guid isPermaLink="false"><![CDATA[e93028bdc1aacdfb3687181f2031765d]]></guid>
<pubDate><![CDATA[Thu, 22 Mar 2018 12:09:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to convert MS Office from 64-bit to 32-bit
Problem Description:
I am on Windows 64-bit and Office 365 64-bit. QODBC Test Tool&nbsp;works fine when I use QuickBooks Data as a connection source.
If I use QRemote, I get the "Evaluat...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to convert MS Office from 64-bit to 32-bit</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am on Windows 64-bit and Office 365 64-bit. QODBC Test Tool&nbsp;works fine when I use QuickBooks Data as a connection source.</p>
<p>If I use QRemote, I get the "Evaluation Expired. QRemote requires QODBC license." message.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step10.png" alt="" /></p>
<p>That connection is not available in Excel, only in QuickBooks Data 64-bit QRemote.</p>
<p>Any help would be appreciated.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You are not getting QuickBooks Data DSN in the connection window because you are using the MS Office 64-bit version.</p>
<p>You can identify if your MS Access/MS Excel is 32-bit or 64-bit from:</p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">MS Office 2010:</span></span></h4>
<p>File -&gt; Help -&gt;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step11.png" alt="" /></p>
<p>File -&gt; Help -&gt;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step12.png" alt="" /></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2013:</span></span></h4>
<p>File -&gt; Account -&gt; About Access</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step14.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step15.png" alt="" /></p>
<p>File -&gt; Account -&gt; About Excel</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step16.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step17.png" alt="" /></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2016/365:</span></span></h4>
<p>File -&gt; Account -&gt; About Access</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Access2013-64/step1.png" alt="" /></p>
<p>File -&gt; Account -&gt; About Excel</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Excel2013-64/step1.png" alt="" /></p>
<p>In the About window. If you see 32-bit, then your MS Office is 32-bit.</p>
<p>If you see 64-bit, then your MS Office is 64-bit.</p>
<p>You can identify the application from the Task Manager window, too.</p>
<p>If the application is 32-bit, you will notice *32 after the EXE name in the process tab. If you can't see *32 after the EXE name, the application is 64-bit.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/App32-64/step6.png" alt="" /></p>
<p data-start="68" data-end="329">All versions of&nbsp;<strong data-start="84" data-end="121">QuickBooks from 2002 through 2021</strong>&nbsp;are built on a&nbsp;<strong data-start="137" data-end="160">32-bit architecture</strong>. In contrast, many modern applications&mdash;such as&nbsp;<strong data-start="208" data-end="227">Microsoft Excel</strong>,&nbsp;<strong data-start="229" data-end="249">Microsoft Access</strong>, and&nbsp;<strong data-start="255" data-end="279">Microsoft SQL Server&nbsp;</strong>are commonly deployed in&nbsp;<strong data-start="305" data-end="328">64-bit environments</strong>.</p>
<p data-start="331" data-end="570">For users running&nbsp;<strong data-start="349" data-end="379">QuickBooks 2021 or earlier</strong>, this architectural difference creates a compatibility challenge:&nbsp;<strong data-start="446" data-end="517">64-bit applications cannot directly communicate with 32-bit drivers</strong>. To address this limitation, we provide&nbsp;<strong data-start="558" data-end="569">QRemote</strong>.</p>
<p>For the users of QuickBooks 2021 or eariler, since a 64-Bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect, and we call it QRemote.&nbsp; QRemote works as a bridge (only for QuickBooks 2021 or lower) between 64-Bit Applications and the 32-Bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-Bit Web Servers and 64-Bit applications to talk to QuickBooks Live for the first time via the QODBC Driver.</p>
<p>For users running&nbsp;<strong data-start="1001" data-end="1030">QuickBooks 2022 and later</strong>, this additional layer is no longer required. These versions of QuickBooks are&nbsp;<strong data-start="1110" data-end="1140">native 64-bit applications</strong>, and the latest release of the&nbsp;<strong data-start="1172" data-end="1188">QODBC Driver</strong>&nbsp;includes a&nbsp;<strong data-start="1200" data-end="1234">fully compatible 64-bit driver</strong>. As a result, 64-bit applications can connect directly to QuickBooks (using the DSN "QuickBooks Data" ) without the need for QRemote.</p>
<p data-start="19" data-end="174"><strong data-start="19" data-end="37">QRemote Server</strong>&nbsp;is designed to enable connectivity and compatibility across different environments and application types. Its primary use cases include:</p>
<ol data-start="176" data-end="920" data-is-last-node="" data-is-only-node="">
<li data-section-id="6j3y3x" data-start="176" data-end="436"><strong data-start="179" data-end="209">Service-Based Applications</strong><br data-start="209" data-end="212" />QRemote Server is used with service-based applications such as&nbsp;<strong data-start="278" data-end="285" data-is-only-node="">IIS</strong>,&nbsp;&nbsp;<strong>SQL Server,&nbsp;</strong><strong data-start="287" data-end="294">PHP</strong>,&nbsp;<strong data-start="296" data-end="306">Apache</strong>, Windows Services, Data Adapters, and other web server environments where direct interaction with QuickBooks may not be feasible.</li>
<li data-section-id="wg5edk" data-start="438" data-end="650"><strong data-start="441" data-end="464">Remote Connectivity</strong><br data-start="464" data-end="467" />QRemote Server allows applications running on a&nbsp;<strong data-start="518" data-end="536" data-is-only-node="">remote machine</strong>&nbsp;to connect to QuickBooks hosted on another system, enabling distributed setups and centralized QuickBooks access.</li>
<li data-section-id="105i2ea" data-start="652" data-end="920" data-is-last-node=""><strong data-start="655" data-end="697">32-bit and 64-bit Compatibility Bridge for QuickBooks 2021 and earlier</strong><br data-start="697" data-end="700" />QRemote Server enables&nbsp;<strong data-start="726" data-end="749" data-is-only-node="">64-bit applications</strong>&nbsp;to communicate with&nbsp;<strong data-start="770" data-end="822">32-bit versions of QuickBooks (2021 and earlier)</strong>&nbsp;by bridging the architectural gap between modern applications and legacy QuickBooks environments.</li>
</ol>
<p>QODBC Bundled Edition for QuickBooks Enterprise Edition&nbsp;will not work&nbsp;with remote data sharing using QRemote; that functionality was not part of our contract with Intuit, and those functions are only included in the version of the driver we sell.</p>
<p>QODBC Bundled Edition for QuickBooks&nbsp;<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Enterprise<strong>&nbsp;2021&nbsp;</strong>and earlier</span>&nbsp;32-bit editions will not work&nbsp;with 64-bit applications; that functionality was not part of our contract with Intuit, and those functions are only included in the version of the driver we sell.</p>
<p>QODBC Bundled Edition for QuickBooks&nbsp;<span style="box-sizing: border-box; margin: 0px; padding: 0px;">Enterprise<strong>&nbsp;2022</strong></span>&nbsp;and eariler 64-bit editions will work&nbsp;with&nbsp;64-bit applications using the QODBC Driver (DSN = QuickBooks data), not QRemote.&nbsp;In these cases,&nbsp;&nbsp;<strong data-start="266" data-end="293">QRemote is not required</strong>, as the native 64-bit driver enables direct communication between the application and QuickBooks without the need for any intermediary layer.</p>
<p>QODBC Bundled Edition for QuickBooks Enterprise does not include a QRemote License. So, after 30 days, you will not be able to use QRemote.</p>
<p>After 30 days of evaluation, if you try to connect and use QRemote Other than QODBC Licensed, you will notice an "Evaluation Expired. QRemote requires a QODBC license." message.</p>
<p>So, if you want to use QRemote DSN, you must purchase the latest QODBC license.</p>
<p>Please <a href="http://qodbc.com/buy-now/" target="_blank">click here</a>&nbsp;to purchase a QODBC license.</p>
<p><strong>OR</strong></p>
<p>If you load the 32-bit version of MS Office on the machine, you won't have any problems using the driver we built for Enterprise Solutions.</p>
<p>To install the 32-bit version of MS Office on the machine. First, you need to uninstall the 64-bit version of MS Office.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Uninstallation of 64-bit MS Office:</span></span></h3>
<p>To uninstall the 64-bit version of MS Office, search "Control Panel" from the Start Menu &amp; click "Control Panel" from the result.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step1.png" alt="" /></p>
<p>The Control Panel is opened; click "Programs and Features" to uninstall MS Office 64-bit.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step2.png" alt="" /></p>
<p>From the program list, search for "Microsoft Office" &amp; click "Uninstall."</p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">MS Office 2010:</span></span></h4>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step13.png" alt="" /></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2013:</span></span></h4>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step18.png" alt="" /></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2016/365:</span></span></h4>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step3.png" alt="" /></p>
<p>After uninstalling the MS Office 64-bit version, you need to install the 32-bit version of MS Office.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Installation of 32-bit MS Office:</span></span></h3>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">MS Office 2019 / 365:</span></span></h4>
<p>The 64-bit version is installed by default unless Office detects you already have installed a 32-bit version of Office (or a stand-alone Office app such as Project or Visio). In this case, the 32-bit version of Office will be installed instead.<br /><br />To change from a&nbsp;<a class="ocpArticleLink" href="https://support.office.com/en-us/article/choose-between-the-64-bit-or-32-bit-version-of-office-2dee7807-8f95-4d0c-b5fe-6c6f49b8d261?wt.mc_id=scl_installoffice_home" target="_blank">32-bit version to a 64-bit version</a>&nbsp;or vice versa, you need to&nbsp;<a class="ocpArticleLink" href="https://support.office.com/en-us/article/uninstall-office-from-a-pc-9dd49b83-264a-477a-8fcc-2fdf5dbf61d8" target="_blank">uninstall</a>&nbsp;Office first (including any stand-alone Office apps you have, such as Project or Visio). Once the uninstall is complete, sign in to&nbsp;<a class="ocpExternalLink" href="https://www.office.com/" target="_blank">www.office.com</a>&nbsp;and select&nbsp;<span class="ocpUI">Other install options</span>, choose the language and version you want (64 or 32-bit), and then select&nbsp;<span class="ocpUI">Install</span>.</p>
<h4>Please refer to the following links.</h4>
<p><a href="https://support.office.com/en-us/article/use-the-office-offline-installer-f0a85fe7-118f-41cb-a791-d59cef96ad1c#OfficePlans=signinmsa" target="_blank">Use the Office offline installer</a>.</p>
<p><a href="https://support.office.com/en-us/article/download-and-install-or-reinstall-office-365-or-office-2019-on-a-pc-or-mac-4414eaaf-0478-48be-9c42-23adc4716658" target="_blank">Download and install or reinstall Office 365 or Office 2019 on a PC</a></p>
<p><a href="https://docs.microsoft.com/en-us/deployoffice/office2019/deploy" target="_blank">Deploy Office 2019 (for IT Pros)</a></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">MS Office 2010:</span></span></h4>
<p>You can install 32-bit MS Office by double-clicking on setup.exe from the MS Office 2010 setup folder.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step4.png" alt="" /></p>
<p>Please ensure that the MS Office folder does not contain <strong>x64</strong> in the folder name. If <strong>x64</strong>&nbsp;is in the folder name, it is the 64-bit installer. It would be best if you used the 32-bit installer.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step5.png" alt="" /></p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2013:</span></span></h4>
<p>In MS Office 2013, you need to navigate to the <strong>x86</strong> folder &amp; run setup.exe from the MS Office 2013 setup folder.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step6.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step7.png" alt="" /></p>
<p>If you run setup.exe from the main folder, it will install 64-bit MS Office.</p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Office 2016/365:</span></span></h4>
<p>In MS Office 2016/365, you need to navigate to the&nbsp;<strong>Office</strong> folder &amp; run Setup32.exe from the MS Office 2016/365 setup folder.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step8.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CMSO/step9.png" alt="" /></p>
<p>If you run Setup.exe from the main folder, it will install 64-bit MS Office.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use M-Files with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2997]]></link>
<guid isPermaLink="false"><![CDATA[a0b83c02d720415dada82e08bc09e9f3]]></guid>
<pubDate><![CDATA[Wed, 14 Feb 2018 12:39:05 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use M-Files with QODBC
Problem Description:
How to use M-Files with QODBC?
Solution:
Please follow the steps below for using M-Files with QODBC.
1. Open M-Files Admin.

2. Expand the desired connection to the M-Files Server in the left-side ...]]></description>
<content:encoded><![CDATA[<h2><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use M-Files with QODBC</span></strong></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to use M-Files with QODBC?</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 M-Files with QODBC.</p>
<p>1. Open M-Files Admin.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step1.png" alt="" /></p>
<p>2. Expand the desired connection to the M-Files Server in the left-side tree view.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step2.png" alt="" /></p>
<p>3. In the left-side tree view, expand the document vault of your choice.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step3.png" alt="" /></p>
<p>4. Still, expand the Metadata Structure (Flat View) node in the left-side tree view.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step4.png" alt="" /></p>
<p>5. Select the Value Lists node for defining a value list to use an external database connection. The value list is opened in the right pane.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step5.png" alt="" /></p>
<p>6. In the right-pane listing, right-click the value list of your choice and select "Properties" from the context menu.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step6.png" alt="" /></p>
<p>7. Select the "Connection to External Database" tab &amp; Enable the option "Use a connection to an external database to import and modify objects that reside in the external database." Click the "Define..." button next to the OLE DB connection string (from the server) field.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step7.png" alt="" /></p>
<p>8. On the Provider tab, select "Microsoft OLE DB Provider for ODBC Driver" from the list and click "Next &gt;&gt;."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step8.png" alt="" /></p>
<p>9. Select "QuickBooks Data" DSN from the dropdown list &amp; click "Test Connection."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step9.png" alt="" /></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>".<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>Test Connection successful.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step10.png" alt="" /></p>
<p>10. Click "OK" to close the Data Link Properties dialog.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step11.png" alt="" /></p>
<p>11. Back on the "Connection to External Database" tab, enter the SELECT statement for retrieving properties from the database to the SELECT statement field, &amp; Click the "Refresh Columns" button to fetch the data defined in your SELECT statement to the Columns listing.</p>
<p>For Example Select * from Customer</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step12.png" alt="" /></p>
<p>12. Map the Source Column properties with properties in your M-Files vault (listed in the Target Property column).</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MFiles/step13.png" alt="" /></p>
<p>QuickBooks Data is added to M-Files using QODBC. You can make changes to the application as per your requirement.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to create sp_reports using Microsoft Excel]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2996]]></link>
<guid isPermaLink="false"><![CDATA[f40438b554cc0e3d96ee6064c5798f55]]></guid>
<pubDate><![CDATA[Wed, 14 Feb 2018 11:55:29 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to create sp_reports using Microsoft Excel
How to extract sp_reports using Microsoft Excel 
Open Microsoft Query in Excel
Open Microsoft Excel, get external data from Microsoft Query via Data Menu -&gt; "Get Data -&gt; From Other Sources-&gt;From M...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to create sp_reports using Microsoft Excel</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">How to extract sp_reports using Microsoft Excel </span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Open Microsoft Query in Excel</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Open Microsoft Excel, get external data from Microsoft Query via Data Menu -&gt; "Get Data -&gt; From Other Sources-&gt;From Microsoft Query" as below:<br /></span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Book1%20-%20Microsoft%20Excel%20Preview_2012-10-31_12-42-25.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Book1%20-%20Microsoft%20Excel%20Preview_2012-10-31_12-42-48.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">It will take some time to get the DSN list: </span></span></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Book1%20-%20Microsoft%20Excel%20Preview_2012-10-31_12-48-31.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In the "Choose Data Source" Window, select the <strong>QuickBooks Data</strong> DSN you set up with the QODBC driver. This is one of our pre-installed DSN names or one that you have created. </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step1.png" alt="" /></p>
<p><strong>Note:</strong> Uncheck the option "Use Query Wizard to Create/edit Queries" since we do not need to import any tables here.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Note:</strong>&nbsp;You need to select the <strong>QuickBooks Online Data</strong> DSN. </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step2.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When using QuickBooks Online, the report loses the "Add Tables" window by clicking the "Close" button.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step3.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Press the "SQL" button to input your sp_report query as below. Here we take a BalanceSheetDetail report as an example:</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step4.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">sp_report BalanceSheetDetail parameters DateMacro = 'ThisMonthToDate'</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step5.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Click the "OK" button to close the warning message:</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step6.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Press the Execute button to get results in Microsoft Query:</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step7.png" alt="" /></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Return Records to Excel Spreadsheet</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Select Menu File -&gt; Return Data to Microsoft Excel to return records to an Excel Spreadsheet.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step8.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QReport/step9.png" alt="" /></p>
<p>Also, Refer:</p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2369" target="_blank">How to use the QuickBooks Reporting Engine with QODBC</a></p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2712" target="_blank">How to use the QuickBooks Reporting Engine with QODBC Online</a></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, Excel, MS Query, QODBC Online, Sp_reports, Balance sheet detail</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to manually start QRemoteServer]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2994]]></link>
<guid isPermaLink="false"><![CDATA[ec47a5de1ebd60f559fee4afd739d59b]]></guid>
<pubDate><![CDATA[Tue, 30 Jan 2018 12:59:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to manually start QRemoteServer
By default, QRemoteServer will start as soon as a user logs on to the system.
You can manually start QRemoteServer by following the steps below:
You can begin to QRemoteServer from: Start &gt;&gt; All Programs &gt;&g...]]></description>
<content:encoded><![CDATA[<h2><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to manually start QRemoteServer</span></strong></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By default, QRemoteServer will start as soon as a user logs on to the system.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can manually start QRemoteServer by following the steps below:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can begin to QRemoteServer from: Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC</span></p>
<h4><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Windows 10:</span></strong></h4>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image004.png" alt="" /></p>
<h4><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Windows 7 or Windows 2008:</span></strong></h4>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRemoteHang/step10.png" alt="" /></p>
<h4><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Windows 8.1 or Windows 2012:</span></strong></h4>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QRMAN/step1.png" alt="" /></p>
<p>You can locate QRemoteServer in Windows 8.1 or Windows 2012 by searching "QRemote Server for QODBC":</p>
<p>Click on QRemote Server for QODBC from&nbsp;the search result.</p>
<p>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QRMAN/step2.png" alt="" /></p>
<p>You can bring up the QRemote Server main window by double-clicking the QRemote Server icon from the system tray.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image005.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRENC/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer: </span></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2502" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Initialization Error, Error: Listening failed. Please restart application</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2649" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">QRemote Error "Could not connect to server/QRemoteServer."</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2916" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to turn On/Off Encryption on QRemote</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2595" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to remove QRemote from Startup</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2987" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to add QRemote to Startup</span></a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create or configure a QRemote DSN]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2993]]></link>
<guid isPermaLink="false"><![CDATA[58aaee7ae94b52697ad3b9275d46ec7f]]></guid>
<pubDate><![CDATA[Tue, 23 Jan 2018 09:08:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to create or configure a QRemote DSN
Launch QODBC Data Source Configuration
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locate the QODBC Driver for the QuickBooks program group from Startup Program: Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with ...]]></description>
<content:encoded><![CDATA[<h2><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to create or configure a QRemote DSN</span></strong></h2>
<h3><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Launch QODBC Data Source Configuration</span></strong></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locate the <strong>QODBC Driver for the QuickBooks</strong> program group from Startup Program: Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image008.png" alt="" /></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create a New 32-bit DSN </span></h3>
<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 align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>QRemote for QuickBooks</strong> option and click on the <strong>Finish</strong> button.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step2.png" alt="" /></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Configure the Created 32-bit DSN.</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Under the QRemote for QuickBooks Client DSN configuration screen, please fill in the following information </span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP Address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, you can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, you can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select <strong>QuickBooks Data</strong> DSN from the list. <span class="GramE">(Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step3.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After filling in all the details, click "Test Connection" to test the QRemote connection.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step4.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp; &nbsp; &nbsp; The test connection is successful.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRENC/step11.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click "OK" to save the DSN configuration. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step5.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New DSN created. Close the ODBC Manager by clicking "OK." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step8.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The new QODBC DSN has now been created. To modify the DSN anytime in the future, use the <strong>Configure</strong> button.</span></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create a New 64-bit DSN </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Navigate to Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source 64-bit</span></p>
<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 align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step11.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>QRemote for QuickBooks</strong> option and click on the <strong>Finish</strong> button.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step9.png" alt="" /></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Configure the Created 64-bit DSN.</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Under the QRemote for QuickBooks Client DSN configuration screen, please fill in the following information </span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP Address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, you can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, you can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select <strong>QuickBooks Data</strong> DSN from the list. <span class="GramE">(Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step3.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After filling in all the details, click "Test Connection" to test the QRemote connection.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step6.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp; &nbsp; &nbsp; The test connection is successful.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/QRENC/step11.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click "OK" to save the DSN configuration. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step7.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New DSN created. Close the ODBC Manager by clicking "OK." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CreateQRDSN/step10.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The new QODBC DSN has now been created. To modify the DSN anytime in the future, use the <strong>Configure</strong> button.</span></p>
<p>Also, refer to the following:</p>
<p><a href="https://qodbc.com/links/2915" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to use QRemoteServer with multiple Windows users - Use a different port for each user.</span></a></p>
<p><a href="https://qodbc.com/links/2993" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to create or configure a QRemote DSN</span></a></p>
<p><a href="https://qodbc.com/links/2649" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">Troubleshooting - QRemote Error "Could not connect to server/QRemoteServer"</span></a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/1929" target="_blank"><span style="font-family: Arial,Helvetica,sans-serif;">How to create or configure a QODBC DSN</span></a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to Use Prompted Date Ranges in MS Excel with sp_reports]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2991]]></link>
<guid isPermaLink="false"><![CDATA[c5c1cb0bebd56ae38817b251ad72bedb]]></guid>
<pubDate><![CDATA[Fri, 19 Jan 2018 09:14:33 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to Use Prompted Date Ranges in MS Excel with sp_reports
Problem Description:
I am using QODBC for exporting QuickBooks reports in MS Excel. I am using the BalanceSheetStandard report for specific date ranges as follows.
sp_report...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to Use Prompted Date Ranges in MS Excel with sp_reports</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC for exporting QuickBooks reports in MS Excel. I am using the BalanceSheetStandard report for specific date ranges as follows.</p>
<p>sp_report BalanceSheetStandard show Text, Label, Amount parameters DateFrom = {d'2020-01-01'},DateTo = {d'2020-06-30'}, SummarizeColumnsBy = 'TotalOnly'</p>
<p>I want to pass the date value in the parameter. So, I can execute reports for a specific date period without changing the query.</p>
<p>Do you know how to pass a value from Excel to the DateFrom and DateTo parameters?</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 Prompted Date Ranges in MS Excel with sp_reports.</p>
<p>First, you need to export the report to MS Excel.</p>
<p>Please refer to how<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2405" target="_blank">&nbsp;to create sp_reports using Microsoft Excel 2007</a>&nbsp;to export reports in MS Excel.</p>
<p>I have already exported the BalanceSheetStandard report to MS Excel.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step1.png" alt="" /></p>
<p>On the "Data" tab, click the "Queries &amp; Connections" button in the Excel sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step2.png" alt="" /></p>
<p>In the Workbook Connection Window, Right-click on the connection name &amp; click the "Properties" button to view detailed information:</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step3.png" alt="" /></p>
<p>Navigate to the Definition tab. You can view the Connection string and Command text.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step4.png" alt="" /></p>
<p>In the Excel command text, you need to replace the actual date value with the question mark for the parameter you want &amp; save it by clicking the "OK" button.</p>
<p>For Example: sp_report BalanceSheetStandard show Text, Label, Amount parameters DateFrom = ?,DateTo = ?, SummarizeColumnsBy = 'TotalOnly'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step5.png" alt="" /></p>
<p>Now, whenever you Refresh Data:</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step6.png" alt="" /></p>
<p>Excel will prompt for the parameter value.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step7.png" alt="" /></p>
<p>Please use the format below for providing the date value.</p>
<p><strong>YYYY-MM-DD</strong></p>
<p>Please enter both parameter values one by one &amp; click "OK."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step8.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step9.png" alt="" /></p>
<p>The report data gets refreshed with the parameter date value.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ExcelPara/step10.png" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Data source name not found and no default driver specified]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2988]]></link>
<guid isPermaLink="false"><![CDATA[faa453efde4ac6a36849ba381feb9e87]]></guid>
<pubDate><![CDATA[Wed, 17 Jan 2018 14:27:33 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Data source name not found, and no default driver specified
Problem Description:
I have QODBC running on a terminal server.o
I can use 64-bit Excel to query QODBC via the "from other sources." I have set up a 64-bit remote DSN that t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Data source name not found, and no default driver specified</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I have QODBC running on a terminal server.o</p>
<p>I can use 64-bit Excel to query QODBC via the "from other sources." I have set up a 64-bit remote DSN that talks to the user DSN.</p>
<p>I have written a test program in .NET that connects to QODBC and successfully returns data.</p>
<p>When I run the same code within an Excel Add-in. I get the error that it cannot find the data source name:</p>
<p>ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified</p>
<p>This occurs on my test application when I put in the wrong DSN. That is, it's not a 32/64-bit compatibility error, as you get a different message.</p>
<p>I can use QODBC in every way other than running as an Excel Add-in. Can you please advise where I have gone wrong?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>The data source you are attempting to connect to does not exist on your machine.</p>
<p>On Windows, data sources are created by the Microsoft ODBC Administrator. The available System data sources are listed in the System DSN tab. The User data sources available for the currently logged-on user are listed in the User DSN tab.</p>
<p><strong>OR</strong></p>
<p>You do not have permission to access the location where the data source is stored.</p>
<p>On Windows, the user account attempting to access the data source needs sufficient permissions to read the registry key where the data source is stored. System data sources are stored under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI. User data sources are stored under HKEY_CURRENT_USER\Software\ODBC\ODBC.INI.</p>
<p><strong>OR</strong></p>
<p>You are using a DSN-less connection on Windows that specifies a driver whose architecture differs from the application's. For example, you are using a 64-bit application, but the driver you specify in the connection string is only available as a 32-bit library. The application and ODBC driver architecture must be the same.</p>
<p>Please refer to the link below for more details:</p>
<p><a href="https://stackoverflow.com/questions/17115632/microsoftodbc-driver-manager-data-source-name-not-found-and-no-default-drive" target="_blank">[Microsoft][ODBC Driver Manager] Data source name not found, and no default driver specified </a></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to add QRemote to Startup]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2987]]></link>
<guid isPermaLink="false"><![CDATA[ae1d2c2d957a01dcb3f3b39685cdb4fa]]></guid>
<pubDate><![CDATA[Wed, 17 Jan 2018 10:16:31 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to add QRemote to Startup
Problem Description 1:
How to add QRemote to ALL users' startups?
Solution 1:
It would be best to enable QRemote Server to auto-start from the QRemote Server.
Open the QRemote Server from the Start Men...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to add QRemote to Startup</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 1:</span></span></h3>
<p>How to add QRemote to ALL users' startups?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution 1:</span></span></h3>
<p>It would be best to enable QRemote Server to auto-start from the QRemote Server.</p>
<p>Open the QRemote Server from the Start Menu or the Windows System Tray (near the system clock).</p>
<p>Navigate to File -- Settings.</p>
<p>Switch to the "Advanced" tab.</p>
<p>Enable&nbsp;"Start QRemote Server on system startup."</p>
<p>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2987/QRemote-Startup-Enable.png" alt="//support.flexquarters.com/esupport/newimages/2987/QRemote-Startup-Enable.png" /></p>
<p>To remove QRemote from startup.</p>
<p>Navigate to File -- Settings.</p>
<p>Switch to the "Advanced" tab.</p>
<p>Uncheck&nbsp;"Start QRemote Server on system startup."</p>
<p>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2987/QRemote-Startup-Disable.png" alt="//support.flexquarters.com/esupport/newimages/2987/QRemote-Startup-Disable.png" /></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 2:</span></span></h3>
<p>How to manually add the QRemote Server to the user's Startup?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution 2:</span></span></h3>
<p>You can manually add the startup folder of the user who will be using the QRemote/QuickBooks.</p>
<p>Please create a QRemote Server shortcut: Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Right-click on <span id="137fa98a-fe78-4ba4-b825-256056008a8a" class="GINGER_SOFTWARE_mark">QRemote Server</span> for QODBC &amp; click on "Send to" and select the "Desktop (create&nbsp;<span id="b87a8bd2-63f2-4233-93f4-49e0fde82532" class="GINGER_SOFTWARE_mark">shortcut)" option</span>.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step3.png" /></p>
<p>Now, copy the QRemote Server shortcut from the desktop. Right-click on the QRemote Server shortcut &amp; click "Copy."</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/step6.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step3.png" /></p>
<p>Now, explore the user's startup folder who will be using the QRemote/QuickBooks.</p>
<p><span id="d3664229-144e-4994-8166-14861c55d7e0" class="GINGER_SOFTWARE_mark">Start &gt;&gt; All</span> Programs &gt;&gt; Right-click on "Startup" &amp; click on "Explore."</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step2.png" /></p>
<p>Alternative.</p>
<p>Open the run command (Use the Windows + R keyboard shortcut.) and&nbsp;type shell: Startup&nbsp;&amp; click "OK."</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/step9.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step2.png" /></p>
<p>The startup folder is opened.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/step5.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step2.png" /></p>
<p>Paste the shortcut file from the desktop &amp; place it in the Startup folder.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/RemoveQRemoteStartup/Step4.png" /></p>
<p>Now QRemote Server will start for the selected user on startup (i.e., On System startup, Restart).</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 3:</span></span></h3>
<p>How to manually start QRemoteServer?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution 3:</span></span></h3>
<p>You can start QRemoteServer from: Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteHang/step10.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRENC/step2.png" alt="" /></p>
<p>After starting QRemoteServer, you can verify the QRemote configuration by clicking&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2649" target="_blank">here</a>.</p>
<p>Also, Refer:</p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2497" target="_blank">Troubleshooting - Listening failed. QRemote Server is shutting down in 15. Sec</a></p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2916" target="_blank">Troubleshooting - How to turn On/Off Encryption on QRemote</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I combine two reports and get the report of transactions of a customer.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2985]]></link>
<guid isPermaLink="false"><![CDATA[275d7fb2fd45098ad5c3ece2ed4a2824]]></guid>
<pubDate><![CDATA[Tue, 26 Dec 2017 10:31:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I combine two reports and get a customer's transactions report?
Problem Description:
I need a report by a particular Customer showing the beginning balance, payments made by the Customer, invoices with details showing the expe...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I combine two reports and get a customer's transactions report?</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I need a report by a particular Customer showing the beginning balance, payments made by the Customer, invoices with details showing the expense, and the ending balance. QuickBooks does not provide enough detail in the customer statements so parents can read them. I would also like to be able to email the statement to an email address.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You need to query different tables &amp; reports to get the required data. Once you get the data, you need to combine all the data.</p>
<p>You need to query the CustomerBalanceDetail report &amp; InvoiceLine, CreditMemoLine, ReceivePaymentLine, and CheckExpenseLine tables for a particular Customer.</p>
<p>You can use MS Excel for this &amp; can write VBA code in MS Excel which will query the above table &amp; report for particular Customers &amp; store results on a separate sheet. Once you get the impact on the separate sheet, you need to combine all sheet data &amp; paste it into the new sheet.</p>
<p>We have created seven full sheets (i.e., Sheet0 to Sheet6). Sheet 0 will be the input form, &amp; Sheet1 to 5 will contain data from the CustomerBalanceDetail report &amp; InvoiceLine, CreditMemoLine, ReceivePaymentLine, and CheckExpenseLine tables for particular Customers, and Sheet 6 will combine data from Sheets 1 to 5. We have created a sample MS Excel macro that will fetch the required data.</p>
<p>Sheet 0 will be the input form. To use this, you need to enter Customer FullName, StartDate &amp; EndDate &amp; click on the "Generate Report" button. In this example, I have used "Abercrombie, Kristy: Remodel Bathroom" as Customer FullName &amp; 1/1/2016 as the start date, and 12/31/2022 as the end date.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step1.png" alt="" /></p>
<p>On clicking the "Generate Report" button, we will query the report &amp; table for a particular Customer &amp; store the results in Sheet1 to Sheet5.</p>
<p>Sheet 1 will contain the result of the CustomerBalanceDetail report.</p>
<p>The query used for fetching data for Sheet1 is:</p>
<p>sp_report CustomerBalanceDetail show Text, Blank, TxnType as Type, Date, RefNumber as Num, Account, Amount, RunningBalance as Balance parameters DateFrom = {d'2016-01-01'}, DateTo = {d'2022-12-31'}, EntityFilterFullNames= 'Abercrombie, Kristy: Remodel Bathroom.'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step2.png" alt="" /></p>
<p>Sheet 2 will contain the result of the InvoiceLine report.</p>
<p>The query used for fetching data for Sheet2 is:</p>
<p>Select CustomerRefFullName, TxnDate, RefNumber, TermsRefFullName, AppliedAmount, Memo, InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount from InvoiceLine where TxnDate &gt;= {d'2016-01-01'} and TxnDate &lt;= {d'2022-12-31'} and CustomerRefFullName= 'Abercrombie, Kristy: Remodel Bathroom.'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step3.png" alt="" /></p>
<p>Sheet 3 will contain the result of the CreditMemoLine report.</p>
<p>The query used for fetching data for Sheet3 is:</p>
<p>Select CustomerRefFullName, TxnDate, RefNumber, TermsRefFullName, TotalAmount, Memo, CreditMemoLineItemRefFullName, CreditMemoLineDesc, CreditMemoLineQuantity, CreditMemoLineRate, CreditMemoLineAmount from CreditMemoLine where TxnDate &gt;= {d'2016-01-01'} and TxnDate &lt;= {d'2022-12-31'} and CustomerRefFullName= 'Abercrombie, Kristy: Remodel Bathroom.'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step4.png" alt="" /></p>
<p>Sheet 4 will contain the result of the ReceivePaymentLine report.</p>
<p>The query used for fetching data for Sheet4 is:</p>
<p>Select CustomerRefFullName, TxnDate, RefNumber,'", ' TotalAmount, Memo, UnusedPayment, UnusedCredits, AppliedToTxnTxnID, AppliedToTxnPaymentAmount, AppliedToTxnTxnType, AppliedToTxnTxnDate, AppliedToTxnRefNumber, AppliedToTxnBalanceRemaining from ReceivePaymentLine where TxnDate &gt;= {d'2016-01-01'} and TxnDate &lt;= {d'2022-12-31'} and CustomerRefFullName= 'Abercrombie, Kristy: Remodel Bathroom.'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step5.png" alt="" /></p>
<p>Sheet 5 will contain the result of the CheckExpenseLine report.</p>
<p>The query used for fetching data for Sheet5 is:</p>
<p>Select PayeeEntityRefFullName, TxnDate, RefNumber,'", 'Amount, Memo from CheckExpenseLine where TxnDate &gt;= {d'2016-01-01'} and TxnDate &lt;= {d'2022-12-31'} and PayeeEntityRefFullName= 'Abercrombie, Kristy: Remodel Bathroom.'</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step6.png" alt="" /></p>
<p><strong>Note:</strong> The ReceivePaymentLine &amp; CheckExpenseLine table does not have the TermsRefFullName field. To maintain the data structure in Sheet6, which contains combined data, I have added '" ' in the query of ReceivePaymentLine &amp; CheckExpenseLine.</p>
<p>Now, we have the required data in Sheet1 to Sheet5. We will combine these data into Sheet 6.</p>
<p>Sheet 6 will contain the combined result of Sheets 1 to 5.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CombineReport/step7.png" alt="" /></p>
<p>Please <a href="//support.flexquarters.com/esupport/newimages/CombineReport/CustomerBalanceDetails.zip">click here</a>&nbsp;to download the Sample Macro.</p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Application Source Code:</span></h3>
<p><!-- HTML generated using hilite.me --></p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">CommandButton1_Click</span>()

<span style="color: #008800; font-weight: bold;">Dim</span> cn <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>
<span style="color: #008800; font-weight: bold;">Dim</span> rs <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>

<span style="color: #008800; font-weight: bold;">Dim</span> strCon <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
<span style="color: #008800; font-weight: bold;">Dim</span> strSQL, CustName <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, Date1 <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Date</span>, Date2 <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Date</span>

<span style="color: #008800; font-weight: bold;">Dim</span> mainworkBook <span style="color: #000000; font-weight: bold;">As</span> Workbook

<span style="color: #008800; font-weight: bold;">Set</span> mainworkBook <span style="color: #333333;">=</span> ActiveWorkbook

strCon <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"DSN=Quickbooks Data;OLE DB Services=-2;"</span>

<span style="color: #008800; font-weight: bold;">Set</span> cn <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.Connection"</span>)
cn.Open strCon
<span style="color: #008800; font-weight: bold;">Dim</span> a <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>

Date1 <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet0"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">7</span>, <span style="color: #0000dd; font-weight: bold;">3</span>).Value
Date2 <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet0"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">8</span>, <span style="color: #0000dd; font-weight: bold;">3</span>).Value
CustName <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet0"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">6</span>, <span style="color: #0000dd; font-weight: bold;">3</span>).Value

strSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">" sp_report CustomerBalanceDetail show Text, Blank, TxnType as Type, Date, RefNumber as Num, Account,Amount, RunningBalance as Balance "</span> <span style="color: #333333;">&amp;</span> _
<span style="background-color: #fff0f0;">"parameters DateFrom = "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date1) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">", DateTO = "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date2) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">", EntityFilterFullNames=  '"</span> <span style="color: #333333;">&amp;</span> CustName <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'  "</span>


<span style="color: #008800; font-weight: bold;">Set</span> rs <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.RECORDSET"</span>)
rs.activeconnection <span style="color: #333333;">=</span> cn
rs.Open strSQL
Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Cells.ClearFormats
Sheet1.Range(<span style="background-color: #fff0f0;">"A1"</span>).CopyFromRecordset rs

rs.Close

strSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"select CustomerRefFullName,TxnDate,RefNumber,TermsRefFullName,AppliedAmount,Memo,InvoiceLineItemRefFullName,InvoiceLineDesc,InvoiceLineQuantity,InvoiceLineRate,InvoiceLineAmount from InvoiceLine where TxnDate &gt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date1) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and TxnDate &lt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date2) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and CustomerRefFullName= '"</span> <span style="color: #333333;">&amp;</span> CustName <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'"</span>

<span style="color: #008800; font-weight: bold;">Set</span> rs <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.RECORDSET"</span>)
rs.activeconnection <span style="color: #333333;">=</span> cn
rs.Open strSQL
Sheets(<span style="background-color: #fff0f0;">"Sheet2"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet2"</span>).Cells.ClearFormats
Sheet2.Range(<span style="background-color: #fff0f0;">"A1"</span>).CopyFromRecordset rs

rs.Close

strSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"select CustomerRefFullName,TxnDate,RefNumber,TermsRefFullName,TotalAmount,Memo,CreditMemoLineItemRefFullName,CreditMemoLineDesc,CreditMemoLineQuantity,CreditMemoLineRate,CreditMemoLineAmount from CreditMemoLine where TxnDate &gt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date1) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and TxnDate &lt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date2) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and CustomerRefFullName= '"</span> <span style="color: #333333;">&amp;</span> CustName <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'"</span>

<span style="color: #008800; font-weight: bold;">Set</span> rs <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.RECORDSET"</span>)
rs.activeconnection <span style="color: #333333;">=</span> cn
rs.Open strSQL
Sheets(<span style="background-color: #fff0f0;">"Sheet3"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet3"</span>).Cells.ClearFormats
Sheet3.Range(<span style="background-color: #fff0f0;">"A1"</span>).CopyFromRecordset rs

rs.Close

strSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"select CustomerRefFullName,TxnDate,RefNumber,'""',TotalAmount,Memo,UnusedPayment,UnusedCredits,AppliedToTxnTxnID,AppliedToTxnPaymentAmount,AppliedToTxnTxnType,AppliedToTxnTxnDate,AppliedToTxnRefNumber,AppliedToTxnBalanceRemaining from ReceivePaymentLine where TxnDate &gt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date1) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and TxnDate &lt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date2) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and CustomerRefFullName= '"</span> <span style="color: #333333;">&amp;</span> CustName <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'"</span>

<span style="color: #008800; font-weight: bold;">Set</span> rs <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.RECORDSET"</span>)
rs.activeconnection <span style="color: #333333;">=</span> cn
rs.Open strSQL
Sheets(<span style="background-color: #fff0f0;">"Sheet4"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet4"</span>).Cells.ClearFormats
Sheet5.Range(<span style="background-color: #fff0f0;">"A1"</span>).CopyFromRecordset rs
rs.Close

strSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"select PayeeEntityRefFullName,TxnDate,RefNumber,'""' ,Amount,Memo from CheckExpenseLine where TxnDate &gt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date1) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and TxnDate &lt;= "</span> <span style="color: #333333;">&amp;</span> fncqbDate(Date2) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">" and PayeeEntityRefFullName= '"</span> <span style="color: #333333;">&amp;</span> CustName <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'"</span>

<span style="color: #008800; font-weight: bold;">Set</span> rs <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.RECORDSET"</span>)
rs.activeconnection <span style="color: #333333;">=</span> cn
rs.Open strSQL
Sheets(<span style="background-color: #fff0f0;">"Sheet5"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet5"</span>).Cells.ClearFormats
Sheet6.Range(<span style="background-color: #fff0f0;">"A1"</span>).CopyFromRecordset rs

rs.Close
cn.Close

<span style="color: #008800; font-weight: bold;">Set</span> cn <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">Nothing</span>


Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Cells.ClearContents
Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Cells.ClearFormats
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Select

  <span style="color: #008800; font-weight: bold;">Dim</span> N <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Long</span>
  N <span style="color: #333333;">=</span> Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">8</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">100000</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Range(<span style="background-color: #fff0f0;">"A1:H2"</span>)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">0</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues

ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet2"</span>).Select

  
  N <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet2"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">1</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">100000</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet2"</span>).Range(<span style="background-color: #fff0f0;">"A1:N"</span> <span style="color: #333333;">&amp;</span> N)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">2</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues


ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet3"</span>).Select
  
  N <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet3"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">1</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">100000</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet3"</span>).Range(<span style="background-color: #fff0f0;">"A1:L"</span> <span style="color: #333333;">&amp;</span> N)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">2</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues


ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet4"</span>).Select
  
  N <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet4"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">1</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">100000</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet4"</span>).Range(<span style="background-color: #fff0f0;">"A1:M"</span> <span style="color: #333333;">&amp;</span> N)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">2</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues


ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet5"</span>).Select
  
  N <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet5"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">1</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">100000</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet5"</span>).Range(<span style="background-color: #fff0f0;">"A1:E"</span> <span style="color: #333333;">&amp;</span> N)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">2</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues


ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Select

  
  N <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Cells(<span style="color: #0000dd; font-weight: bold;">1</span>, <span style="color: #0000dd; font-weight: bold;">8</span>).End(xlDown).Row
  <span style="color: #008800; font-weight: bold;">If</span> (N <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">4</span>) <span style="color: #008800; font-weight: bold;">Then</span> N <span style="color: #333333;">=</span> N <span style="color: #333333;">-</span> <span style="color: #0000dd; font-weight: bold;">2</span>
  <span style="color: #008800; font-weight: bold;">Set</span> DT <span style="color: #333333;">=</span> ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet1"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> N <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">":H"</span> <span style="color: #333333;">&amp;</span> N <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">1</span>)
  DT.Select
  Selection.Copy

  ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Select
  lMaxRows <span style="color: #333333;">=</span> Cells(Rows.Count, <span style="background-color: #fff0f0;">"A"</span>).End(xlUp).Row
  ThisWorkbook.Sheets(<span style="background-color: #fff0f0;">"Sheet6"</span>).Range(<span style="background-color: #fff0f0;">"A"</span> <span style="color: #333333;">&amp;</span> lMaxRows <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">2</span>).Select
  Selection.PasteSpecial Paste:<span style="color: #333333;">=</span>xlPasteValues


<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

<span style="color: #008800; font-weight: bold;">Public</span> <span style="color: #008800; font-weight: bold;">Function</span> <span style="color: #0066bb; font-weight: bold;">Nz</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> Value, <span style="color: #008800; font-weight: bold;">Optional</span> <span style="color: #008800; font-weight: bold;">ByVal</span> ValueIfNull <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">""</span>)

    Nz <span style="color: #333333;">=</span> IIf(IsNull(Value), ValueIfNull, Value)

<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Function</span>
<span style="color: #008800; font-weight: bold;">Function</span> <span style="color: #0066bb; font-weight: bold;">fncqbDate</span>(myDate <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Date</span>) <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>

myDate <span style="color: #333333;">=</span> Nz(myDate, Now)
fncqbDate <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"{d '"</span> <span style="color: #333333;">&amp;</span> Year(myDate) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"-"</span> <span style="color: #333333;">&amp;</span> Right(<span style="background-color: #fff0f0;">"00"</span> <span style="color: #333333;">&amp;</span> Month(myDate), <span style="color: #0000dd; font-weight: bold;">2</span>) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"-"</span> <span style="color: #333333;">&amp;</span> Right(<span style="background-color: #fff0f0;">"00"</span> <span style="color: #333333;">&amp;</span> Day(myDate), <span style="color: #0000dd; font-weight: bold;">2</span>) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'}"</span>

<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Function</span>
</pre>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Auto Add relationship Between two tables in QlikSense Desktop using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2984]]></link>
<guid isPermaLink="false"><![CDATA[1c67df9e0a5cfefa030b853983324004]]></guid>
<pubDate><![CDATA[Tue, 26 Dec 2017 10:19:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Auto-Add a relationship between two tables in QlikSense Desktop using QODBC
Problem Description:
How to Auto-Add a relationship Between two tables in QlikSense Desktop using QODBC?
Solution:
Please create a new application in QlikSense Desktop ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Auto-Add a relationship between two tables in QlikSense Desktop using QODBC</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to Auto-Add a relationship Between two tables in QlikSense Desktop using QODBC?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>Please create a new application in QlikSense Desktop &amp; connect to QuickBooks Data through QODBC. Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2983" target="_blank">How to use QlikSense Desktop with QODBC</a> for connection details.</p>
<p>I am assuming that you have referred to the above link &amp; connected to QuickBooks from QlikSense Desktop using QODBC.</p>
<p>The connection was made with QuickBooks through "QuickBooks Data" DSN &amp; you can see the list of tables and windows list of tables available.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step7.png" alt="" /></p>
<p>Select the table you want to add to the QlikSense Desktop &amp; click the "Add data" button. In this example, I am selecting the Customer &amp; Invoice table.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step8.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step9.png" alt="" /></p>
<p>Adding data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step10.png" alt="" /></p>
<p>The Customer &amp; Invoice table data is added to the QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step11.png" alt="" /></p>
<p>Please click the Relationship icon to associate table data according to the recommendation.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step12.png" alt="" /></p>
<p>The relationship is automatically added between the Customer &amp; Invoice tables.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step13.png" alt="" /></p>
<p>Please click on the join icon to see the relationship details.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step14.png" alt="" /></p>
<p>You can see that the Customer table's "ListID" is related to the Invoice table's "CustomerRefListID" field.</p>
<p>&nbsp;</p>
<p>Please click the "Load data" button on the QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step18.png" alt="" /></p>
<p>Loading data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step19.png" alt="" /></p>
<p>The data is loaded successfully. Click on the "Edit the sheet" button to add data to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step20.png" alt="" /></p>
<p>The empty sheet is open in the QlikSense Desktop. Click on the "Fields" icon to add table fields to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step21.png" alt="" /></p>
<p>In this example, I have added the Customer table's Phone, Email field &amp; Invoice table's CustomerRefFullName, RefNumber, and SubTotal field in the sheet. Please click on the "Done" button to finish editing the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step22.png" alt="" /></p>
<p>QlikSense Desktop displays data in the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step23.png" alt="" /></p>
<p>Now, you can perform any operation on table data using QlikSense Desktop.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QlikSense Desktop with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2983]]></link>
<guid isPermaLink="false"><![CDATA[b1b0432ceafb0ce714426e9114852ac7]]></guid>
<pubDate><![CDATA[Tue, 26 Dec 2017 09:56:22 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QlikSense Desktop with QODBC
To use QlikSense Desktop with QODBC, please follow the steps below.
Open QlikSense Desktop &amp; click on the "CREATE A NEW APP" button.

Enter the app name and click the "Create" button.

A New application in...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use QlikSense Desktop with QODBC</span></h2>
<p>To use QlikSense Desktop with QODBC, please follow the steps below.</p>
<p>Open QlikSense Desktop &amp; click on the "CREATE A NEW APP" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step1.png" alt="" /></p>
<p>Enter the app name and click the "Create" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step2.png" alt="" /></p>
<p>A New application in QlikSense Desktop was created successfully. Click "Open app" for the opening application.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step3.png" alt="" /></p>
<p>The application has two options: "Add Data" &amp; "Data Load Editor." In this example, I am using the "Add Data" option. Click the "Add Data" button to update QuickBooks Data to QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step4.png" alt="" /></p>
<p>QlikSense Desktop will show a list of the data sources. Please select the "ODBC" data source.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step5.png" alt="" /></p>
<p>In the Create new connection (ODBC) window, select "System DSN" &amp; enable the "32-bit" option, select DSN &amp; click on the "Create" button. You can change DSN as per your configuration. I am connecting to the default DSN, "QuickBooks Data," in this example.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step6.png" alt="" /></p>
<p>The connection was made with QuickBooks through QuickBooks Data DSN &amp; you can see the list of tables and the list of tables available.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step7.png" alt="" /></p>
<p>Select the table you want to add to the QlikSense Desktop &amp; click the "Add data" button. In this example, I am selecting the Customer table.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step15.png" alt="" /></p>
<p>Adding data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step10.png" alt="" /></p>
<p>The customer table data is added to the QlikSense Desktop. Now, you can perform any operation on table data using QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step16.png" alt="" /></p>
<p>You can view table data by double-clicking the "Customer" table icon.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step17.png" alt="" /></p>
<p>Please click the "Load data" button on the QlikSense Desktop.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step24.png" alt="" /></p>
<p>Loading data is in progress.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step25.png" alt="" /></p>
<p>The data is loaded successfully. Click on the "Edit the sheet" button to add data to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step26.png" alt="" /></p>
<p>The empty sheet is open in the QlikSense Desktop. Click on the "Fields" icon to add table fields to the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step21.png" alt="" /></p>
<p>In this example, I have added the Customer table's FullName, CompanyName, TermsRefFullName, Phone, and Email fields on the sheet. Please click on the "Done" button to finish editing the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step27.png" alt="" /></p>
<p>QlikSense Desktop displays data on the sheet.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QlikSense/step28.png" alt="" /></p>
<p>Now, you can perform any operation on table data using QlikSense Desktop.</p>
<p>Also, Refer:</p>
<p><a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2984" target="_blank">How to Auto Add relationship Between two tables in QlikSense Desktop using QODBC</a></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to connect to QuickBooks using PDO]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2982]]></link>
<guid isPermaLink="false"><![CDATA[a11ce019e96a4c60832eadd755a17a58]]></guid>
<pubDate><![CDATA[Tue, 26 Dec 2017 09:45:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to connect to QuickBooks using PDO 
Problem Description:
We have a setup connecting a PHP application to QuickBooks with QODBC. This works correctly using odbc_connect.
However, if we try to connect using PDO instead, we get 500 ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to connect to QuickBooks using PDO </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>We have a setup connecting a PHP application to QuickBooks with QODBC. This works correctly using odbc_connect.</p>
<p>However, if we try to connect using PDO instead, we get 500 Internal Errors. See the code below:</p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;">try{
$conn = new PDO ("odbc:QuickBooks Data QRemote", "", "");
$conn-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

$query = "SELECT * FROM Customer";
#Perform the query

$conn-&gt;beginTransaction();
$stmt = $conn-&gt;prepare($query);
$stmt-&gt;execute();
$conn-&gt;commit();
$res = $stmt-&gt;fetchAll(PDO::FETCH_ASSOC);

print_r($res);

die(json_encode(array('outcome' =&gt; true)));
}
catch(PDOException $ex){
die(json_encode(array('outcome' =&gt; false, 'message' =&gt; 'Unable to connect')));
}
</pre>
</div>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/PDO/step1.png" alt="" /></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>To resolve this issue, please download &amp; install QODBC's latest version, V323 or above, by clicking <a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank">here</a>.</p>
<p>There is a known issue with the PDO connection when connecting to QRemote using PDO; it does not return the result if you have a lot of records on the table or are fetching all columns (i.e., Select * from TableName).</p>
<p>So instead of selecting all columns using the wildcard character *, you need to specify a limited column name &amp; execute the query.</p>
<p>For Example:</p>
<p>Select ListID, FullName, CompanyName, Email, and Balance from the Customer</p>
<p>Select TxnID, CustomerRefFullName, TxnDate, RefNumber, TermsRefFullName, Subtotal, InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount FROM InvoiceLine</p>
<p>If your table contains a lot of data, please use the date filter in your query below.</p>
<p>For Example:</p>
<p>Select TxnID, CustomerRefFullName, TxnDate, RefNumber, TermsRefFullName, Subtotal, InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineAmount FROM InvoiceLine TxnDate &gt;= {d'2017-06-01'} and TxnDate &lt;= {d'2017-06-30'}</p>
<p>After installing the latest QODBC version, you should be able to run the PDO script.</p>
<p>Please use the sample script.</p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #557799;">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;</span>
<span style="color: #007700;">&lt;html&gt;</span>
<span style="color: #007700;">&lt;head&gt;</span>
<span style="color: #007700;">&lt;title&gt;</span>QODBC PHP Script To Display SQL Results<span style="color: #007700;">&lt;/title&gt;</span>
<span style="color: #007700;">&lt;/head&gt;</span>
<span style="color: #007700;">&lt;body</span> <span style="color: #0000cc;">topmargin=</span><span style="background-color: #fff0f0;">"3"</span> <span style="color: #0000cc;">leftmargin=</span><span style="background-color: #fff0f0;">"3"</span> <span style="color: #0000cc;">marginheight=</span><span style="background-color: #fff0f0;">"0"</span> <span style="color: #0000cc;">marginwidth=</span><span style="background-color: #fff0f0;">"0"</span> <span style="color: #0000cc;">bgcolor=</span><span style="background-color: #fff0f0;">"#ffffff"</span> <span style="color: #0000cc;">link=</span><span style="background-color: #fff0f0;">"#000066"</span> <span style="color: #0000cc;">vlink=</span><span style="background-color: #fff0f0;">"#000000"</span> <span style="color: #0000cc;">alink=</span><span style="background-color: #fff0f0;">"#0000ff"</span> <span style="color: #0000cc;">text=</span><span style="background-color: #fff0f0;">"#000000"</span><span style="color: #007700;">&gt;</span>
<span style="color: #007700;">&lt;table</span> <span style="color: #0000cc;">border=</span><span style="background-color: #fff0f0;">"0"</span> <span style="color: #0000cc;">border=</span><span style="background-color: #fff0f0;">"0"</span> <span style="color: #0000cc;">bgcolor=</span><span style="background-color: #fff0f0;">"lightgreen"</span> <span style="color: #0000cc;">bordercolor=</span><span style="background-color: #fff0f0;">"black"</span> <span style="color: #0000cc;">cellpadding=</span><span style="background-color: #fff0f0;">"0"</span> <span style="color: #0000cc;">cellspacing=</span><span style="background-color: #fff0f0;">"0"</span><span style="color: #007700;">&gt;</span>
<span style="color: #007700;">&lt;tr&gt;</span>
<span style="color: #007700;">&lt;td&gt;</span>
<span style="color: #007700;">&lt;table</span> <span style="color: #0000cc;">border=</span><span style="background-color: #fff0f0;">"2"</span> <span style="color: #0000cc;">bordercolor=</span><span style="background-color: #fff0f0;">"black"</span> <span style="color: #0000cc;">bgcolor=</span><span style="background-color: #fff0f0;">"white"</span> <span style="color: #0000cc;">cellpadding=</span><span style="background-color: #fff0f0;">"5"</span> <span style="color: #0000cc;">cellspacing=</span><span style="background-color: #fff0f0;">"0"</span><span style="color: #007700;">&gt;</span>
<span style="color: #007700;">&lt;caption</span> <span style="color: #0000cc;">align=</span><span style="background-color: #fff0f0;">"top"</span><span style="color: #007700;">&gt;</span>QODBC PHP Script To Display SQL Results<span style="color: #007700;">&lt;/caption&gt;</span>
<span style="color: #557799;">&lt;?php</span>
<span style="color: #996633;">$conn</span> <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">new</span> PDO (<span style="background-color: #fff0f0;">"odbc:QuickBooks Data QRemote"</span>, <span style="background-color: #fff0f0;">""</span>, <span style="background-color: #fff0f0;">""</span>);
<span style="color: #996633;">$conn</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">setAttribute</span>(PDO<span style="color: #333333;">::</span><span style="color: #0000cc;">ATTR_ERRMODE</span>, PDO<span style="color: #333333;">::</span><span style="color: #0000cc;">ERRMODE_EXCEPTION</span>);
<span style="color: #996633;">$conn</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">setAttribute</span>( PDO<span style="color: #333333;">::</span><span style="color: #0000cc;">ATTR_ERRMODE</span>, PDO<span style="color: #333333;">::</span><span style="color: #0000cc;">ERRMODE_WARNING</span> );
<span style="color: #996633;">$query</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"SELECT TxnID,CustomerRefFullName,TxnDate,RefNumber,BillAddressAddr1,BillAddressAddr2,BillAddressCity,BillAddressState,BillAddressPostalCode,TermsRefFullName,DueDate,Subtotal,InvoiceLineItemRefFullName,InvoiceLineDesc,InvoiceLineQuantity,InvoiceLineRate,InvoiceLineAmount FROM InvoiceLine"</span>;
<span style="color: #996633;">$stmt</span> <span style="color: #333333;">=</span> <span style="color: #996633;">$conn</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">prepare</span>(<span style="color: #996633;">$query</span>);
<span style="color: #996633;">$stmt</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">execute</span>();
<span style="color: #996633;">$colcount</span> <span style="color: #333333;">=</span> <span style="color: #996633;">$stmt</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">columnCount</span>();
<span style="color: #008800; font-weight: bold;">foreach</span> (<span style="color: #996633;">$stmt</span><span style="color: #333333;">-&gt;</span><span style="color: #0000cc;">fetchall</span>(PDO<span style="color: #333333;">::</span><span style="color: #0000cc;">FETCH_BOTH</span>) <span style="color: #008800; font-weight: bold;">as</span> <span style="color: #996633;">$row</span>)
{
  <span style="color: #008800; font-weight: bold;">echo</span> <span style="background-color: #fff0f0;">'&lt;tr&gt;'</span>;
  <span style="color: #008800; font-weight: bold;">for</span>(<span style="color: #996633;">$i</span> <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>; <span style="color: #996633;">$i</span> <span style="color: #333333;">&lt;</span> <span style="color: #996633;">$colcount</span>;  <span style="color: #996633;">$i</span><span style="color: #333333;">++</span> ) {
		<span style="color: #008800; font-weight: bold;">echo</span> <span style="background-color: #fff0f0;">'&lt;td&gt;'</span>;
		<span style="color: #007020;">print_r</span>(<span style="color: #996633;">$row</span>[<span style="background-color: #fff0f0;">"</span><span style="background-color: #eeeeee;">$i</span><span style="background-color: #fff0f0;">"</span>]);
		<span style="color: #008800; font-weight: bold;">echo</span> <span style="background-color: #fff0f0;">'&lt;/td&gt;'</span>;
  }
  <span style="color: #008800; font-weight: bold;">echo</span> <span style="background-color: #fff0f0;">'&lt;/tr&gt;'</span>;
}
<span style="color: #557799;">?&gt;</span>
<span style="color: #007700;">&lt;/table&gt;</span>
<span style="color: #007700;">&lt;/td&gt;</span>
<span style="color: #007700;">&lt;/tr&gt;</span>
<span style="color: #007700;">&lt;/table&gt;</span>
<span style="color: #007700;">&lt;/body&gt;</span>
<span style="color: #007700;">&lt;/html&gt;</span>
</pre>
</div>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/PDO/step2.png" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use BarTender with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2979]]></link>
<guid isPermaLink="false"><![CDATA[2d71b2ae158c7c5912cc0bbde2bb9d95]]></guid>
<pubDate><![CDATA[Wed, 20 Dec 2017 14:05:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use BarTender with QODBC
Problem Description:
How to use BarTender with QODBC?
Solution:
Please follow the steps below for using BarTender with QODBC.
Please start BarTender &amp; create a new document by clicking "Start a new BarTender docume...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use BarTender with QODBC</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to use BarTender with QODBC?</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 BarTender with QODBC.</p>
<p>Please start BarTender &amp; create a new document by clicking "Start a new BarTender document...".</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step1.png" alt="" /></p>
<p>Select the "Blank Template" option &amp; click "Finish." You can use "Existing BarTender Document" if you have an existing BarTender document &amp; want to use it.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step2.png" alt="" /></p>
<p>The new BarTender document is open. Click the "Database" icon to add an ODBC connection to QuickBooks.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step3.png" alt="" /></p>
<p>On the Database Setup Wizard page, select "ODBC Connection" &amp; click "Next."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step4.png" alt="" /></p>
<p>Select "QuickBooks Data" data source and click "Next."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step5.png" alt="" /></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>" <br />Please refer to how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">&nbsp;to configure QRemote</a>.</p>
<p>Now, please select the table which you want to use with BarTender.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step6.png" alt="" /></p>
<p>Double-click on the table name to add it to BarTender &amp; click "Finish." In this example, I have added a Customer table.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step7.png" alt="" /></p>
<p>You will notice the "Loading Columns" message by clicking "Finish."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step8.png" alt="" /></p>
<p>Database connection properties are stored in the document. Now, click "Record Browser" for browsing records.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step9.png" alt="" /></p>
<p>The Record Browser shows customer table records. Click "OK" to return to the document.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step10.png" alt="" /></p>
<p>The customer table data is added to the document. Click "Data Sources" for the list of available table fields.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step11.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step12.png" alt="" /></p>
<p>We need to add control to display table data in the BarTender document. In this example, I am adding a single-line text object.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step13.png" alt="" /></p>
<p>The "Text Object" is added to the document.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step14.png" alt="" /></p>
<p>Now drag any table field in the object that you want to show. I have added the FullName field to the Text Object in this example.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step15.png" alt="" /></p>
<p>You will notice that Customer FullName is loaded into the BarTender document.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step16.png" alt="" /></p>
<p>On clicking the "Next" icon, it will show the following record details.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/BarTender/step17.png" alt="" /></p>
<p>QuickBooks Data is added to BarTender using QODBC. You can make changes to the application as per your requirement.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use dBase Plus with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2978]]></link>
<guid isPermaLink="false"><![CDATA[9edcc1391c208ba0b503fe9a22574251]]></guid>
<pubDate><![CDATA[Wed, 06 Dec 2017 12:19:47 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use dBase Plus with QODBC
Problem Description:
How to use dBase Plus with QODBC?
Solution:
Please follow the steps below for using dBase Plus with QODBC.
Please start dBase Plus &amp; create a new form by clicking "New Form."

Select the "De...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to use dBase Plus with QODBC</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to use dBase Plus with QODBC?</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 dBase Plus with QODBC.</p>
<p>Please start dBase Plus &amp; create a new form by clicking "New Form."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step1.png" alt="" /></p>
<p>Select the "Designer" option in the form, creating a window.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step2.png" alt="" /></p>
<p>The form window is open.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step3.png" alt="" /></p>
<p>Now go to the "ADO Access" tab on the Component palette &amp; drop an "ADODatabase."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step4.png" alt="" /></p>
<p>The ADODatabase is added to the form. Configure the Database connection using the "Settings" icon in front of the "connectionString" label from the ADODatabase property window.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step5.png" alt="" /></p>
<p>In the Build Connection String window, select the "Connection statement:" option &amp; click "Data Link Properties."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step6.png" alt="" /></p>
<p>In the Data Link Properties window, select the "Connection" tab &amp; choose the "Use data source name" option &amp; select "QuickBooks Data" from the drop-down box, and click "Test Connection."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step7.png" alt="" /></p>
<p>Please Note: If you have a 64-bit application, you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote,</strong>" as shown in the screenshot below.<br />Please refer to how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">&nbsp;to configure QRemote</a>.</p>
<p>You will notice the "Test connection succeeded" pop-up message on a successful database connection; click "OK" to close the pop-up message.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step8.png" alt="" /></p>
<p>Click "OK" to finish the configuration.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step9.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step10.png" alt="" /></p>
<p>The database connection is added. Please set the "Active" property to "True."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step11.png" alt="" /></p>
<p>The ADODatabase "Active" property is set to "True." Now go to the "ADO Access" tab on the Component palette &amp; drop an "ADOTable."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step12.png" alt="" /></p>
<p>In this example, I have used the Customer table. In this example, I have used the Customer table. In this example, I have used the Customer table. Now, please input the Table Name from the "tableName" property label from the ADOTable property window. The adorable is added to the form.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step13.png" alt="" /></p>
<p>The table name is added. Please set the "Active" property to "True."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step14.png" alt="" /></p>
<p>Now, please refresh the dBase Plus connection by switching between the "Navigator" &amp; "Form" windows &amp; you will see the Customer table field added in the "ADOTable."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step15.png" alt="" /></p>
<p>In the Fields tool window, drag a table field to the form. In this example, I have added the "Name" field of the Customer table.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/dbaseplus/step16.png" alt="" /></p>
<p>QuickBooks Data is added to dBase Plus using QODBC. You can make changes in the application as per your requirement &amp; run the application.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Using Optimizer Off for selected tables in MS-Access linked table with QRemote]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2977]]></link>
<guid isPermaLink="false"><![CDATA[2bd2e3373dce441c6c3bfadd1daa953e]]></guid>
<pubDate><![CDATA[Mon, 04 Dec 2017 07:16:45 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using Optimizer Off for selected tables in an MS-Access linked table with QRemote 
Problem Description:
I am using QODBC to access QuickBooks Data. I have linked all QuickBooks tables using QRemote DSN.
I want to use the Customer table to be Optimizer ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Using Optimizer Off for selected tables in an MS-Access linked table with QRemote </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC to access QuickBooks Data. I have linked all QuickBooks tables using QRemote DSN.</p>
<p>I want to use the Customer table to be Optimizer OFF and the rest of the tables with Optimizer ON.</p>
<p>How can I achieve this?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>It would be best if you had the Customer table with Optimizer OFF and the rest of the tables to be Optimizer ON. It would be best if you used a separate DSN with Optimizer Off for the Customer table.</p>
<p>You need to create a new QODBC DSN through Configure QODBC Data Source.</p>
<p>You can open Configure QODBC Data Source from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step1.png" alt="" /></p>
<p>Click on the "System DSN" tab to create a DSN that both Windows applications and services can call. Click on the "Add" button to create a new DSN.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step2.png" alt="" /></p>
<p>Select the "QODBC Driver for QuickBooks" option and click on the "Finish" button.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step3.png" alt="" /></p>
<p>Name your new DSN as "QuickBooks Data-OPT-OFF."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step4.png" alt="" /></p>
<p>Switch to the "Optimizer" tab/window and uncheck the "Use Optimizer" option, &amp; Click "Apply" followed by "OK" to save the DSN configuration.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step5.png" alt="" /></p>
<p>New DSN created. Close the ODBC Manager by clicking "OK."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step6.png" alt="" /></p>
<p>After this, you need to create a new QRemote DSN through Configure QODBC Data Source 64-bit.</p>
<p>You can open Configure QODBC Data Source from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source 64-bit.</p>
<p><strong>Note:</strong> If you are using a 32-bit application &amp; using QRemote, then you need to open Configure QODBC Data Source from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source &amp; create a new QRemote DSN from 32-bit ODBC Manager.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image008.png" alt="" /></p>
<p>Click on the "System DSN" tab to create a DSN that both Windows applications and services can call. Click on the "Add" button to create a new DSN.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step13.png" alt="" /></p>
<p>Select the "QRemote for QuickBooks" option and click on the "Finish" button.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step14.png" alt="" /></p>
<p>Name your new DSN as "QRemote-OPT-OFF."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step15.png" alt="" /></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP Address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, you can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, you can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select <strong>QuickBooks Data-OPT-OFF</strong> DSN from the list. <span class="GramE">(Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<p>Click "OK" to save the DSN configuration.</p>
<p>Start QuickBooks login to the Company File as Admin. Start QuickBooks login to the Company File as Admin. New DSN created. Close the ODBC Manager by clicking "OK."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step16.png" alt="" /></p>
<p>&nbsp;</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step7.png" alt="" /></p>
<p>Switch to your MS-Access application. Right-click on Linked tables and select "Linked Table Manager." I have linked all tables in the MS Access Database using the "QuickBooks Data" DSN with the Optimizer ON option.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step8.png" alt="" /></p>
<p>From the list of tables, select the Customer table &amp; enable the "Always prompt for a new location" option, and click "OK."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step17.png" alt="" /></p>
<p>From the DSN list, select the newly created DSN from "Machine Data Source." Instead of using "QuickBooks Data 64-bit QRemote", Select "QRemote-OPT-OFF."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step18.png" alt="" /></p>
<p>The linked table has been refreshed.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step11.png" alt="" /></p>
<p>Customer table DSN is changed to "QRemote-OPT-OFF" from "QuickBooks Data 64-bit QRemote". Close "Linked Table Manager" by clicking the "Close" button.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/MSAOPTOFF/step19.png" alt="" /></p>
<p>This way, MS Access will create a new Connection to QuickBooks Data-OPT-OFF (Optimizer Off - when accessing the Customer table). For the rest of the tables, MS Access will use QuickBooks Data (Optimizer On).</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use any other QuickBooks user other than Admin.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2974]]></link>
<guid isPermaLink="false"><![CDATA[6788076842014c83cedadbe6b0ba0314]]></guid>
<pubDate><![CDATA[Fri, 01 Dec 2017 08:48:35 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to use any other QuickBooks user other than Admin.
Problem Description:
We have installed the QODBC and can read the tables in the QODBC Test Tool. However, after doing the initial read as an admin to QuickBooks, we cannot read th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to use any other QuickBooks user other than Admin.</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>We have installed the QODBC and can read the tables in the QODBC Test Tool. However, after doing the initial read as an admin to QuickBooks, we cannot read the tables as the QuickBooks QODBC user.</p>
<p>Our CFO is uncomfortable with leaving the admin user logged in on another machine for this purpose.</p>
<p>Please, can you show me how to move forward?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>I think you have selected the Admin user in the Integrated Application Preference at the time of certificate acceptance in QuickBooks.</p>
<p>Selecting an Admin user in the certificate acceptance process in QuickBooks is unnecessary. You need to log in as Admin in your company file &amp; try to connect with your application. You need to select the User Name in the certificate and accept the application integration certificate.&nbsp;You may remove the certificate or change the user associated with the auto login.</p>
<p>Follow the steps below for using another user account on the integrated application configuration.</p>
<p>1. Try removing all the QODBC integrated application entries in QuickBooks again via Edit Menu -&gt; Preferences -&gt; Integrated Applications -&gt; Company Preferences Tab.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/IntegratedApp/step1.png" alt="" /></p>
<p>Switch to the Company Preferences tab, select "FLEXquarters QODBC," and click "Remove."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/IntAppPOS/step7.png" alt="" /></p>
<p>2. Log in to your company file as Admin, connect with your application, and accept the Certificate. You need to select the User Name in the certificate and accept the process you want to certify. If you authorize QODBC for the first time, select the appropriate user from the list.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/UserRight/step2.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Excel2013-64/step6.png" alt="" /></p>
<p>You need to accept the certificate for each Windows User &amp; for each application certificate you want to use with QODBC.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Error = 80040437, The user you are trying to log in with is already logged in from another machine.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2973]]></link>
<guid isPermaLink="false"><![CDATA[e37b08dd3015330dcbb5d6663667b8b8]]></guid>
<pubDate><![CDATA[Mon, 27 Nov 2017 14:28:35 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Error = 80040437, The user you are trying to log in with is already logged in from another machine.
Problem Description:
Our company uses QuickBooks 2018 contractor edition, which allows only one user to use it simultaneously.
Yester...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Error = 80040437, The user you are trying to log in with is already logged in from another machine.</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>Our company uses QuickBooks 2018 contractor edition, which allows only one user to use it simultaneously.</p>
<p>Yesterday, I set up QODBC with an admin account. Our finance team leader always uses this account.</p>
<p>Therefore, the QODBC driver can't connect to QuickBooks today. It has 80040437. The user you try to log in with is already logged in from another machine.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/80040437/step1.png" alt="" /></p>
<p>The team leader accesses from her work machine, and QODBC is running on a QuickBooks Server machine.</p>
<p>Could you advise how we can solve this problem?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Scenario: QuickBooks is running, and a QuickBooks user is logged in to the QuickBooks Company File:</span></span></h4>
<p>When you connect to QuickBooks using your Application through QODBC, at that time, QODBC will connect to QuickBooks using QuickBooks SDK &amp; log in to QuickBooks with the "User" who is currently logged in to the company file. The user specified in the Integrated Application Preference is ignored.</p>
<h4><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Scenario: QuickBooks is not running, and you have configured QODBC to auto-login to QuickBooks:</span></span></h4>
<p>When you connect to QuickBooks using your Application through QODBC at that time, QODBC will connect to QuickBooks using QuickBooks SDK &amp; start QuickBooks in the background, with &amp; log in to QuickBooks with the "User" that you have selected in the Integrated Application Preference at the time of certificate acceptance in QuickBooks.</p>
<p>So when the same user has already logged in to the QuickBooks Application &amp; you try to connect to QuickBooks using your Application through QODBC with the same user, you will face the above issue.</p>
<p>You are trying to log in to QuickBooks Application using the same user from two locations (i.e., 1st from QuickBooks Application in the foreground &amp; 2nd through QODBC in the background), which is impossible.</p>
<p>You can ask the user (who is also associated with the QODBC Integrated application) to log off from QuickBooks.</p>
<p><strong>OR</strong></p>
<p>You can use another user account on the integrated application configuration.</p>
<p>Follow the steps below for using another user account on the integrated application configuration.</p>
<p>Change the Integrated Application access user from QuickBooks UI via Edit Menu -&gt; Preferences -&gt; Integrated Applications -&gt; Company Preferences Tab.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/IntegratedApp/step1.png" alt="" /></p>
<p>Switch to the Company Preferences tab, select "FLEXquarters QODBC," and click "Properties."</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/IntegratedApp/step2.png" alt="" /></p>
<p>Integrated Application shows Access rights for the User.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/UserRight/step11.png" alt="" /></p>
<p>You can change Access rights for the User by selecting another user account from the dropdown list &amp; clicking "OK," and closing Integrated Application Preference &amp; checking again.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/80040437/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p>If you are connecting for the first time, you will get the following option at the time of connection. You need to select the User Name at the time of certificate and accept the process by which you want to use it.</p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/IntAppPOS/step5.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/UserRight/step2.png" alt="" /></p>
<p align="center"><img src="https://support.flexquarters.com/esupport/newimages/Excel2013-64/step6.png" alt="" /></p>
<p>You need to accept the certificate for each Windows User &amp; for each application you want to use with QODBC.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - QRemote for QuickBooks not listed as choice in ODBC Setup Screen]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2972]]></link>
<guid isPermaLink="false"><![CDATA[0f21f0349462cacdc5796990d37760ae]]></guid>
<pubDate><![CDATA[Mon, 27 Nov 2017 12:49:42 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QRemote for QuickBooks is not listed as a choice in the ODBC Setup Screen
Problem Description:
I am trying to set up the QODBC Driver on a machine running Windows Server 2016. Previously, I had it set up and working fine on my local W...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QRemote for QuickBooks is not listed as a choice in the ODBC Setup Screen</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am trying to set up the QODBC Driver on a machine running Windows Server 2016. Previously, I had it set up and working fine on my local Windows 10 machine, but I have been tasked with moving it. I have followed the instructions as I did previously. However, when I go to configure an ODBC connection (32-bit or 64-bit), switch to System DSN, and then choose "Add," the option for QRemote for QuickBooks is not there. I only have the options seen in the attached screenshot. Why is it not showing up? I can see the QRemote running as usual in the task area, and everything there looks normal when I load it.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step1.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step2.png" alt="" /></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>The .NET Framework 2.0 or above is required for using QRemote DSN.</p>
<p>Normally, QODBC will auto-detect if .NET Framework is installed and, if not, will prompt you for installation.</p>
<p>Please install QODBC again, and when prompted to install .NET Framework, please complete the installation. At the time of QODBC installation, you will get the following message for downloading the .NET Framework. Please click on "Download &amp; install this feature" to download &amp; install the .NET Framework.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step3.png" alt="" /></p>
<p>On Windows Server, you can enable .NET Framework through Server Manager.</p>
<p>In Server Manager, click Manage and select Add Roles and Features to start the Add Roles and Features Wizard. On the Select installation type screen, select Role-based or feature-based installation. Select the target server. On the Select features screen, check the box next to .NET Framework 3.5 Features.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step7.png" alt="" /></p>
<p>The .NET Framework download is in process.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step4.png" alt="" /></p>
<p>The .NET Framework installation is in process.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step5.png" alt="" /></p>
<p>The .NET Framework installation is finished. Please click "Close" &amp; restart the machine.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/Framework/step6.png" alt="" /></p>
<p>Please reinstall QODBC &amp; check again. QRemote DSN will now be available for use.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Microsoft Windows Vista Update Alert]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2969]]></link>
<guid isPermaLink="false"><![CDATA[466473650870501e3600d9a1b4ee5d44]]></guid>
<pubDate><![CDATA[Fri, 03 Nov 2017 06:46:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Microsoft Windows Vista Update Alert
As of Date: 2007-03-29
For QuickBooks users within the USAWith Microsoft's release of Windows Vista, we wanted to ensure that all our users are informed about using QuickBooks on Windows Vista. First and foremost, t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Microsoft Windows Vista Update Alert</span></h2>
<p><strong>As of Date: 2007-03-29</strong></p>
<p><strong><span style="font-size: 12pt; color: #000080; font-family: Arial;"><img src="//support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/VAlert2.jpg" alt="" width="105" height="44" /><br /><br />For QuickBooks users within the USA</span><span style="font-family: Arial; font-size: small;"><br /></span></strong><span style="font-family: Arial; font-size: small;">With Microsoft's release of Windows Vista, we wanted to ensure that all our users are informed about using QuickBooks on Windows Vista. First and foremost, the USA versions of QuickBooks 2006 and earlier are not supported on Windows Vista. To use QODBC on Windows Vista, you must run QuickBooks 2007 Release 5 or higher (use Ctrl-1 while in QuickBooks to check your release level). R5 can be found on Intuit's website under QuickBooks Product Updates at: <a href="http://www.quickbooks.com/support/index/ndxw_16_update.html" target="_blank">http://www.quickbooks.com/support/index/ndxw_16_update.html</a>.</span></p>
<p><strong><span style="font-size: 12pt; color: #000080; font-family: Arial;">For QuickBooks users outside of the USA</span><span style="font-family: Arial; font-size: small;"><br /></span></strong><span style="font-family: Arial; font-size: small;">For non-USA versions of QuickBooks, this will mean that users will not be able to run QuickBooks and QODBC on Windows Vista until they upgrade to QuickBooks 2008 (or 2008/09 or higher) and QODBC v9. Because of the SDK release's limitations in QuickBooks outside the USA, QODBC cannot be used under the Microsoft Vista operating system unless QuickBooks 2008 or later is used. </span></p>
<p><span style="font-family: Arial; font-size: small;">You can view the QuickBooks announcements made regarding Windows Vista outside the USA for your region at: <br /><strong><span style="color: #000080;">Australia/New Zealand/Singapore</span>:</strong> <a href="http://www.quicken.com.au/support/vistaUpdate.aspx" target="_blank">http://www.quicken.com.au/support/vistaUpdate.aspx</a><br /><strong><span style="color: #000080;">United Kingdom (UK)</span>:</strong> <a href="http://www.quickbooks.co.uk/store/en/quickbooks/vista_faq.jsp?pd=vista" target="_blank">http://www.quickbooks.co.uk/store/en/quickbooks/vista_faq.jsp?pd=vista</a><br /><strong><span style="color: #000080;">Canada</span>:</strong> <a href="http://support.intuit.ca/quickbooks/vista_faqs.php?pd=vista" target="_blank">http://support.intuit.ca/quickbooks/vista_faqs.php?pd=vista</a></span></p>
<p><strong><span style="font-size: 12pt; color: #000080; font-family: Arial;">QODBC v7.00.00.214</span><span style="font-size: small; font-family: Arial;"><br /></span></strong><span style="font-size: 8pt; font-family: Arial;"><span style="font-family: Arial; font-size: small;">To use QODBC under Windows Vista, you must also update to&nbsp;v7.00.00.214 (or higher)! QODBC Version 7.00.00.214 contains all the pieces necessary to be Windows Vista compliant. The main changes were to move the ODBCINST.INI to "C:\Documents and Settings\All Users\Application Data\QODBC Driver for QuickBooks\ODBCINST.INI." All that is used for the global settings for QODBC. All users should be able to read and write from there. <br /><br />The QODBCLOG.TXT Log file has been&nbsp;moved to C:\Documents and Settings\useraname\Application Data\QODBC Driver for QuickBooks (per user).<br /><br />The new default for the QODBC optimizer file is "%UserProfile%\QODBC Driver for QuickBooks\Optimizer." New users will get that. Old users can change their path to that. With the %UserProfile% in the path, the optimizer .opt files will be saved in the user's folder (C:\Documents and Settings\useraname\Application Data\QODBC Driver for QuickBooks).<br /><br />Changes were also made to disable the Test Connection and Optimizer sync buttons when EditQDSN is started in elevated mode. (The Intuit QBXML SDK cannot be called from an elevated application under Vista.) A help link has been added to explain why.<br /><br />And lastly, a helper .exe called FQQBVSAV.EXE was added to allow a non-admin user to save settings to the System DSN after prompting for elevation.</span></span></p>
<p><span style="font-size: 8pt; font-family: Arial;"><span style="font-family: Arial;"><span style="font-family: Arial; font-size: small;"><strong><span style="color: #000080;">IMPORTANT NOTE:</span></strong> To see how to install QODBC and connect to QuickBooks 2007 for the first time using Microsoft Windows Vista, click here: <a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2164/" target="_blank">How do I install and connect QODBC using Microsoft Vista?</a></span></span></span></p>
<p><span style="font-size: 12pt; color: #000080; font-family: Arial;"><strong>QuickBooks QBXML SDK/Windows Vista Compatibility and QODBC</strong></span><span style="font-family: Arial; font-size: small;"><strong><span style="color: #000080;"><br /></span></strong>QODBC v7.00.00.214 (or higher) now works correctly with USA editions of QuickBooks 2007 R5 (or higher)&nbsp;and QuickBooks Enterprise Solutions 7.0 R5 (or higher) with the following caveats:<br /><strong><span style="color: #000080;"><br /></span></strong>QODBC v9.00.00.253 (or higher) now also works correctly with all non-USA editions of QuickBooks 2008 (2008/09 or higher)&nbsp;and QuickBooks Enterprise Solutions 8.0 with the following caveats: </span></p>
<p>&nbsp;</p>
<ul>
<li><span style="font-family: Arial; font-size: small;"><strong><span style="color: #000080;">The Vista user account must have its User Account Control (UAC) set to On</span></strong> (as recommended by Microsoft).</span></li>
<li><span style="font-family: Arial; font-size: small;">QuickBooks and the QODBC application accessing the SDK should be run with standard user permissions (NOT elevated to run as administrator).</span></li>
<li><span style="font-family: Arial; font-size: small;">QuickBooks Web Connector 1.0 and QuickBooks Remote Data Sharing 3.0 are not supported on Vista; new versions of each that work on Vista will be released soon.</span></li>
</ul>
<p>&nbsp;</p>
<p><img src="//support.flexquarters.com/esupport/newimages/oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/VistaStart.jpg" alt="" /><br />For further information about Microsoft Windows Vista, QuickBooks, and the QuickBooks qbXML SDK, see <a href="http://developeremail1.intuit.com/r/c/r?2.1.3Js.2Xz.13D0wu.C1DX1U..N.CkdK.1HIm.DfUWEac0" target="_blank">this article on the IDN website</a>.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Getting error when trying to configure QODBC in SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2957]]></link>
<guid isPermaLink="false"><![CDATA[e22cb9d6bbb4c290a94e4fff4d68a831]]></guid>
<pubDate><![CDATA[Tue, 03 Oct 2017 11:34:28 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting error when trying to configure QODBC in SQL Server
Problem Description:
I'm trying to install the QODBC on our SQL Server, and I followed all the steps in your documentation on&nbsp;How to create a Link Server with MS SQL 2005...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting error when trying to configure QODBC in SQL Server</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I'm trying to install the QODBC on our SQL Server, and I followed all the steps in your documentation on&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2458" target="_blank">How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>.</p>
<p>But when I try to save my Linked server in SQL Studio, I have an error message:</p>
<p>The linked server has been created, but failed a connection test. Do you want to keep the linked server?</p>
<p>Additional Information:</p>
<p>An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)</p>
<p>Cannot initialize the OLE DB provider "MSDASQL" data source object for linked server "QREMOTE."</p>
<p>OLE DB provider "MSDASQL" for linked server "QREMOTE" returned the message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified." (Microsoft SQL Server, Error: 7303)</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/SSError/step1.png" alt="" /></p>
<p>Can you help me with that?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>Please make sure you are creating a Linked Server on SQL Server where QODBC is installed. If you start the linked server from another machine where SQL Server Management Studio is installed, but&nbsp;QODBC is not installed. You may face this error.&nbsp;</p>
<p>You can verify it by closing SQL Server Management Studio (SSMS) &amp; reopening it, and at the time of connecting to the SQL Server option. Please remove the server name &amp; insert "." (i.e., dot) &amp; try to connect.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/SSError/step2.png" alt="" /></p>
<p>If you can connect, then SQL Server is on the local machine; otherwise, SQL Server is on another device.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to Auto Add relationship Between two tables in Crystal Report using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2954]]></link>
<guid isPermaLink="false"><![CDATA[dc20d1211f3e7a99d775b26052e0163e]]></guid>
<pubDate><![CDATA[Thu, 21 Sep 2017 06:50:53 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Auto-Add a relationship between two tables in Crystal Report using QODBC
Problem Description:
How to Auto-Add a relationship between two tables in Crystal Report using QODBC?
Solution:
A relationship can be extracted using the ODBC function "SQ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Auto-Add a relationship between two tables in Crystal Report using QODBC</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>How to Auto-Add a relationship between two tables in Crystal Report using QODBC?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>A relationship can be extracted using the ODBC function "SQLForeignKeys" or "SP_FOREIGNKEYS."</p>
<p>Usage: SP_FOREIGNKEYS tablename tablename</p>
<p>Instruction: Returns a record set of the detailed relationship information of two tables.</p>
<p>Example: sp_foreignkeys Customer Invoice</p>
<p>Crystal Reports application automatically uses the relationship method and provides a user-friendly graphic interface to view the relationships between two or more tables.</p>
<p>To Auto Add a relationship between two tables in Crystal Report, please create a new report in Crystal Report &amp; connect to QuickBooks Data through QODBC. Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1565" target="_blank">How to use QODBC with Crystal Reports</a> for connection details.</p>
<p>I am assuming that you have referred to the above link &amp; connected to QuickBooks from Crystal Report using QODBC.</p>
<p>The connection was made with QuickBooks through "QuickBooks Data" DSN &amp; you can see the list of tables and windows list of tables available.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step1.png" alt="" /></p>
<p>Select the table you want to add to the Crystal Report &amp; click the "&gt;" button. In this example, I am selecting the Customer &amp; Invoice table.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step2.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step3.png" alt="" /></p>
<p>The Customer &amp; Invoice table data is added to the Crystal Report. Please click the "Next" button for link tables.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step4.png" alt="" /></p>
<p>Please select the "By Key" option &amp; Crystal Report will automatically link tables according to the Primary Key &amp; Foreign Key relationship between the two tables of QODBC.</p>
<p>You can see that the Invoice table's "CustomerRefListID" is related to the Customer table's "listed" field.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step5.png" alt="" /></p>
<p>Suppose you select the "By Name" option. In that case, Crystal Reports will not consider the Primary Key &amp; Foreign Key relationship between two tables of QODBC &amp; it will link according to a similar column name. <br />For example, Invoice table's ClassRefListID with the Customer table's "listed."</p>
<p>The table fields are now available for selection in your report. Now, you can perform any operation on table data using Crystal Reports.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step6.png" alt="" /></p>
<p>In this example, I have added the Customer table's Phone, Email, and Balance fields &amp; Invoice table's CustomerRefFullName, RefNumber, and SubTotal fields in the report.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/CRAutoLink/step7.png" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] QODBC Read-Only Table List]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2953]]></link>
<guid isPermaLink="false"><![CDATA[e2f9247929b404b2fe98ba6f32301e3b]]></guid>
<pubDate><![CDATA[Tue, 19 Sep 2017 09:42:28 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC Read-Only Table List
Problem Description:
I am using QODBC &amp; trying to modify data in QuickBooks. In a few tables, I can't insert/update records.
I am getting a "[QODBC] Not supported" error when inserting records.
Also, I have noticed "Erro...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">QODBC Read-Only Table List</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC &amp; trying to modify data in QuickBooks. In a few tables, I can't insert/update records.</p>
<p>I am getting a "[QODBC] Not supported" error when inserting records.</p>
<p>Also, I have noticed "Error Modify not supported on this table" in QODBC Logs when trying to update records.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You may get a "[QODBC] Not supported" error if you try to insert the record in the Header/Master table directly without inserting the form in the Child/Detail table.</p>
<p>For Example, you may get a "[QODBC] Not supported" error if you try to insert a record directly into the Invoice/Bill/SalesOrder/PurchaseOrder, etc, table without inserting a document, the child table InvoiceLine/BillExpenseLine/BillItemLine/SalesOrderLine/PurchaseOrderLine.</p>
<p><strong>OR</strong></p>
<p>You may get the "[QODBC] Not supported" error or "Error Modify not supported on this table" in QODBC Logs if you are trying to insert/update the record in the Read-Only table.</p>
<p>Below is the list of Read-Only, which does not support insert/update operations.&nbsp;</p>
<table style="border-collapse: collapse; table-layout: fixed; width: 173pt;" border="0" cellspacing="0" cellpadding="0"><colgroup><col style="mso-width-source: userset; mso-width-alt: 8448; width: 194pt;" /> </colgroup>
<tbody align="center">
<tr style="height: 15.0pt;">
<td class="xl65" style="height: 15.0pt; width: 173pt;" width="235" height="20"><strong>Table Name</strong></td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">AccountTaxLineInfo</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Barcode</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">BillLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">BillPaymentCheckLineLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">BillPaymentCreditCardLineLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">BillToPay</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ChargeLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Company</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">CompanyActivity</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">CreditMemoLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">CustomerShipToAddress</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">CustomField</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">EmployeeAddtionalNote</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Entity</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">EntityAdditionalNote</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">EntityContacts</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">EntityShipToAddress</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">EstimateLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Host</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">HostMetaData</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">HostSupportedVersions</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">InvoiceLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Item</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ItemAssembliesCanBuild</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ItemReceiptLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ItemSites</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">JournalEntryLine</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ListDeleted</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">PayrollItemNonWage</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Preferences</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">PurchaseOrderLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ReceivePaymentLineLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">ReceivePaymentToDeposit</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Sales</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">SalesLine</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">SalesOrderLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">SalesTaxPaymentCheck</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">SalesTaxPaymentCheckLine</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Template</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">Transaction</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">TxnDeleted</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">VendorContacts</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">VendorCreditLinkedTxn</td>
</tr>
<tr style="height: 15.0pt;">
<td class="xl66" style="height: 15.0pt; border-top: none;" height="20">WorkersCompCodeRateHistory</td>
</tr>
<!-- [if supportMisalignedColumns]-->
<tr style="display: none;">
<td style="width: 173pt;" width="231">&nbsp;</td>
</tr>
<!--[endif]--></tbody>
</table>
<p>To know which tables/fields support insert/update. Please visit <a href="http://qodbc.com/schema.htm" target="_blank">QODBC Data Layouts</a>.</p>
<p>Click on the region of the QuickBooks edition you are using. Click "ALPHABETICAL LISTING OF ALL TABLES" under the "TABLE OVERVIEW" label &amp; find the TableName for which you want to check the schema, and click the "Detail" link.</p>
<p>You will find QUERYABLE, UPDATEABLE, INSERTABLE, and REQUIRED ON INSERT columns against each field.</p>
<p>This will help you determine which fields are allowed in select, update, and insert queries.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - MS Access and QuickBooks freeze (Not Responding) when accessing the first time]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2949]]></link>
<guid isPermaLink="false"><![CDATA[e07bceab69529b0f0b43625953fbf2a0]]></guid>
<pubDate><![CDATA[Tue, 29 Aug 2017 07:12:13 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - MS Access and QuickBooks freeze (Not Responding) when accessing for the first time
Problem Description:
When pushing data from the Access database to QuickBooks, the QODBC message indicates waiting on QuickBooks, and both Access and Q...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - MS Access and QuickBooks freeze (Not Responding) when accessing for the first time</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>When pushing data from the Access database to QuickBooks, the QODBC message indicates waiting on QuickBooks, and both Access and QuickBooks freeze (Not Responding). This is happening with a new user on this PC. Other users can log in, which usually works, but this user cannot push data from Access to QuickBooks. We have reviewed permissions for the user in QuickBooks and Active Directory, and they are all the same as those of working users. Is any special permission needed for this to work? This issue is urgent. Please advise.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You may face QuickBooks and Access and QuickBooks freeze (Not Responding) issues when accessing the table for the first time because QODBC is building an optimizer for that table in the background.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2942" target="_blank">How Optimizer Works</a> for more details.</p>
<p>Please rebuild the optimizer file &amp; check again. Refer: <a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2453" target="_blank">Getting the limited number of records, or a Few of the documents is Missing in the QODBC Table result</a> Rebuild Optimizer file section.</p>
<p>Please also enable the QODBC status panel via QODBC Setup Screen-&gt;Message Window-&gt;Select "Display Driver Status" and "Display optimizer Status" options. Refer to how<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2550" target="_blank">&nbsp;to view details on what QODBC is performing</a> for more information.</p>
<p>After building the Optimizer file, when you run the query, QODBC will check for any changes to QuickBooks Data &amp; update it in the Optimizer file. So you will not face a Not Responding issue in QuickBooks &amp; your application.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC Driver crashes QuickBooks 2017 on Close]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2945]]></link>
<guid isPermaLink="false"><![CDATA[892c3b1c6dccd52936e27cbd0ff683d6]]></guid>
<pubDate><![CDATA[Thu, 03 Aug 2017 12:42:50 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC Driver crashes QuickBooks 2017 on Close
Problem Description:
QODBC crashes QuickBooks Desktop 2017 after completing all SQL transactions. Here are the details.
1. SQL command is sent to the QODBC connector
2. QODBC connector o...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC Driver crashes QuickBooks 2017 on Close</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>QODBC crashes QuickBooks Desktop 2017 after completing all SQL transactions. Here are the details.</p>
<p>1. SQL command is sent to the QODBC connector</p>
<p>2. QODBC connector opens up a QuickBooks instance in the background on the server. i.e., View through Task Manager QBW32.exe</p>
<p>3. QODBC connector executes all SQL statements successfully. i.e., SELECT and INSERT statements</p>
<p>4. QODBC goes into a listening mode for about 30 seconds. i.e., SLQFreeStmt</p>
<p>5. QODBC sends the final command to close all connections. i.e., SQLDisconnect</p>
<p>6. Upon the SQLDisconnect command, the QODBC connector successfully disconnects from SQL.</p>
<p>7. Upon the SQLDisconnect command, the QODBC connector crashes QuickBooks Desktop 2017 in an attempt to close the QuickBooks instance in the background. i.e., QBW32.exe sends a critical error that it hit.</p>
<p>8. We must manually close the critical error box to send another SQL command to the QODBC connector. Very cumbersome to our process.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QBCrash/step1.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>The issue is related to Microsoft .NET Framework.</p>
<p>QuickBooks 2017 installs Microsoft .NET Framework 4.6. If your machine is already updated to 4.7, you may face this issue.</p>
<p>To resolve this issue, you need to uninstall QuickBooks 2017 and Microsoft .NET Framework 4.7, &amp; Reinstall QuickBooks 2017, which installs .NET Framework 4.6. After that, you can upgrade from Microsoft .NET Framework 4.6 to Microsoft .NET Framework 4.7.</p>
<p>This will fix the unexpected crash errors on the QuickBooks connector when closing QuickBooks.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How QODBC Optimizer Works]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2942]]></link>
<guid isPermaLink="false"><![CDATA[2a0f97f81755e2878b264adf39cba68e]]></guid>
<pubDate><![CDATA[Wed, 26 Jul 2017 09:55:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How QODBC Optimizer Works 
Problem Description:
I am using QODBC to access QuickBooks Data. I am using the QODBC optimizer, and I want to know more about how the optimizer works.
I can connect to QODBC, but when I fetch any table, it takes a lot of tim...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How QODBC Optimizer Works </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC to access QuickBooks Data. I am using the QODBC optimizer, and I want to know more about how the optimizer works.</p>
<p>I can connect to QODBC, but when I fetch any table, it takes a lot of time.</p>
<p>I can fetch records from a few tables, but for other tables, QODBC is just processing and not returning any records.</p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>The optimizer brings some data to a local cache to increase query retrieval performance. Below is the default setting of QODBC Optimizer.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/OPTWORK/step1.png" alt="" /></p>
<p data-start="284" data-end="473">The <strong data-start="288" data-end="307">QODBC Optimizer</strong> is designed to improve performance when accessing QuickBooks data by caching results locally. This article explains how the optimizer works by default, step-by-step.</p>
<p data-start="284" data-end="473">When you run a query through QODBC (for example, <code data-start="543" data-end="566">SELECT * FROM Invoice</code>), QODBC communicates with the QuickBooks SDK to retrieve the requested data. Since the QuickBooks company file is <strong data-start="681" data-end="711">not a traditional database</strong>, but rather a <strong data-start="726" data-end="746">flat file system</strong>, data retrieval and conversion are handled in a specialized way to optimize speed and reliability.</p>
<p data-start="284" data-end="473">&nbsp;</p>
<p>Here is how the optimizer works with the default configuration.</p>
<h3 data-start="852" data-end="876">Step-by-Step Process</h3>
<h4 data-start="878" data-end="910"><strong data-start="883" data-end="910">Step 1: Query Execution</strong></h4>
<p data-start="911" data-end="939">You execute a query such as:</p>
<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary">
<div class="sticky top-9">&nbsp;</div>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre!"><span class="hljs-keyword">SELECT</span> <span class="hljs-operator">*</span> <span class="hljs-keyword">FROM</span> Invoice </code></div>
</div>
<h4 data-start="971" data-end="1012"><strong data-start="976" data-end="1012">Step 2: Check for Optimizer Data</strong></h4>
<p data-start="1013" data-end="1133">QODBC checks the <strong data-start="1030" data-end="1049">Optimizer Table</strong> to see if data for the requested table (in this example, <em data-start="1107" data-end="1116">Invoice</em>) already exists.</p>
<h4 data-start="1135" data-end="1177"><strong data-start="1140" data-end="1177">Step 3: First-Time Data Retrieval</strong></h4>
<p data-start="1178" data-end="1228">Assuming there are 50,000 records in the Invoice table.</p>
<p data-start="1178" data-end="1228">If this is the <strong data-start="1193" data-end="1207">first time</strong> accessing the table:</p>
<ul data-start="1229" data-end="1560">
<li data-start="1229" data-end="1381">
<p data-start="1231" data-end="1381">QODBC retrieves all records from QuickBooks, including data from related child tables (for example, <code data-start="1331" data-end="1340">Invoice</code>, <code data-start="1342" data-end="1355">InvoiceLine</code>, and <code data-start="1361" data-end="1379">InvoiceLinkedTxn</code>).</p>
</li>
<li data-start="1382" data-end="1477">
<p data-start="1384" data-end="1477">The QuickBooks SDK returns data in <strong data-start="1419" data-end="1433">XML format</strong>, in batches of <strong data-start="1449" data-end="1476">500 records per request</strong>.</p>
</li>
<li data-start="1478" data-end="1557">
<p data-start="1480" data-end="1557">QODBC converts this XML data into a table format for use by your application.</p>
</li>
</ul>
<blockquote data-start="1561" data-end="1707">
<p data-start="1563" data-end="1707"><strong data-start="1563" data-end="1572">Note:</strong> Since this is a full data retrieval, it may take some time. Please do <strong data-start="1643" data-end="1681">not close or terminate the process</strong> during this initial load.</p>
</blockquote>
<h4 data-start="1709" data-end="1751"><strong data-start="1714" data-end="1751">Step 4: Data Storage in Optimizer</strong></h4>
<p data-start="1752" data-end="1778">After retrieving the data:</p>
<ul data-start="1779" data-end="1895">
<li data-start="1779" data-end="1830">
<p data-start="1781" data-end="1830">QODBC saves the data into the <strong data-start="1811" data-end="1829">Optimizer File</strong>.</p>
</li>
<li data-start="1831" data-end="1895">
<p data-start="1833" data-end="1895">The optimizer records the <strong data-start="1859" data-end="1872">timestamp</strong> of the data retrieval.</p>
</li>
</ul>
<h4 data-start="1897" data-end="1942"><strong data-start="1902" data-end="1942">Step 5: Data Returned to Application</strong></h4>
<p data-start="1943" data-end="2054">Once the optimizer is updated, QODBC reads from the optimizer file and returns the results to your application.</p>
<h4 data-start="2056" data-end="2091"><strong data-start="2061" data-end="2091">Step 6: Subsequent Queries</strong></h4>
<p data-start="2092" data-end="2165">The next time you execute the same query (e.g., <code data-start="2140" data-end="2163">SELECT * FROM Invoice</code>):</p>
<ol data-start="2166" data-end="2445">
<li data-start="2166" data-end="2222">
<p data-start="2169" data-end="2222">QODBC again checks the Optimizer Table for <code data-start="2212" data-end="2221">Invoice</code>.</p>
</li>
<li data-start="2223" data-end="2317">
<p data-start="2226" data-end="2317">It finds that the data already exists and retrieves the <strong data-start="2282" data-end="2316">last synchronization timestamp</strong>.</p>
</li>
<li data-start="2318" data-end="2445">
<p data-start="2321" data-end="2445">QODBC requests only the <strong data-start="2345" data-end="2356">changes</strong> (added, modified, or deleted records) since the last timestamp using the QuickBooks SDK.</p>
</li>
</ol>
<h4 data-start="2447" data-end="2476"><strong data-start="2452" data-end="2476">Step 7: Delta Update</strong></h4>
<p data-start="2477" data-end="2570">Because QODBC now retrieves <strong data-start="2505" data-end="2526">only changed data</strong>, the process is much faster.<br data-start="2555" data-end="2558" /> For example:</p>
<ul data-start="2571" data-end="2727">
<li data-start="2571" data-end="2659">
<p data-start="2573" data-end="2659">Out of 50,000 total records, only 60 have changed (40 modified, 10 added, 10 deleted).</p>
</li>
<li data-start="2660" data-end="2727">
<p data-start="2662" data-end="2727">QODBC processes only those 60 records instead of the full 50,000.</p>
</li>
</ul>
<h4 data-start="2729" data-end="2762"><strong data-start="2734" data-end="2762">Step 8: Optimizer Update</strong></h4>
<p data-start="2763" data-end="2839">QODBC applies the delta changes to the optimizer file to keep it up to date.</p>
<h4 data-start="2841" data-end="2877"><strong data-start="2846" data-end="2877">Step 9: Return Updated Data</strong></h4>
<p data-start="2878" data-end="3003">Finally, QODBC reads the updated data from the optimizer file and returns the complete result set to the calling application.</p>
<p data-start="2878" data-end="3003">&nbsp;</p>
<h3 data-start="3010" data-end="3036">Key Points to Remember</h3>
<ul data-start="3037" data-end="3322">
<li data-start="3037" data-end="3139">
<p data-start="3039" data-end="3139">The <strong data-start="3043" data-end="3058">first query</strong> on any table will take longer because QODBC must retrieve and cache all records.</p>
</li>
<li data-start="3140" data-end="3230">
<p data-start="3142" data-end="3230"><strong data-start="3142" data-end="3164">Subsequent queries</strong> are significantly faster, as only new or changed data is fetched.</p>
</li>
<li data-start="3231" data-end="3322">
<p data-start="3233" data-end="3322"><strong data-start="3233" data-end="3253">Do not interrupt</strong> the first-time data load process to avoid incomplete optimizer data.</p>
</li>
</ul>
<p>&nbsp;</p>
<p><strong>Question</strong>:</p>
<p>I am fetching the top 10 records from Invoice (or any other table), and QODBC is still reading all the records from QuickBooks.</p>
<p><strong>Answer</strong>:</p>
<p>If you are not using the optimizer or if you are querying the table for the first time, QODBC will have to build the optimizer before returning the records.</p>
<p>Even if you have requested the top 10, QODBC has to fetch all the records from QuickBooks to show the result matching the criteria.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using Optimizer Off for selected tables in MS-Access linked table]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2941]]></link>
<guid isPermaLink="false"><![CDATA[4b21cf96d4cf612f239a6c322b10c8fe]]></guid>
<pubDate><![CDATA[Wed, 12 Jul 2017 14:35:36 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Using Optimizer Off for selected tables in MS-Access linked table 
Problem Description:
I am using QODBC to access QuickBooks Data. I have linked all QuickBooks tables using QODBC.
I want the Customer table to be Optimizer OFF and the rest to be Optimi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Using Optimizer Off for selected tables in MS-Access linked table </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QODBC to access QuickBooks Data. I have linked all QuickBooks tables using QODBC.</p>
<p>I want the Customer table to be Optimizer OFF and the rest to be Optimizer ON.</p>
<p>How can I achieve this?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>It would be best if you had the Customer table to be Optimizer OFF and the rest of the tables to be Optimizer ON. I suggest using a separate DSN with Optimizer Off for the Customer table.</p>
<p>You need to create a new QODBC DSN through Configure QODBC Data Source.</p>
<p>You can open Configure QODBC Data Source from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step1.png" alt="" /></p>
<p>Click on the "System DSN" tab to create a DSN that both Windows applications and services can call. Click on the "Add" button to create a new DSN.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step2.png" alt="" /></p>
<p>Select the "QODBC Driver for QuickBooks" option and click on the "Finish" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step3.png" alt="" /></p>
<p>Name your new DSN as "QuickBooks Data-OPT-OFF."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step4.png" alt="" /></p>
<p>Switch to the "Optimizer" tab/window and uncheck the "Use Optimizer" option, &amp; Click "Apply" followed by "OK" to save the DSN configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step5.png" alt="" /></p>
<p>Start QuickBooks login to the Company File as Admin. Start QuickBooks login to the Company File as Admin. Start QuickBooks login to the Company File as Admin. New DSN created. Close the ODBC Manager by clicking "OK."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step6.png" alt="" /></p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step7.png" alt="" /></p>
<p>Switch to your MS-Access application. Right-click on Linked tables and select "Linked Table Manager". Right-click on Linked tables and select "Linked Table Manager". Right-click on Linked tables and select "Linked Table Manager". I have linked all tables in the MS Access Database using the "QuickBooks Data" DSN with the Optimizer ON option.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step8.png" alt="" /></p>
<p>From the list of tables, select the Customer table &amp; enable the "Always prompt for a new location" option, and click "OK."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step9.png" alt="" /></p>
<p>From the DSN list, select the newly created DSN from "Machine Data Source." Instead of using "QuickBooks Data," Select "QuickBooks Data-OPT-OFF."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step10.png" alt="" /></p>
<p>The linked table has been refreshed.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step11.png" alt="" /></p>
<p>Customer table DSN is changed to "QuickBooks Data-OPT-OFF" from "QuickBooks Data." Close "Linked Table Manager" by clicking the "Close" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSAOPTOFF/step12.png" alt="" /></p>
<p>This way, MS Access will create a new Connection to QuickBooks Data-OPT-OFF (Optimizer Off - when accessing the Customer table). For the rest of the tables, MS Access will use QuickBooks Data (Optimizer On).</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - Getting Error [HY004] [Microsoft][ODBC Driver Manager] SQL data type out of range (0) (SQLBindParameter) when running Python script]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2937]]></link>
<guid isPermaLink="false"><![CDATA[8fc687aa152e8199fe9e73304d407bca]]></guid>
<pubDate><![CDATA[Wed, 28 Jun 2017 14:54:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting Error [HY004] [Microsoft][ODBC Driver Manager] SQL data type out of range (0) (SQLBindParameter) when running Python script
Problem Description:
I am using a Python script to access QuickBooks Data. I can select QuickBooks Dat...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting Error [HY004] [Microsoft][ODBC Driver Manager] SQL data type out of range (0) (SQLBindParameter) when running Python script</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using a Python script to access QuickBooks Data. I can select QuickBooks Data using Python without any issues.</p>
<p>However, I can successfully insert data into QuickBooks using Python with static values.</p>
<p>But I am getting the following error when I use a parameterized insert statement. See the code below:</p>
<p>[HY004] [Microsoft][ODBC Driver Manager] SQL data type out of range (0) (SQLBindParameter)</p>
<p><!-- HTML generated using hilite.me --></p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">pyodbc</span>

stmt <span style="color: #333333;">=</span> pyodbc<span style="color: #333333;">.</span>connect(<span style="background-color: #fff0f0;">"DSN=QuickBooks Data QRemote"</span>, autocommit<span style="color: #333333;">=</span><span style="color: #007020;">True</span>)

CustomerRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CustomerRefListID: "</span>)
ClassRefFullName <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"ClassRefFullName: "</span>)
TemplateRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"TemplateRefListID: "</span>)
RefNumber <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"RefNumber: "</span>)
CreditMemoLineItemRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineItemRefListID: "</span>)
CreditMemoLineDesc <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineDesc: "</span>)
Rate <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineRate: "</span>)
Quantity <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineQuantity: "</span>)
Amount <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineAmount: "</span>)


P1 <span style="color: #333333;">=</span> CustomerRefListID
P2 <span style="color: #333333;">=</span> ClassRefFullName
P3 <span style="color: #333333;">=</span> TemplateRefListID
P4 <span style="color: #333333;">=</span> RefNumber
P5 <span style="color: #333333;">=</span> CreditMemoLineItemRefListID
P6 <span style="color: #333333;">=</span> CreditMemoLineDesc
P7<span style="color: #333333;">=</span> Rate
P8<span style="color: #333333;">=</span> Quantity
P9<span style="color: #333333;">=</span> Amount

cursor <span style="color: #333333;">=</span> stmt<span style="color: #333333;">.</span>cursor()

sql <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"INSERT INTO CreditMemoLine (CustomerRefListID,ClassRefFullName, TemplateRefListID, RefNumber,  CreditMemoLineItemRefListID, CreditMemoLineDesc, CreditMemoLineRate,CreditMemoLineQuantity, CreditMemoLineAmount) values (?,?,?,?,?,?,?,?,?)"</span>

cursor<span style="color: #333333;">.</span>execute(sql,(P1),(P2),(P3),(P4),(P5),(P6),(P7),(P8),(P9))

cursor<span style="color: #333333;">.</span>close()
stmt<span style="color: #333333;">.</span>close()
</pre>
</div>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/HY004/step1.png" alt="" /></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>For the parameterized query, you may have to apply an encoding to the variable values.</p>
<p>Please refer to the sample script.</p>
<p><a href="https://support.flexquarters.com/esupport/newimages/HY004/InsertSQL.zip">Download Sample</a></p>
<p><!-- HTML generated using hilite.me --></p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">pyodbc</span>
<span style="color: #008800; font-weight: bold;">from</span> <span style="color: #0e84b5; font-weight: bold;">decimal</span> <span style="color: #008800; font-weight: bold;">import</span> <span style="color: #333333;">*</span>

stmt <span style="color: #333333;">=</span> pyodbc<span style="color: #333333;">.</span>connect(<span style="background-color: #fff0f0;">"DSN=QuickBooks Data QRemote"</span>, autocommit<span style="color: #333333;">=</span><span style="color: #007020;">True</span>)

CustomerRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CustomerRefListID: "</span>)
ClassRefFullName <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"ClassRefFullName: "</span>)
TemplateRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"TemplateRefListID: "</span>)
RefNumber <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"RefNumber: "</span>)
CreditMemoLineItemRefListID <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineItemRefListID: "</span>)
CreditMemoLineDesc <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineDesc: "</span>)
Rate <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineRate: "</span>)
Quantity <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineQuantity: "</span>)
Amount <span style="color: #333333;">=</span> <span style="color: #007020;">input</span>(<span style="background-color: #fff0f0;">"CreditMemoLineAmount: "</span>)

encoding <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">'utf-8'</span>
P1 <span style="color: #333333;">=</span> CustomerRefListID<span style="color: #333333;">.</span>encode(encoding)
P2 <span style="color: #333333;">=</span> ClassRefFullName<span style="color: #333333;">.</span>encode(encoding)
P3 <span style="color: #333333;">=</span> TemplateRefListID<span style="color: #333333;">.</span>encode(encoding)
P4 <span style="color: #333333;">=</span> RefNumber<span style="color: #333333;">.</span>encode(encoding)
P5 <span style="color: #333333;">=</span> CreditMemoLineItemRefListID<span style="color: #333333;">.</span>encode(encoding)
P6 <span style="color: #333333;">=</span> CreditMemoLineDesc<span style="color: #333333;">.</span>encode(encoding)
P7<span style="color: #333333;">=</span> Decimal(Rate)
P8<span style="color: #333333;">=</span> Decimal(Quantity)
P9<span style="color: #333333;">=</span> Decimal(Amount)

cursor <span style="color: #333333;">=</span> stmt<span style="color: #333333;">.</span>cursor()

sql <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"INSERT INTO CreditMemoLine (CustomerRefListID,ClassRefFullName, TemplateRefListID, RefNumber,  CreditMemoLineItemRefListID, CreditMemoLineDesc, CreditMemoLineRate,CreditMemoLineQuantity, CreditMemoLineAmount) values (?,?,?,?,?,?,?,?,?)"</span>

cursor<span style="color: #333333;">.</span>execute(sql,(P1),(P2),(P3),(P4),(P5),(P6),(P7),(P8),(P9))

cursor<span style="color: #333333;">.</span>close()
stmt<span style="color: #333333;">.</span>close()
</pre>
</div>
<p>&nbsp;</p>
<p>After changing the script, you can run the parameterized script without any issues.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/HY004/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p>A credit memo was created in QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/HY004/step3.png" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to export QuickBooks Invoices into MS Excel Report format]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2935]]></link>
<guid isPermaLink="false"><![CDATA[b6617980ce90f637e68c3ebe8b9be745]]></guid>
<pubDate><![CDATA[Wed, 21 Jun 2017 06:39:05 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to export QuickBooks Invoices into MS Excel Report format 
Problem Description:
I would like to know if QODBC will convert QuickBooks Pro Desktop invoices into an MS Excel Report.
The attached invoice is similar to what we&nbsp;need to export to M...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to export QuickBooks Invoices into MS Excel Report format </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I would like to know if QODBC will convert QuickBooks Pro Desktop invoices into an MS Excel Report.</p>
<p>The attached invoice is similar to what we&nbsp;need to export to MS Excel. It doesn't have to be exact, but it needs to be able to show the descriptions, etc.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step1.png" alt="" /></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You can export QuickBooks Invoices into MS Excel format using QODBC.</p>
<p>You can do it through VBA in MS Excel.</p>
<p>The first step is to download the Invoice Template in MS Excel.</p>
<p>You can download the template by clicking "New," &amp; you can find the template under "Office.com Templates." Click on "Invoices" to see the list of Invoice templates.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step2.png" alt="" /></p>
<p>You can download the template by selecting the template as per your requirement, &amp; click on the "Download" button to download the template. I have downloaded the "Service invoice (Garamond Gray Design)" template in this example.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step3.png" alt="" /></p>
<p>The invoice Template is available with sample data. You can modify the template as per your requirement.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step4.png" alt="" /></p>
<p>I have made changes to the template. I have changed some existing captions &amp; added ITEM &amp; ITEM DESCRIPTION. I have removed company information, logo, CUSTOMER ID, SALESPERSON, JOB, and LINE TOTAL.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step5.png" alt="" /></p>
<p>We will fill out this information dynamically using VBA code. We will add a button asking for the RefNumber of the Invoice. By entering the RefNumber, the VBA code will fetch the Invoice detail for a particular RefNumber &amp; fill the details in the Invoice template.</p>
<p>Now we will add a button &amp; we will write code for the button click event. On button click, it fetches the Invoice from QuickBooks &amp; fills it in the template.</p>
<p>You can add a button from the Developer tab in MS Excel. If the Developer tab is unavailable, follow the steps below to display it.</p>
<p>Click the "File" tab, and click "Options."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step17.png" alt="" /></p>
<p>Click the "Customize Ribbon" category. In the "Main" Tabs list, select the "Developer" checkbox, and then click "OK."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step18.png" alt="" /></p>
<p>On the "Developer" tab, in the Controls group, click "Insert," and then under "ActiveX Controls," click "Command Button."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step6.png" alt="" /></p>
<p>A Command Button is added. I have renamed it to "Enter Invoice #." Double-click on the command button to write code.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step7.png" alt="" /></p>
<p>Write the code below to export QuickBooks Invoices into MS Excel Report format.</p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Application Source Code:</span></h3>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">CommandButton1_Click</span>()

ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F3"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F4"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"A3"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B3"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"C3"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B4"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B5"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B6"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B9"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B10"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B11"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"D15"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F15"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F39"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"A18:A38"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B18:B38"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"C18:C38"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"D18:D38"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"E18:E38"</span>).ClearContents
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F18:F38"</span>).ClearContents

<span style="color: #008800; font-weight: bold;">Const</span> adOpenStatic <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">3</span>
<span style="color: #008800; font-weight: bold;">Const</span> adLockOptimistic <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">3</span>
<span style="color: #008800; font-weight: bold;">Dim</span> oConnection
<span style="color: #008800; font-weight: bold;">Dim</span> oRecordset
<span style="color: #008800; font-weight: bold;">Dim</span> sMsg
<span style="color: #008800; font-weight: bold;">Dim</span> sConnectString
<span style="color: #008800; font-weight: bold;">Dim</span> sSQL
<span style="color: #008800; font-weight: bold;">Dim</span> InvNo <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>

sConnectString <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"DSN=Quickbooks Data;OLE DB Services=-2;"</span>

InvNo <span style="color: #333333;">=</span> InputBox(<span style="background-color: #fff0f0;">"Enter RefNumber:"</span>, <span style="background-color: #fff0f0;">"InvNo"</span>)
<span style="color: #008800; font-weight: bold;">If</span> (InvNo <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">""</span>) <span style="color: #008800; font-weight: bold;">Then</span>
    <span style="color: #008800; font-weight: bold;">Exit</span> <span style="color: #008800; font-weight: bold;">Sub</span>
<span style="color: #0066bb; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
sSQL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"SELECT TxnID,CustomerRefFullName,TxnDate,RefNumber,BillAddressAddr1,BillAddressAddr2,BillAddressCity,BillAddressState,BillAddressPostalCode,ShipAddressAddr1,ShipAddressAddr2,ShipAddressCity,ShipAddressState,ShipAddressPostalCode,TermsRefFullName,DueDate,Subtotal,InvoiceLineItemRefFullName,InvoiceLineDesc,InvoiceLineQuantity,InvoiceLineRate,InvoiceLineAmount FROM InvoiceLine where RefNumber = '"</span> <span style="color: #333333;">&amp;</span> FnRef(InvNo) <span style="color: #333333;">&amp;</span> <span style="background-color: #fff0f0;">"'"</span>


<span style="color: #008800; font-weight: bold;">Set</span> oConnection <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.Connection"</span>)
<span style="color: #008800; font-weight: bold;">Set</span> oRecordset <span style="color: #333333;">=</span> CreateObject(<span style="background-color: #fff0f0;">"ADODB.Recordset"</span>)

oConnection.Open sConnectString
oRecordset.activeconnection <span style="color: #333333;">=</span> oConnection
oRecordset.Open sSQL

ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Activate
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F3"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"TxnDate"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F4"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"RefNumber"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"A3"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"CustomerRefFullName"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B4"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"BillAddressAddr1"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B5"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"BillAddressAddr2"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B6"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"BillAddressCity"</span>) <span style="color: #333333;">+</span> <span style="background-color: #fff0f0;">" "</span> <span style="color: #333333;">+</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"BillAddressState"</span>) <span style="color: #333333;">+</span> <span style="background-color: #fff0f0;">" "</span> <span style="color: #333333;">+</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"BillAddressPostalCode"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B9"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"ShipAddressAddr1"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B10"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"ShipAddressAddr2"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B11"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"ShipAddressCity"</span>) <span style="color: #333333;">+</span> <span style="background-color: #fff0f0;">" "</span> <span style="color: #333333;">+</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"ShipAddressState"</span>) <span style="color: #333333;">+</span> <span style="background-color: #fff0f0;">" "</span> <span style="color: #333333;">+</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"ShipAddressPostalCode"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"D15"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"TermsRefFullName"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F15"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"DueDate"</span>)
ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F39"</span>).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"SubTotal"</span>)

<span style="color: #008800; font-weight: bold;">Dim</span> count <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Integer</span>
count <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #008800; font-weight: bold;">Do</span> <span style="color: #008800; font-weight: bold;">While</span> <span style="color: #008800; font-weight: bold;">Not</span> oRecordset.EOF
    ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"B"</span> <span style="color: #333333;">+</span> Trim(Str(<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #333333;">+</span> count))).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"InvoiceLineItemRefFullName"</span>)
    ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"C"</span> <span style="color: #333333;">+</span> Trim(Str(<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #333333;">+</span> count))).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"InvoiceLineDesc"</span>)
    ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"D"</span> <span style="color: #333333;">+</span> Trim(Str(<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #333333;">+</span> count))).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"InvoiceLineQuantity"</span>)
    ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"E"</span> <span style="color: #333333;">+</span> Trim(Str(<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #333333;">+</span> count))).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"InvoiceLineRate"</span>)
    ActiveWorkbook.Sheets(<span style="background-color: #fff0f0;">"ServiceInvoice"</span>).Range(<span style="background-color: #fff0f0;">"F"</span> <span style="color: #333333;">+</span> Trim(Str(<span style="color: #0000dd; font-weight: bold;">18</span> <span style="color: #333333;">+</span> count))).Value <span style="color: #333333;">=</span> oRecordset.Fields(<span style="background-color: #fff0f0;">"InvoiceLineAmount"</span>)
    count <span style="color: #333333;">=</span> count <span style="color: #333333;">+</span> <span style="color: #0000dd; font-weight: bold;">1</span>
    oRecordset.MoveNext
<span style="color: #008800; font-weight: bold;">Loop</span>

oRecordset.Close
<span style="color: #008800; font-weight: bold;">Set</span> oRecordset <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">Nothing</span>
oConnection.Close
<span style="color: #008800; font-weight: bold;">Set</span> oConnection <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">Nothing</span>

<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>
</pre>
</div>
<p align="center">&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step8.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step9.png" alt="" /></p>
<p>We need to add the below function for passing the RefNumber parameter value in the query.</p>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">Public</span> <span style="color: #008800; font-weight: bold;">Function</span> <span style="color: #0066bb; font-weight: bold;">Nz</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> Value, <span style="color: #008800; font-weight: bold;">Optional</span> <span style="color: #008800; font-weight: bold;">ByVal</span> ValueIfNull <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">""</span>)

    Nz <span style="color: #333333;">=</span> IIf(IsNull(Value), ValueIfNull, Value)

<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Function</span>


<span style="color: #008800; font-weight: bold;">Function</span> <span style="color: #0066bb; font-weight: bold;">FnRef</span>(MyRef <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>) <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>

MyRef <span style="color: #333333;">=</span> Nz(MyRef, <span style="background-color: #fff0f0;">""</span>)
FnRef <span style="color: #333333;">=</span> MyRef
<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Function</span>
</pre>
</div>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step10.png" alt="" /></p>
<p>You can check functionality by clicking on the "Enter Invoice #" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step11.png" alt="" /></p>
<p>MS Excel will prompt for RefNumber, as shown in the sample below. Enter a RefNumber value and click "OK."</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step12.png" alt="" /></p>
<p>The report is available for a particular RefNumber.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step13.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step14.png" alt="" /></p>
<p>You can print the report by clicking "Print." The Invoices in MS Excel report format are shown below.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step15.png" alt="" /></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/MSEINVRPT/step16.png" alt="" /></p>
<p>Please <a href="https://support.flexquarters.com/esupport/newimages/MSEINVRPT/InvoiceReport.zip">click here</a>&nbsp;to download the Sample Report.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to install QODBC read only edition for QuickBooks Enterprise Edition]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2925]]></link>
<guid isPermaLink="false"><![CDATA[ac34ae1fda29b8fe781ac8d6d32a6bc7]]></guid>
<pubDate><![CDATA[Tue, 02 May 2017 13:57:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to install the QODBC read-only edition for QuickBooks Enterprise Edition
Problem Description:
I am using QuickBooks Enterprise &amp; I want to use the QODBC read-only edition for QuickBooks Enterprise.
How can I install the QODBC read-only edition...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to install the QODBC read-only edition for QuickBooks Enterprise Edition</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am using QuickBooks Enterprise &amp; I want to use the QODBC read-only edition for QuickBooks Enterprise.</p>
<p>How can I install the QODBC read-only edition for QuickBooks Enterprise Edition?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>You can download QODBC by <a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank">clicking here</a></p>
<p>After downloading QODBC, install QODBC on your machine.</p>
<p>Refer: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2824/" target="_blank">QODBC Installation Steps</a></p>
<p>After installation of QODBC, you can verify QODBC installation from QuickBooks Enterprise:</p>
<p>File &gt;&gt; Utilities &gt;&gt; Configure ODBC</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ROQBES/step1.png" alt="" /></p>
<p>If QODBC is appropriately installed, then the QODBC Setup Screen will open. Navigate to the "About" tab &amp; you will see QODBC with a 30-day evaluation.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ROQBES/step2.png" alt="" /></p>
<p>QODBC is installed on a new machine. It starts with a 30-day evaluation (All features are active). The QODBC evaluation version will turn to the Read Only edition for QuickBooks Enterprise Edition &ndash; automatically after 30 days.</p>
<p>After 30 days, you will see "QODBC Read Only 2017 All Regions" in the "About" tab.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/ROQBES/step3.png" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Sample VB.NET Web Application for Inserting InvoiceLine into existing Invoice]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2924]]></link>
<guid isPermaLink="false"><![CDATA[3953630da28e5181cffca1278517e3cf]]></guid>
<pubDate><![CDATA[Tue, 25 Apr 2017 10:11:20 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Sample VB.NET Web Application for Inserting InvoiceLine into existing Invoice
 Sample Application:
Please click here for downloading Sample Code.
Please refer below steps for using an application for Inserting InvoiceLine to existing Invoice using VB.N...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Sample VB.NET Web Application for Inserting InvoiceLine into existing Invoice</span></h2>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Sample Application:</span></h3>
<p>Please <a href="//support.flexquarters.com/esupport/newimages/INVCW/QODBC-Invoice-Insert-Sample-Asp.net-VB.zip">click here</a> for downloading Sample Code.</p>
<p>Please refer below steps for using an application for Inserting InvoiceLine to existing Invoice using VB.NET.</p>
<p>Run the application &amp; click on the "Connect" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step1.png" alt="" /></p>
<p>The application is connected with QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step2.png" alt="" /></p>
<p>The application has two functionality:</p>
<p>1. Append the existing Invoice with a new Description Line which will add a new Description Line to the existing Invoice.</p>
<p>You need to insert the RefNumber (i.e., Invoice#) of the existing Invoice &amp; description which you want to enter and click on the "Insert New Invoice Line (Description Only)" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step3.png" alt="" /></p>
<p>New Description Line is added to the existing Invoice.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step4.png" alt="" /></p>
<p>Result in QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step5.png" alt="" /></p>
<p>2. Append the existing Invoice with a new ItemInventory/ItemService Line, adding a new ItemInventory/ItemService Line to the existing Invoice.</p>
<p>You need to insert the RefNumber (i.e., Invoice#) of the existing Invoice, the Item Full Name, Quantity, Rate &amp; Description which you want to enter and click on the "Insert New Invoice Line (Inventory/Service)" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step6.png" alt="" /></p>
<p>New Item Line is added to the existing Invoice.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step7.png" alt="" /></p>
<p>Result in QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVCW/step8.png" alt="" /></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Application Source Code:</span></h3>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Data.Odbc</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Drawing</span>

<span style="color: #008800; font-weight: bold;">Public</span> <span style="color: #008800; font-weight: bold;">Class</span> <span style="color: #bb0066; font-weight: bold;">_Default</span>
    <span style="color: #008800; font-weight: bold;">Inherits</span> Page
     <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Shared</span> _cn <span style="color: #000000; font-weight: bold;">As</span> OdbcConnection

    <span style="color: #008800; font-weight: bold;">Protected</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">Page_Load</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, <span style="color: #008800; font-weight: bold;">ByVal</span> e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> <span style="color: #008800; font-weight: bold;">Me</span>.Load
        lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">False</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>
    <span style="color: #008800; font-weight: bold;">Protected</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnConnect_Click</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, <span style="color: #008800; font-weight: bold;">ByVal</span> e <span style="color: #000000; font-weight: bold;">As</span> EventArgs)
        <span style="color: #008800; font-weight: bold;">Try</span>
            <span style="color: #008800; font-weight: bold;">If</span> (btnConnect.Text.Equals(<span style="background-color: #fff0f0;">"Disconnect"</span>)) <span style="color: #008800; font-weight: bold;">Then</span>
                <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">IsNot</span> <span style="color: #008800; font-weight: bold;">Nothing</span>) <span style="color: #008800; font-weight: bold;">Then</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Disconnecting...."</span>
                    _cn.Close()
                    _cn.Dispose()
                    btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connect"</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Not Connected"</span>
                    lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.DarkRed
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">Else</span>
                <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connecting...."</span>
                    _cn <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcConnection(<span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"DSN={0}"</span>, cboListOfDSN.Text))
                    _cn.ConnectionTimeout <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">60</span>
                    _cn.Open()
                    btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Disconnect"</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connected"</span>
                    lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.Green
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        <span style="color: #008800; font-weight: bold;">Catch</span> ex <span style="color: #000000; font-weight: bold;">As</span> Exception
            btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Errorred"</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Error - {0}, Stack Trace {1}"</span>, ex.Message, ex.StackTrace)
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Try</span>
        
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Protected</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnInsertInvoiceDescription_Click</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, <span style="color: #008800; font-weight: bold;">ByVal</span> e <span style="color: #000000; font-weight: bold;">As</span> EventArgs)

        <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
            btnConnect_Click(<span style="color: #008800; font-weight: bold;">Nothing</span>, <span style="color: #008800; font-weight: bold;">Nothing</span>)
            btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connect"</span>
            lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"NotConnected"</span>
            lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.DarkRed
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtDInvoiceNo.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Invoice Refer Number is required"</span>
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
            <span style="color: #888888;">'MessageBox.Show("Invoice Refer Number is required")</span>
            <span style="color: #008800; font-weight: bold;">Return</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtDDescription.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"New Line Description is required"</span>
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
            <span style="color: #888888;">'MessageBox.Show("New Line Description is required")</span>
            <span style="color: #008800; font-weight: bold;">Return</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

        InsertInvoiceLineDescriptionOnly(txtDInvoiceNo.Text, txtDDescription.Text)
        DisplayInvoiceInGrid(txtDInvoiceNo.Text)
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Protected</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnInvoiceInsertItem_Click</span>(<span style="color: #008800; font-weight: bold;">ByVal</span> sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, <span style="color: #008800; font-weight: bold;">ByVal</span> e <span style="color: #000000; font-weight: bold;">As</span> EventArgs)
        <span style="color: #008800; font-weight: bold;">Try</span>

            <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
                btnConnect_Click(<span style="color: #008800; font-weight: bold;">Nothing</span>, <span style="color: #008800; font-weight: bold;">Nothing</span>)
                btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connect"</span>
                lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"NotConnected"</span>
                lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.DarkRed
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIInvoiceNo.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
                <span style="color: #888888;">'MessageBox.Show("Invoice Refer Number is required")</span>
                lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Invoice Refer Number is required"</span>
                lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIItemFullName.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                <span style="color: #888888;">'MessageBox.Show("New Line Item Full Name is required")</span>
                lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"New Line Item Full Name is required"</span>
                lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIQuantity.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                <span style="color: #888888;">'MessageBox.Show("Invoice Refer Quantiy is required")</span>

                lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Invoice Refer Quantiy is required"</span>
                lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIRate.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                <span style="color: #888888;">'MessageBox.Show("New Line Rate is required")</span>
                lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"New Line Rate is required"</span>
                lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            InsertInvoiceLineItem(txtIInvoiceNo.Text, txtIItemFullName.Text, <span style="color: #333399; font-weight: bold;">Integer</span>.Parse(txtIQuantity.Text), <span style="color: #333399; font-weight: bold;">Integer</span>.Parse(txtIRate.Text), txtIDescription.Text)
            DisplayInvoiceInGrid(txtIInvoiceNo.Text)

        <span style="color: #008800; font-weight: bold;">Catch</span> ex <span style="color: #000000; font-weight: bold;">As</span> Exception
            <span style="color: #888888;">'MessageBox.Show(String.Format("Error - {0}, Stack Trace {1}", ex.Message, ex.StackTrace))</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Error - {0}, Stack Trace {1}"</span>, ex.Message, ex.StackTrace)
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Try</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>
    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">InsertInvoiceLineItem</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, itemFullName <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, quanity <span style="color: #000000; font-weight: bold;">As</span> Int16, rate <span style="color: #000000; font-weight: bold;">As</span> Int16, description <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> QBdrdr <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader
        <span style="color: #008800; font-weight: bold;">Dim</span> txnID <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span> <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select txnid from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)

        <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

        QBEmployeecmd.CommandType <span style="color: #333333;">=</span> CommandType.Text

        QBdrdr <span style="color: #333333;">=</span> QBEmployeecmd.ExecuteReader()


        <span style="color: #008800; font-weight: bold;">If</span> (QBdrdr.HasRows <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>) <span style="color: #008800; font-weight: bold;">Then</span>

            txnID <span style="color: #333333;">=</span> QBdrdr(<span style="background-color: #fff0f0;">"txnid"</span>).ToString()
        <span style="color: #008800; font-weight: bold;">Else</span>
            txnID <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Empty
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        QBdrdr.Close()


        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txnID)) <span style="color: #008800; font-weight: bold;">Then</span>
            <span style="color: #888888;">'MessageBox.Show("No Invoice Found")</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"No Invoice Found"</span>
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        <span style="color: #008800; font-weight: bold;">Else</span>
            query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Insert into invoiceline(txnid,InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineDesc) values('{0}','{1}',{2},{3},'{4}') "</span>, txnID, itemFullName, quanity, rate, description)
            <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd2 <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

            QBEmployeecmd2.CommandType <span style="color: #333333;">=</span> CommandType.Text
            QBEmployeecmd2.ExecuteNonQuery()

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">InsertInvoiceLineDescriptionOnly</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, newItemDescription <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> QBdrdr <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader
        <span style="color: #008800; font-weight: bold;">Dim</span> txnID <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select txnid from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)

        <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

        QBEmployeecmd.CommandType <span style="color: #333333;">=</span> CommandType.Text

        QBdrdr <span style="color: #333333;">=</span> QBEmployeecmd.ExecuteReader()


        <span style="color: #008800; font-weight: bold;">If</span> (QBdrdr.HasRows <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>) <span style="color: #008800; font-weight: bold;">Then</span>
            txnID <span style="color: #333333;">=</span> QBdrdr(<span style="background-color: #fff0f0;">"txnid"</span>).ToString()
        <span style="color: #008800; font-weight: bold;">Else</span>
            txnID <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Empty

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        QBdrdr.Close()

        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txnID)) <span style="color: #008800; font-weight: bold;">Then</span>
            <span style="color: #888888;">'MessageBox.Show("No Invoice Found")</span>
            lblErrorMessage.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"No Invoice Found"</span>
            lblErrorMessage.Visible <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        <span style="color: #008800; font-weight: bold;">Else</span>
            query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Insert into invoiceline(txnid,InvoiceLineDesc) values('{0}','{1}') "</span>, txnID, newItemDescription)
            <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd2 <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

            QBEmployeecmd2.CommandType <span style="color: #333333;">=</span> CommandType.Text
            QBEmployeecmd2.ExecuteNonQuery()

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">DisplayInvoiceInGrid</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span> <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select RefNumber,CustomerRefFullName,InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount  from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)
        ProcessQuery(query)
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>
    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">ProcessQuery</span>(query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> cmd <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)
        <span style="color: #008800; font-weight: bold;">Dim</span> reader <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader <span style="color: #333333;">=</span> cmd.ExecuteReader()
        <span style="color: #008800; font-weight: bold;">Dim</span> myTable <span style="color: #000000; font-weight: bold;">As</span> DataTable <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> DataTable()
        myTable.Load(reader)
        grvData.AutoGenerateColumns <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        grvData.DataSource <span style="color: #333333;">=</span> myTable
        grvData.DataBind()
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>


<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Class</span>
</pre>
</div>
<p>Keywords: sample .net, sample, .net, Dot Net, VB.Net</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Sample VB.NET source code for Inserting InvoiceLine into existing Invoice]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2923]]></link>
<guid isPermaLink="false"><![CDATA[a4666cd9e1ab0e4abf05a0fb232f4ad3]]></guid>
<pubDate><![CDATA[Tue, 25 Apr 2017 10:02:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Sample VB.NET source code for Inserting InvoiceLine into existing Invoice 
 Sample Application:
Please click here&nbsp;to download the Sample Code.
Please refer to the steps below for using an application for inserting InvoiceLine to an existing Invoic...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Sample VB.NET source code for Inserting InvoiceLine into existing Invoice </span></h2>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Sample Application:</span></h3>
<p>Please <a href="http://support.flexquarters.com/esupport/newimages/INVC/QODBC-Invoice-Insert-Sample-VB.zip">click here</a>&nbsp;to download the Sample Code.</p>
<p>Please refer to the steps below for using an application for inserting InvoiceLine to an existing Invoice using VB.NET.</p>
<p>You can change DSN as per your configuration. In this example, I am connecting to the default DSN QuickBooks Data. Run the application, select DSN &amp; click on the "Connect" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step1.png" alt="" /></p>
<p>The application is connected with QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step2.png" alt="" /></p>
<p>The application has two functionalities:</p>
<p>1. Append the existing Invoice with a new Description Line, which will add a new Description Line to the existing Invoice.</p>
<p>You need to insert the RefNumber (i.e., Invoice#) of the existing Invoice &amp; description which you want to enter and click on the "Insert New Invoice Line (Description Only)" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step3.png" alt="" /></p>
<p>A new Description Line is added to the existing Invoice.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step4.png" alt="" /></p>
<p>Result in QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step5.png" alt="" /></p>
<p>2. Append the existing Invoice with a new ItemInventory/ItemService Line, adding a new ItemInventory/ItemService Line to the existing&nbsp; Invoice.</p>
<p>You need to insert the RefNumber (i.e., Invoice#) of the existing Invoice, the Full Item Name, Quantity, Rate &amp; Description which you want to enter, and click on the "Insert New Invoice Line (Inventory/Service)" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step6.png" alt="" /></p>
<p>A new Item Line is added to the existing Invoice.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step7.png" alt="" /></p>
<p>Result in QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/INVC/step8.png" alt="" /></p>
<h3><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Application Source Code:</span></h3>
<div style="background: #ffffff; overflow: auto; width: auto; border: solid gray; border-width: .1em .1em .1em .8em; padding: .2em .6em;">
<pre style="margin: 0; line-height: 125%;"><span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Data</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Collections.Generic</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.ComponentModel</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Data.Odbc</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Drawing</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Linq</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Text</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Threading.Tasks</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Windows.Forms</span>
<span style="color: #008800; font-weight: bold;">Imports</span> <span style="color: #0e84b5; font-weight: bold;">System.Windows.Forms.VisualStyles</span>

<span style="color: #008800; font-weight: bold;">Public</span> <span style="color: #008800; font-weight: bold;">Class</span> <span style="color: #bb0066; font-weight: bold;">Form1</span>

    <span style="color: #008800; font-weight: bold;">Dim</span> _cn <span style="color: #000000; font-weight: bold;">As</span> OdbcConnection
    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnConnect_Click</span>(sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> btnConnect.Click
        <span style="color: #008800; font-weight: bold;">Try</span>
            Application.DoEvents()
            <span style="color: #008800; font-weight: bold;">If</span> (btnConnect.Text.Equals(<span style="background-color: #fff0f0;">"Disconnect"</span>)) <span style="color: #008800; font-weight: bold;">Then</span>
                <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">IsNot</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> IsDBNull(_cn)) <span style="color: #008800; font-weight: bold;">Then</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Disconnecting...."</span>
                    _cn.Close()
                    _cn.Dispose()
                    btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connect"</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Not Connected"</span>
                    lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.DarkRed
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">Else</span>
                <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connecting...."</span>
                    _cn <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcConnection(<span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"DSN={0}"</span>, cboListOfDSN.Text))
                    _cn.ConnectionTimeout <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">60</span>
                    _cn.Open()
                    btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Disconnect"</span>
                    lblConnectionStatus.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Connected"</span>
                    lblConnectionStatus.ForeColor <span style="color: #333333;">=</span> Color.Green
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            Application.DoEvents()
        <span style="color: #008800; font-weight: bold;">Catch</span> ex <span style="color: #000000; font-weight: bold;">As</span> Exception
            Application.DoEvents()
            btnConnect.Text <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"Errorred"</span>
            MessageBox.Show(<span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Error - {0}, Stack Trace {1}"</span>, ex.Message, ex.StackTrace))
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Try</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">button1_Click</span>(sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> button1.Click
        <span style="color: #008800; font-weight: bold;">Me</span>.Close()
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">Form1_Load</span>(sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> <span style="color: #008800; font-weight: bold;">MyBase</span>.Load
        ListOutDSN()
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">ListOutDSN</span>()

        cboListOfDSN.Items.Clear()
        <span style="color: #008800; font-weight: bold;">Dim</span> myOdbcKeys <span style="color: #333333;">=</span> Microsoft.Win32.Registry.LocalMachine.OpenSubKey(<span style="background-color: #fff0f0;">"SOFTWARE\\ODBC\\ODBC.INI\\ODBC Data Sources"</span>, <span style="color: #008800; font-weight: bold;">False</span>).GetValueNames()

        <span style="color: #008800; font-weight: bold;">For</span> <span style="color: #008800; font-weight: bold;">Each</span> item <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span> <span style="color: #000000; font-weight: bold;">In</span> myOdbcKeys
            cboListOfDSN.Items.Add(item)
        <span style="color: #008800; font-weight: bold;">Next</span>

        myOdbcKeys <span style="color: #333333;">=</span> Microsoft.Win32.Registry.CurrentUser.OpenSubKey(<span style="background-color: #fff0f0;">"SOFTWARE\\ODBC\\ODBC.INI\\ODBC Data Sources"</span>, <span style="color: #008800; font-weight: bold;">False</span>).GetValueNames()

        <span style="color: #008800; font-weight: bold;">For</span> <span style="color: #008800; font-weight: bold;">Each</span> item <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span> <span style="color: #000000; font-weight: bold;">In</span> myOdbcKeys
            cboListOfDSN.Items.Add(item)
        <span style="color: #008800; font-weight: bold;">Next</span>


        <span style="color: #008800; font-weight: bold;">If</span> (cboListOfDSN.Items.Count <span style="color: #333333;">&gt;</span> <span style="color: #0000dd; font-weight: bold;">0</span>) <span style="color: #008800; font-weight: bold;">Then</span>
            <span style="color: #008800; font-weight: bold;">For</span> <span style="color: #008800; font-weight: bold;">Each</span> item <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span> <span style="color: #000000; font-weight: bold;">In</span> cboListOfDSN.Items
                <span style="color: #008800; font-weight: bold;">If</span> (item.Equals(<span style="background-color: #fff0f0;">"QuickBooks Data"</span>)) <span style="color: #008800; font-weight: bold;">Then</span>
                    cboListOfDSN.Text <span style="color: #333333;">=</span> item
                    <span style="color: #008800; font-weight: bold;">Return</span>
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
                <span style="color: #008800; font-weight: bold;">If</span> (item.Equals(<span style="background-color: #fff0f0;">"QuickBooks Data POS"</span>)) <span style="color: #008800; font-weight: bold;">Then</span>
                    cboListOfDSN.Text <span style="color: #333333;">=</span> item
                    <span style="color: #008800; font-weight: bold;">Return</span>
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
                <span style="color: #008800; font-weight: bold;">If</span> (item.Equals(<span style="background-color: #fff0f0;">"QuickBooks Data Online"</span>)) <span style="color: #008800; font-weight: bold;">Then</span>
                    cboListOfDSN.Text <span style="color: #333333;">=</span> item
                    <span style="color: #008800; font-weight: bold;">Return</span>
                <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
                cboListOfDSN.SelectedIndex <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>
            <span style="color: #008800; font-weight: bold;">Next</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>



    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnInsertInvoiceDescription_Click</span>(sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> btnInsertInvoiceDescription.Click
        <span style="color: #888888;">'If (IsNothing(_cn) Or _cn.State = ConnectionState.Closed) Then</span>
        <span style="color: #888888;">'btnConnect_Click(Nothing, Nothing)</span>
        <span style="color: #888888;">'End If</span>
        <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
            btnConnect_Click(<span style="color: #008800; font-weight: bold;">Nothing</span>, <span style="color: #008800; font-weight: bold;">Nothing</span>)
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtDInvoiceNo.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
            MessageBox.Show(<span style="background-color: #fff0f0;">"Invoice Refer Number is required"</span>)
            <span style="color: #008800; font-weight: bold;">Return</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtDDescription.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
            MessageBox.Show(<span style="background-color: #fff0f0;">"New Line Description is required"</span>)
            <span style="color: #008800; font-weight: bold;">Return</span>
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

        InsertInvoiceLineDescriptionOnly(txtDInvoiceNo.Text, txtDDescription.Text)
        DisplayInvoiceInGrid(txtDInvoiceNo.Text)

    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">InsertInvoiceLineDescriptionOnly</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, newItemDescription <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> QBdrdr <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader
        <span style="color: #008800; font-weight: bold;">Dim</span> txnID <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select txnid from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)

        <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

        QBEmployeecmd.CommandType <span style="color: #333333;">=</span> CommandType.Text

        QBdrdr <span style="color: #333333;">=</span> QBEmployeecmd.ExecuteReader()


        <span style="color: #008800; font-weight: bold;">If</span> (QBdrdr.HasRows <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>) <span style="color: #008800; font-weight: bold;">Then</span>
            txnID <span style="color: #333333;">=</span> QBdrdr(<span style="background-color: #fff0f0;">"txnid"</span>).ToString()
        <span style="color: #008800; font-weight: bold;">Else</span>
            txnID <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Empty

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        QBdrdr.Close()

        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txnID)) <span style="color: #008800; font-weight: bold;">Then</span>
            MessageBox.Show(<span style="background-color: #fff0f0;">"No Invoice Found"</span>)
        <span style="color: #008800; font-weight: bold;">Else</span>
            query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Insert into invoiceline(txnid,InvoiceLineDesc) values('{0}','{1}') "</span>, txnID, newItemDescription)
            <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd2 <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

            QBEmployeecmd2.CommandType <span style="color: #333333;">=</span> CommandType.Text
            QBEmployeecmd2.ExecuteNonQuery()

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">DisplayInvoiceInGrid</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span> <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select RefNumber,CustomerRefFullName,InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount  from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)
        ProcessQuery(query)
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">ProcessQuery</span>(query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> cmd <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)
        <span style="color: #008800; font-weight: bold;">Dim</span> reader <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader <span style="color: #333333;">=</span> cmd.ExecuteReader()
        <span style="color: #008800; font-weight: bold;">Dim</span> myTable <span style="color: #000000; font-weight: bold;">As</span> DataTable <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> DataTable()
        myTable.Load(reader)
        grvData.AutoGenerateColumns <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>
        grvData.DataSource <span style="color: #333333;">=</span> myTable
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>


    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">btnInvoiceInsertItem_Click</span>(sender <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">Object</span>, e <span style="color: #000000; font-weight: bold;">As</span> EventArgs) <span style="color: #008800; font-weight: bold;">Handles</span> btnInvoiceInsertItem.Click

        <span style="color: #008800; font-weight: bold;">Try</span>

            <span style="color: #008800; font-weight: bold;">If</span> (_cn <span style="color: #000000; font-weight: bold;">Is</span> <span style="color: #008800; font-weight: bold;">Nothing</span> <span style="color: #000000; font-weight: bold;">OrElse</span> _cn.State <span style="color: #333333;">=</span> ConnectionState.Closed) <span style="color: #008800; font-weight: bold;">Then</span>
                btnConnect_Click(<span style="color: #008800; font-weight: bold;">Nothing</span>, <span style="color: #008800; font-weight: bold;">Nothing</span>)
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIInvoiceNo.Text)) <span style="color: #008800; font-weight: bold;">Then</span>
                MessageBox.Show(<span style="background-color: #fff0f0;">"Invoice Refer Number is required"</span>)
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIItemFullName.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                MessageBox.Show(<span style="background-color: #fff0f0;">"New Line Item Full Name is required"</span>)
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIQuantity.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                MessageBox.Show(<span style="background-color: #fff0f0;">"Invoice Refer Quantiy is required"</span>)
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>

            <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txtIRate.Text)) <span style="color: #008800; font-weight: bold;">Then</span>

                MessageBox.Show(<span style="background-color: #fff0f0;">"New Line Rate is required"</span>)
                <span style="color: #008800; font-weight: bold;">Return</span>
            <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
            InsertInvoiceLineItem(txtIInvoiceNo.Text, txtIItemFullName.Text, <span style="color: #333399; font-weight: bold;">Integer</span>.Parse(txtIQuantity.Text), <span style="color: #333399; font-weight: bold;">Integer</span>.Parse(txtIRate.Text), txtIDescription.Text)
            DisplayInvoiceInGrid(txtIInvoiceNo.Text)

        <span style="color: #008800; font-weight: bold;">Catch</span> ex <span style="color: #000000; font-weight: bold;">As</span> Exception
            MessageBox.Show(<span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Error - {0}, Stack Trace {1}"</span>, ex.Message, ex.StackTrace))
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Try</span>

    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

    <span style="color: #008800; font-weight: bold;">Private</span> <span style="color: #008800; font-weight: bold;">Sub</span> <span style="color: #0066bb; font-weight: bold;">InsertInvoiceLineItem</span>(invoiceRefNumber <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, itemFullName <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>, quanity <span style="color: #000000; font-weight: bold;">As</span> Int16, rate <span style="color: #000000; font-weight: bold;">As</span> Int16, description <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>)
        <span style="color: #008800; font-weight: bold;">Dim</span> QBdrdr <span style="color: #000000; font-weight: bold;">As</span> OdbcDataReader
        <span style="color: #008800; font-weight: bold;">Dim</span> txnID <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span>
        <span style="color: #008800; font-weight: bold;">Dim</span> query <span style="color: #000000; font-weight: bold;">As</span> <span style="color: #333399; font-weight: bold;">String</span> <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"select txnid from InvoiceLine where RefNumber='{0}'"</span>, invoiceRefNumber)

        <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

        QBEmployeecmd.CommandType <span style="color: #333333;">=</span> CommandType.Text

        QBdrdr <span style="color: #333333;">=</span> QBEmployeecmd.ExecuteReader()


        <span style="color: #008800; font-weight: bold;">If</span> (QBdrdr.HasRows <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">True</span>) <span style="color: #008800; font-weight: bold;">Then</span>

            txnID <span style="color: #333333;">=</span> QBdrdr(<span style="background-color: #fff0f0;">"txnid"</span>).ToString()
        <span style="color: #008800; font-weight: bold;">Else</span>
            txnID <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Empty
        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
        QBdrdr.Close()


        <span style="color: #008800; font-weight: bold;">If</span> (<span style="color: #333399; font-weight: bold;">String</span>.IsNullOrEmpty(txnID)) <span style="color: #008800; font-weight: bold;">Then</span>
            MessageBox.Show(<span style="background-color: #fff0f0;">"No Invoice Found"</span>)
        <span style="color: #008800; font-weight: bold;">Else</span>
            query <span style="color: #333333;">=</span> <span style="color: #333399; font-weight: bold;">String</span>.Format(<span style="background-color: #fff0f0;">"Insert into invoiceline(txnid,InvoiceLineItemRefFullName, InvoiceLineQuantity, InvoiceLineRate, InvoiceLineDesc) values('{0}','{1}',{2},{3},'{4}') "</span>, txnID, itemFullName, quanity, rate, description)
            <span style="color: #008800; font-weight: bold;">Dim</span> QBEmployeecmd2 <span style="color: #000000; font-weight: bold;">As</span> OdbcCommand <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">New</span> OdbcCommand(query, _cn)

            QBEmployeecmd2.CommandType <span style="color: #333333;">=</span> CommandType.Text
            QBEmployeecmd2.ExecuteNonQuery()

        <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">If</span>
    <span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Sub</span>

<span style="color: #008800; font-weight: bold;">End</span> <span style="color: #008800; font-weight: bold;">Class</span>
</pre>
</div>
<p>Keywords: sample .net, sample, .net, Dot Net, VB.Net</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Troubleshooting - How to use QRemoteServer with multiple Windows User]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2915]]></link>
<guid isPermaLink="false"><![CDATA[e924517087669cf201ea91bd737a4ff4]]></guid>
<pubDate><![CDATA[Fri, 14 Apr 2017 13:02:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to use QRemoteServer with multiple Windows users 
Problem Description:
I have a server where multiple users are logged in.
I want to run QRemoteServer for each Windows User.
Can I configure QRemoteServer user-wise? So QRemote ca...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to use QRemoteServer with multiple Windows users </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I have a server where multiple users are logged in.</p>
<p>I want to run QRemoteServer for each Windows User.</p>
<p>Can I configure QRemoteServer user-wise? So QRemote can process user-wise requests.</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>QRemoteServer has Windows user-wise configuration features. So you can use this feature for running QRemoteServer for each Windows User.</p>
<p>You need to configure QRemoteServer for each Windows user you want to use QRemoteServer.</p>
<p>You need to configure QRemoteServer on different IPs/Ports for each Windows. So conflict does not happen between any Windows Users.</p>
<p>For example, if you have three Windows Users &amp; you want to use QRemoteServer for each Windows User, then you need to configure QRemoteServer for each user.</p>
<p>In this tutorial, I demonstrate how to use QRemoteServer for three different Windows Users.</p>
<p>I have three Windows Users, as shown below. <br />1. Administrator<br />2. Jack<br />3. John</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step1.png" alt="" /></p>
<p>First, we need to log in with the User 1 (i.e., Administrator) account. User 1 will use the default configuration of QRemoteServer (i.e., Default IP &amp; Port).</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step14.png" alt="" /></p>
<p>We will not change the configuration for User 1. We will change the configuration of User 2 &amp; User 3.</p>
<p>&nbsp;</p>
<p>We will exit QRemoteServer from User 1. So it will not create conflict in other users' QRemoteServer configuration.</p>
<p>&nbsp;</p>
<p>You can find the QRemote Server running in the System Tray. Double-click on the QRemoteServer icon to open it.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step2.png" alt="" /></p>
<p>QRemoteServer is running with the default configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step3.png" alt="" /></p>
<p>To exit/quit QRemoteServer, go to File &gt;&gt; Exit.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step7.png" alt="" /></p>
<p>Now we will log in with User 2 (i.e., Jack) &amp; configure QRemoteServer. We will configure QRemoteServer on port 4501 for User 2.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step13.png" alt="" /></p>
<p>Open QRemoteServer from the System Tray &amp; click on File &gt;&gt; Settings.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step4.png" alt="" /></p>
<p>Setting Window will open. Navigate to the "Advanced" tab, &amp; Enable the "Windows user-wise configuration" option &amp; change the Port to the specified port &amp; enter port no 4501 in the box, and click the "Apply" button to save the configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step5.png" alt="" /></p>
<p>QRemoteServer configuration is saved. We need to restart QRemoteServer to load the new configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step6.png" alt="" /></p>
<p>To exit/quit QRemoteServer, go to File &gt;&gt; Exit.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step7.png" alt="" /></p>
<p>Start QRemoteServer from : Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step8.png" alt="" /></p>
<p>QRemoteServer is running on Port 4501 for User 2 (i.e., Jack).</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step9.png" alt="" /></p>
<p>Now we will log in with User 3 (i.e., John) &amp; configure QRemoteServer. We will configure QRemoteServer on port 4502 for User 3.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step12.png" alt="" /></p>
<p>Open QRemoteServer from the System Tray &amp; click on File &gt; Settings.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step4.png" alt="" /></p>
<p>Setting Window will open. Navigate to the "Advanced" tab, &amp; Enable the "Windows user-wise configuration" option &amp; change the port to the specified port &amp; enter port no 4502 in the box, and click the "Apply" button to save the configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step10.png" alt="" /></p>
<p>QRemoteServer configuration is saved. We need to restart QRemoteServer to load the new configuration.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step6.png" alt="" /></p>
<p>To exit/quit QRemoteServer, go to File &gt;&gt; Exit.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step7.png" alt="" /></p>
<p>Start QRemoteServer from : Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step8.png" alt="" /></p>
<p>QRemoteServer runs on Port 4502 for User 3 (i.e., John).</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteMUser/step11.png" alt="" /></p>
<p>By repeating the above process, you can configure QRemoteServer&nbsp;for multiple users.</p>
<p>Also, refer to the following:</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2862" target="_blank">Getting Error Unable to Bind to Specified IP Address</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2497" target="_blank">Listening failed. QRemote Server shuts down in 15 Sec</a>.</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC with Layer2 Cloud Connector Solution]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2895]]></link>
<guid isPermaLink="false"><![CDATA[6b8b8e3bd6ad94b985c1b1f1b7a94cb2]]></guid>
<pubDate><![CDATA[Tue, 07 Mar 2017 07:06:32 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Layer2 Cloud Connector Solution
This article shows how you can easily integrate the QODBC driver for QuickBooks into the Layer2 Cloud Connector Solution. 1. Open Connection Manager by clicking on "Start Connection Manager."
&nbsp;...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with Layer2 Cloud Connector Solution</span></h2>
<p>This article shows how you can easily integrate the QODBC driver for QuickBooks into the Layer2 Cloud Connector Solution. <br /><br />1. Open Connection Manager by clicking on "Start Connection Manager."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step1.PNG" alt="" /></p>
<p>Connection Manager opened.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step2.PNG" alt="" /></p>
<p>2. Add a new connection by right-clicking on "Connection Manager" &amp; click on "Create New Connection."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step3.PNG" alt="" /></p>
<p>3. Enter the Connection Name &amp; click on "Save Changes."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step4.PNG" alt="" /></p>
<p>4. To connect to QuickBooks, the data entity must be configured in the Layer2 Cloud Connector Connection Manager. Select "Odbc Data Provider" as a Data Provider &amp; insert <strong>DSN=QuickBooks Data QRemote; OLE DB Services=-2;</strong> as a Connection String and click on "Verify Connection String."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step5.PNG" alt="" /></p>
<p>Connection Verified.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step6.PNG" alt="" /></p>
<p>Please Note: If you have a 64-bit application, you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote,</strong>" as shown in the screenshot below.<br />Please refer to:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">How to configure QRemote</a></p>
<p>5. Enter the SQL Statement and click on "Verify Select Statement."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step7.PNG" alt="" /></p>
<p>Select Statement Verified.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step8.PNG" alt="" /></p>
<p>6. Enter Primary Key and click on "Verify Primary Key."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step9.PNG" alt="" /></p>
<p>Primary Key Verified. Click on "Save Changes" to save the connection property.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Layer2/step10.PNG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Performance issue QODBC Test Tool versus my C# app.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2881]]></link>
<guid isPermaLink="false"><![CDATA[445e1050156c6ae8c082a8422bb7dfc0]]></guid>
<pubDate><![CDATA[Wed, 04 Jan 2017 10:25:44 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Performance issue&nbsp;QODBC Test Tool versus my C# app.
Problem Description:
I am running the same query on both returns, a big difference. The QODBC Test Tool&nbsp;app takes around 7 seconds, and my C# app takes 1:20 minutes. Are the...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting - Performance issue&nbsp;QODBC Test Tool versus my C# app.</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p>I am running the same query on both returns, a big difference. The QODBC Test Tool&nbsp;app takes around 7 seconds, and my C# app takes 1:20 minutes. <br /><br />Are there any settings I need to set to get the same results?</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p>Your C# app needs an STA (single-threaded-apartment) threading model. Multi-threading slows QODBC down as we need to re-establish a connection to QuickBooks every time the Thread ID changes. <br /><br />Check your C# Express documentation or help files for thread management techniques.</p>
<p>See also the <strong>MSDN</strong> .NET Framework Developer Center:&nbsp; <a href="http://msdn2.microsoft.com/en-us/library/system.stathreadattribute.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/system.stathreadattribute.aspx</a>.&nbsp;</p>
<p><strong>Note:</strong> ADODB works when&nbsp;you loop through the resultant Recordset via Recordset.MoveNext(), an additional query&nbsp;is made through QODBC for each record. These other queries caused 50 minutes of runtime for&nbsp;a 7000 invoice query.<br /><br />The first function below demonstrates the ADODB method that took ~1 hour. The second does the same thing with ODBC and takes less than a minute.&nbsp;<br /><br />[<span style="color: #33cccc;">STAThread</span>]<br /><span style="color: #0000ff;">static void</span> test1() {<br />&nbsp;&nbsp;&nbsp; ADD.&nbsp;<span style="color: #008080;">Connection</span> con = <span style="color: #0000ff;">New </span>ADODB.<span style="color: #008080;">Connection</span>();<br />&nbsp;&nbsp;&nbsp; con.Open(<span style="color: #800000;">"DSN=QuickBooks Data;OLE DB Services=-2"</span>, <span style="color: #800000;">""</span>, <span style="color: #800000;">""</span>, -1);<br />&nbsp;&nbsp;&nbsp; <span style="color: #0000ff;">string </span>invoiceSQL =<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"SELECT CustomerRefFullName, RefNumber, TxnDate, BalanceRemaining, AppliedAmount, Memo "</span> +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"FROM Invoice "</span> +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"WHERE TxnDate&gt;{d'2006-04-02'}"</span>;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ADODB.<span style="color: #008080;">Recordset </span>invoiceResult = <span style="color: #0000ff;">new </span>ADODB.<span style="color: #008080;">Recordset</span>();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; invoiceResult.Open(invoiceSQL, con, ADODB.<span style="color: #008080;">CursorTypeEnum</span>.adOpenStatic, ADODB.<span style="color: #008080;">LockTypeEnum</span>.adLockOptimistic, 0);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #0000ff;">while</span>(!invoiceResult.EOF) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">Console</span>.WriteLine(<span style="color: #800000;">"Invoice #"</span> + invoiceResult.Fields[<span style="color: #800000;">"RefNumber"</span>].Value.ToString());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; invoiceResult.MoveNext();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Close();<br />}<br /><br /><br />[<span style="color: #33cccc;">STAThread</span>]<br /><span style="color: #0000ff;">static void</span> test2() {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">OdbcConnection </span>con = <span style="color: #0000ff;">new </span><span style="color: #008080;">OdbcConnection</span>(<span style="color: #800000;">"DSN=QuickBooks Data"</span>);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Open();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">OdbcDataAdapter </span>dAdapter = <span style="color: #0000ff;">new </span><span style="color: #008080;">OdbcDataAdapter</span>(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"SELECT CustomerRefFullName, RefNumber, TxnDate, BalanceRemaining, AppliedAmount, Memo "</span> +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"FROM Invoice "</span> +<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #800000;">"WHERE TxnDate&gt;{d'2006-04-02'}", con)</span>;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">DataTable </span>result = <span style="color: #0000ff;">new </span><span style="color: #008080;">DataTable</span>();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adapter.Fill(result);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">DataTableReader </span>reader = <span style="color: #0000ff;">new </span><span style="color: #008080;">DataTableReader</span>(result);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #0000ff;">while</span>(reader.Read()){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #008080;">Console</span>.WriteLine(<span style="color: #800000;">"Invoice #: "</span> + reader.GetString(1));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Close();<br />}<br /><br /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting Error Invalid authorization specification in SQL Server.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2880]]></link>
<guid isPermaLink="false"><![CDATA[c61f571dbd2fb949d3fe5ae1608dd48b]]></guid>
<pubDate><![CDATA[Mon, 26 Dec 2016 13:58:16 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Getting Error: Invalid authorization specification in SQL Server.
Problem Description:
 I am trying to create a Linked Server on SQL Server.QODBC Test Tool&nbsp;connects successfully to QREMOTE on the QuickBooks Server.Setting up the L...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting - Getting Error: Invalid authorization specification in SQL Server.</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> I am trying to create a Linked Server on SQL Server.<br /><br /><strong>QODBC Test Tool</strong>&nbsp;connects successfully to QREMOTE on the QuickBooks Server.<br /><br />Setting up the Linked server - I get this error:<br /><br />An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)<br /><br />The OLE DB provider "SQLNCLI10" for the linked server "QREMOTELINK" reported an error. Authentication failed.<br /><br />Cannot initialize the OLE DB provider "SQLNCLI10" data source object for linked server "QREMOTELINK."<br /><br />OLE DB provider "SQLNCLI10" for linked server "QREMOTELINK" returned the message "Invalid authorization specification." (Microsoft SQL Server, Error: 7399)<br /><br /> </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/SQLIAS/step1.png" alt="" /></p>
<p>So, I'm out of ideas.<br /><br />Please tell me how to get rid of this issue.&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 message "Invalid authorization specification" means that the linked server settings to connect to the server are incorrect. <br /><br />Please verify the below-listed linked server property &amp; test again. <br /><br />1. Please ensure that you have selected the correct provider,&nbsp;<strong>Microsoft OLE DB Provider, for ODBC Drivers,</strong>&nbsp;instead of any other providers. </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/SQLIAS/step2.png" alt="" /></p>
<p>2. In the security tab, please make sure that you have selected <strong>Be made without using a security context</strong> option.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/SQLIAS/step3.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create a Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458" target="_blank">How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC with Microstrategy]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2877]]></link>
<guid isPermaLink="false"><![CDATA[f076073b2082f8741a9cd07b789c77a0]]></guid>
<pubDate><![CDATA[Mon, 19 Dec 2016 13:17:30 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with MicroStrategy
QODBC enables access to various important data sources in business intelligence tools such as MicroStrategy. In this article, we will show how to connect to QuickBooks data, import data with the UI or query, and create...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with MicroStrategy</span></h2>
<p>QODBC enables access to various important data sources in business intelligence tools such as MicroStrategy. In this article, we will show how to connect to QuickBooks data, import data with the UI or query, and create a dashboard with several data visualizations.<br /><br />The steps below show how to access data from the QODBC for QuickBooks in MicroStrategy.<br /><br />On the dashboard, click the plus icon to add Data by clicking "New Data."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step1.PNG" alt="" /></p>
<p>Click on Database.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step2.PNG" alt="" /></p>
<p>Select Generic.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step3.PNG" alt="" /></p>
<p>Select "Build Query" as the Import option &amp; click "Next."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step4.PNG" alt="" /></p>
<p>On the dashboard, click "Add..." to add a connection to QuickBooks.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step5.PNG" alt="" /></p>
<p>In the dialog that is displayed, the following information is required:<br /><br /></p>
<ul>
<li><strong>DSN</strong>: Select the DSN associated with QODBC &amp; QuickBooks from the list. The default DSN is QuickBooks Data.</li>
<li><strong>Version</strong>: Select the "Generic DBMS" option in the menu.</li>
<li><strong>User</strong>: Enter the username you want to create in the MicroStrategy database connection. In this example, I have used QODBC.</li>
<li><strong>Password</strong>: Enter the password you want to create in the MicroStrategy database connection. In this example, I have used QODBC.</li>
<li><strong>Data Source Name</strong>: Enter the Data Source Name you want to create in the MicroStrategy database connection. In this example, I have used Test.</li>
</ul>
<p><strong>Note:</strong>&nbsp;QODBC or QuickBooks do not require the username and password, but it is mandatory in MicroStrategy, and thus it is added here.</p>
<p>&nbsp;</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step13.PNG" alt="" /></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>". Please refer to how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">&nbsp;to configure QRemote</a>.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step6.PNG" alt="" /></p>
<p>Data source added.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step7.PNG" alt="" /></p>
<p>Double-click on the Data source name to see the list of available tables.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step8.PNG" alt="" /></p>
<p>Click "Edit SQL" to write an SQL query.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step9.PNG" alt="" /></p>
<p>Enter the query in the Editor.<br />In this example, I am fetching the Customer Name &amp; Balance from the Customer table.<br />SELECT Name, Balance FROM Customer</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step10.PNG" alt="" /></p>
<p>Select the Data Access Mode that you want to use.<br />In this example, I have selected Import as an In-memory Dataset.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step11.PNG" alt="" /></p>
<p>On the resulting page, click Select Visualization -&gt; Bar Chart -&gt; Clustered Bar Chart.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Microstrategy/step12.PNG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with NetBeans]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2876]]></link>
<guid isPermaLink="false"><![CDATA[12a1d073d5ed3fa12169c67c4e2ce415]]></guid>
<pubDate><![CDATA[Mon, 19 Dec 2016 13:09:40 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Note: The JDBC-ODBC bridge driver was removed in Java 8, preventing ODBC drivers from being usable in newer versions of Java or other Java-based applications.
Refer:&nbsp;Oracle JDBC-ODBC Bridge
How to Use QODBC with NetBeans
QODBC enables access to va...]]></description>
<content:encoded><![CDATA[<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #ff0000;">Note</span></strong><span style="color: #ff0000;">:</span></span> <strong>The JDBC-ODBC bridge driver was removed in Java 8, preventing ODBC drivers from being usable in newer versions of Java or other Java-based applications.</strong></p>
<p>Refer:&nbsp;<a href="http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/bridge.html" target="_blank">Oracle JDBC-ODBC Bridge</a></p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to Use QODBC with NetBeans</span></h2>
<p>QODBC enables access to various important data sources in business intelligence tools such as NetBeans. This article will show how to connect to QuickBooks data and import data with a query.<br /><br />The steps below show how to access data from the QODBC for QuickBooks in NetBeans.<br /><br />Open NetBeans IDE.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step1.PNG" alt="" /></p>
<p>Create a new project using the menu File &gt;&gt; New Project.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step2.PNG" alt="" /></p>
<p>Select Java Application &amp; click "Next."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step3.PNG" alt="" /></p>
<p>Enter Project Name &amp; click "Finish."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step4.PNG" alt="" /></p>
<p>A new Project will be created by clicking "Finish." Click the "Services" button to open the Service window.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step5.PNG" alt="" /></p>
<p>You should see the Service window open.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step6.PNG" alt="" /></p>
<p>In the Service window, click the Database node &gt;&gt; Drivers &gt;&gt; right-click on "JDBC-ODBC Bridge" and click "Connect Using.."<br /><br /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step7.PNG" alt="" /></p>
<p>In the New Connection Wizard, enter the following connection properties &amp; click "Test Connection":</p>
<ul>
<li><strong>Driver Name</strong>: JDBC-ODBC Bridge.</li>
<li><strong>JDBC URL</strong>: JDBC:odbc: QuickBooks Data</li>
</ul>
<p>&nbsp;</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step8.PNG" alt="" /></p>
<p>Please Note: If you have a 64-bit application, you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote</strong>".<br />Please refer to:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">How to configure QRemote</a></p>
<p>Test Connection success. Click on "Finish" for the finished configuration.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step9.PNG" alt="" /></p>
<p>Connection added. It shows the list of available tables.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step10.PNG" alt="" /></p>
<p>Right-click on "Tables" &amp; click "Execute Command..." to write an SQL query.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step11.PNG" alt="" /></p>
<p>Enter the query in the Editor &amp; click on the "Run SQL" icon.<br />In this example, I am fetching the Customer table records.<br />Select * from Customer.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step12.PNG" alt="" /></p>
<p>Query results are available with a list of the Customers.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/NetBeans/step13.PNG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use QODBC with Talend ETL]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2875]]></link>
<guid isPermaLink="false"><![CDATA[4f1f29888cabf5d45f866fe457737a23]]></guid>
<pubDate><![CDATA[Mon, 19 Dec 2016 13:05:21 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Talend ETL
Note: The JDBC-ODBC bridge driver was removed in Java 8, preventing ODBC drivers from being usable in newer versions of Java or other Java-based applications.
Refer:&nbsp;Oracle JDBC-ODBC Bridge
How to Use QODBC with Ne...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with Talend ETL</span></h2>
<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #ff0000;">Note</span></strong><span style="color: #ff0000;">:</span></span> <strong>The JDBC-ODBC bridge driver was removed in Java 8, preventing ODBC drivers from being usable in newer versions of Java or other Java-based applications.</strong></p>
<p>Refer:&nbsp;<a href="http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/bridge.html" target="_blank">Oracle JDBC-ODBC Bridge</a></p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to Use QODBC with NetBeans</span></h2>
<p>This article shows how you can easily integrate the QODBC driver for QuickBooks into your workflow in Talend. <br /><br />Follow the steps below to connect to the DSN and create real-time data visualizations:<br />1. Open Talend ETL &amp; create a new project by clicking on "Create..".</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step1.PNG" alt="" /></p>
<p>2. Enter Project Name &amp; click "Finish."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step2.PNG" alt="" /></p>
<p>3. To open the project, click "Open."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step3.PNG" alt="" /></p>
<p>4. Add a new database connection to QuickBooks data: To add a new connection, expand the Metadata node, right-click the Db Connections node, and click Create connection.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step4.PNG" alt="" /></p>
<p>5. In the resulting wizard, enter a name for the connection &amp; click "Next."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step5.PNG" alt="" /></p>
<p>6. On the next page, select Generic ODBC from the DB Type menu, enter the DataSource name "QuickBooks Data," &amp; click "Check" to test the database connection.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step6.PNG" alt="" /></p>
<p>Please Note: If you have a 64-bit application, you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote,</strong>" as shown in the screenshot below.<br />Please refer to how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">&nbsp;to configure QRemote</a>.</p>
<p>You will notice the "Database connection successful" pop-up message on a successful database connection. Click "OK" to close the pop-up message &amp; "Finish" to finish the configuration.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step7.PNG" alt="" /></p>
<p>The database connection is added in the Talend ETL.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step8.PNG" alt="" /></p>
<p>Now that your repository database connection has been established, right-click your Database Connection and select Retrieve Schema from the pop-up menu. This will display the Schema dialog. Step 1 of this dialog allows you to set your Filter Conditions and selection types.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step9.PNG" alt="" /></p>
<p>This step will only specify the filtering rules for the objects to import. Once these options have been completed, hit Next to select the things you want to import.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step10.PNG" alt="" /></p>
<p>Stage 2 allows you to choose objects. Select the objects you want to import using the checkboxes to the left of each node. Name Filter enables you to hide things from view. When completed, hit Next. Note that you may need to allow Talend time to retrieve information from the database before this button becomes available.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step11.PNG" alt="" /></p>
<p>Stage 3 allows you to make some final amendments before you import. This is more useful when you are reviewing previously imported objects. For this tutorial, we'll leave these options with their default values&mdash;hit Finish to import the schema.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step12.PNG" alt="" /></p>
<p>If the schema is not loading automatically, you can add the schema manually by clicking the "+" option &amp; add the required columns.</p>
<p>You can refer to the&nbsp;<a href="http://qodbc.com/schema.htm" target="_blank">QODBC Data Layouts</a> site for details about different report parameters.</p>
<p>Navigate to the above link &amp; click on the region of the QuickBooks edition you are using.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step16.png" alt="" /></p>
<p>The table is added to the Talend ETL.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step13.PNG" alt="" /></p>
<p>You can now create a simple Job that will read data from your database.<br /><br />Create a new Job and drag one of the Table objects from the Repository to the Job Workspace. When you drop the object onto the Workspace, you can choose the Talend component that should be used. Choose the default, tDBInput (or the database input component for your database vendor).</p>
<p align="center">&nbsp;The customer table from the ODBC catalog will be used in the example shown here.&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step14.PNG" alt="" /></p>
<p>Note. In this example, you're going to write the output of this table to the Talend Console, so you may want to choose a table with a small number of rows. Add a tLogRow component to your Job and connect the two components using Row-&gt;Main. You should now be able to run your Job and see data displayed in the Talend Console. Your completed Job and results should look similar to the screenshot below.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/TETL/step15.PNG" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Use QODBC with Tibco Spotfire]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2874]]></link>
<guid isPermaLink="false"><![CDATA[e6af401c28c1790eaef7d55c92ab6ab6]]></guid>
<pubDate><![CDATA[Mon, 19 Dec 2016 11:23:12 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Tibco Spotfire
This article walks you through using the QODBC Driver for QuickBooks in TIBCO Spotfire. You will use the data import wizard to connect to a DSN (data source name) for QuickBooks and build on the sample visualizations ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to Use QODBC with Tibco Spotfire</span></h2>
<p>This article walks you through using the QODBC Driver for QuickBooks in TIBCO Spotfire. You will use the data import wizard to connect to a DSN (data source name) for QuickBooks and build on the sample visualizations to create a simple dashboard.<br /><br /> Follow the steps below to connect to the DSN and create real-time data visualizations:<br /> 1. Click File -&gt; Add Data Tables.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step1.png" alt="" /></p>
<p>2. Click Add -&gt; Database.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step2.png" alt="" /></p>
<p>3. In the Data Source Type menu, select ODBC Data Provider and click Configure.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step3.png" alt="" /></p>
<p>4. Select the DSN for the QuickBooks Data.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step4.png" alt="" /></p>
<p>Please Note: If you have a 64-bit application, you need to use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote,</strong>" as shown in the screenshot below.<br />Please refer to: How<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436" target="_blank">&nbsp;to configure QRemote</a>...</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step5.png" alt="" /></p>
<p>Click "OK" to open the database.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step6.png" alt="" /></p>
<p>Select the tables that you want to add to the dashboard. This example uses Customers. You can also specify an SQL query. The driver supports the standard SQL syntax. Enter the query in the Editor. I am fetching Customer Name &amp; Balance from the Customer table in this example.<br /> Select Name, Balance from Customer</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step7.png" alt="" /></p>
<p>Click "OK" to add the data table.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step8.png" alt="" /></p>
<p>The table is added to Tibco Spotfire.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step9.png" alt="" /></p>
<p>QuickBooks Data is available in Tibco Spotfire. You can visualize it as per your requirement. In this example, I have selected Pie Chart &amp; Bar Chart.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/Tibco/step10.png" alt="" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting ODBC-Call failed error in MS Access when Opening ReceivePaymentToDeposit table]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2840]]></link>
<guid isPermaLink="false"><![CDATA[a78482ce76496fcf49085f2190e675b4]]></guid>
<pubDate><![CDATA[Wed, 26 Oct 2016 11:22:26 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Getting ODBC-Call failed error in MS Access when opening the ReceivePaymentToDeposit table 
Problem Description:
I am trying to link the ReceivePaymentToDeposit table through the linked table in MS Access. I can connect the ReceivePaym...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting - Getting ODBC-Call failed error in MS Access when opening the ReceivePaymentToDeposit table </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to link the ReceivePaymentToDeposit table through the linked table in MS Access. I can connect the ReceivePaymentToDeposit table. But I am getting an ODBC-Call failed error in MS Access when opening the ReceivePaymentToDeposit linked table. <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step1.png" alt="" border="0" /><br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step2.png" alt="" border="0" /><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;"> When you open the linked table from MS Access at that time, MS Access is passing queries like "SELECT "TxnID,"..., "UnusedCredits" FROM "ReceivePayment" where "TxnID" = ?" to QODBC. <br /><br />QODBC passes one-by-one XML requests to QuickBooks SDK using the TxnID of the table, and QODBC gets all records one by one from QuickBooks SDK.<br /><br />The "ReceivePaymentToDeposit" table does not support the TxnID filter in QuickBooks SDK &amp; this issue happened.<br /><br />Using the Pass-Through query in MS Access would be best as a workaround. <br /><br />You can find pass through from: MS Access &gt;&gt; Create tab &gt;&gt; Query Design &gt;&gt; <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step3.png" alt="" border="0" /><br /> <br />Select Pass-Through &gt;&gt; Write query &gt;&gt; Execute query using Run button<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step4.png" alt="" border="0" /><br /> <br />Select DSN, click "OK," &amp; execute the query.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step5.png" alt="" border="0" /><br /> <br />You will get the result.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/CallFailed/step6.png" alt="" border="0" /><br /> <br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC - User Rights within QuickBooks]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2839]]></link>
<guid isPermaLink="false"><![CDATA[5d75b942ab4bd730bc2e819df9c9a4b5]]></guid>
<pubDate><![CDATA[Thu, 20 Oct 2016 06:49:43 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - QODBC - User Rights within QuickBooks 
Problem Description 1:
I want to be able to access QuickBooks to extract inventory data in database format. I believe this is possible with QODBC. My issue is that I do not want this person to hav...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting - QODBC - User Rights within QuickBooks </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 want to be able to access QuickBooks to extract inventory data in database format. I believe this is possible with QODBC. My issue is that I do not want this person to have access to everything in QuickBooks (customer credit card information, payroll, financial information, etc.). Can I limit their access to the data with a user profile?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution 1:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set up access right in QuickBooks by creating users &amp; provide him/their rights.<br /> <br />For Example:<br /> <br />Create user "Jack" and assign Inventory rights only.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step1.png" alt="" border="0" /><br /> <br />When you connect to QuickBooks using QODBC for the first time, you need to log in as Admin in the QuickBooks company file &amp; the certificate for a particular QuickBooks User (In this example, "Jack").<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step4.png" alt="" border="0" /><br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step2.png" alt="" border="0" /><br /> <br />Integrated Application shows Access rights for the user.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step11.png" alt="" border="0" /><br /> <br />If the user is restricted from accessing a particular module from QuickBooks UI, then they cannot access the same from QODBC.<br /> <br />Now log out of QuickBooks as Admin &amp; log in as a user (In this example, "Jack").<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step5.png" alt="" border="0" /><br /> <br />Now we will connect using QODBC &amp; try to access the ItemInventory table. <br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step6.png" alt="" border="0" /><br /> <br />The user can access the ItemInventory table because the user has the right to access Inventory.<br /> <br />Now, we try to access the Invoice table.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step7.png" alt="" border="0" /><br /> <br />No data returns. The user cannot access the Invoice table because the user has no rights to access the Invoice.<br /> <br />Now log out of QuickBooks as Jack &amp; log in as Admin &amp; try to access the Invoice table.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step8.png" alt="" border="0" /><br /> <br />Admin has Full access. The Invoice table will return data.<br /> <br /> <strong>QODBC will use QuickBooks logged-in user access rights. Integrated Application user rights will be overridden if the logged-in user is different.<br /> <br />When QuickBooks is not running, QODBC will use auto-login user rights.</strong><br /> <br />For Example:<br /> <br />You have accepted the certificate for User A &amp; User A has Inventory access only. User A can access only the Inventory data when User A is logged into QuickBooks.<br /> <br />User A can access other data if Admin or another user (who has different access rights) is logged into QuickBooks.<br /> <br /> </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;">My colleague and I would have read/write access, and other employees' access would be more "read-only." So, is it possible through QODBC?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution 2:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set up access rights in QuickBooks by creating users &amp; provide them "View Only" rights.<br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step9.png" alt="" border="0" /><br /> <br /> <strong>Note:</strong> When you set up "View Only" rights for the user, at that time, the user is limited to View Only in QuickBooks UI and through QODBC.<br /> <br />You can disable write permission from QODBC by enabling "Read-Only Access" options from:<br /> <br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt;QODBC Setup Screen&gt;&gt;Advanced Tab&gt;&gt; Enable "Read-Only Access" <br /> <br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UserRight/step10.png" alt="" border="0" /><br /> <br /> <strong>Note:</strong> When you disable write permission from QODBC. It will be affected by all users accessing QuickBooks data through QODBC. So it is impossible to disable the written license for the particular user. </span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to connect and use FoxPro with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2838]]></link>
<guid isPermaLink="false"><![CDATA[d0bb8259d8fe3c7df4554dab9d7da3c9]]></guid>
<pubDate><![CDATA[Wed, 19 Oct 2016 07:22:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to connect and use FoxPro with QODBC
Open Visual FoxPro from the Start Menu:

&nbsp;
FoxPro started:

&nbsp;
Open "Command Window" from Windows Menu:

&nbsp;
"Command Window" Opened. You can execute FoxPro commands from the "Command Window."...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to connect and use FoxPro with QODBC</span></h2>
<p>Open Visual FoxPro from the Start Menu:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step1.png" alt="" /></p>
<p>&nbsp;</p>
<p>FoxPro started:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step2.png" alt="" /></p>
<p>&nbsp;</p>
<p>Open "Command Window" from Windows Menu:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step3.png" alt="" /></p>
<p>&nbsp;</p>
<p>"Command Window" Opened. You can execute FoxPro commands from the "Command Window."</p>
<p>You need to write FoxPro commands in the "Command Window" &amp; execute them by hitting the&nbsp;<strong>"Enter"</strong> key on the keyboard.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step4.png" alt="" /></p>
<p>&nbsp;</p>
<p>First, we will connect to QuickBooks from FoxPro using the SQLCONNECT command. Write the command below &amp; hit the&nbsp;<strong>"Enter"</strong> key on the keyboard.</p>
<p><strong>CN = SQLCONNECT('QuickBooks Data', '', '')</strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p>Now, we will execute the query to QuickBooks from FoxPro using the SQLEXEC command. Write the command below &amp; hit the&nbsp;<strong>"Enter"</strong> key on the keyboard.</p>
<p><strong>SQLEXEC(CN , "SELECT TOP 10 Name FROM Customer","csrCust")</strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step6.png" alt="" /></p>
<p><br /> <strong>Note:</strong> The above query is for testing purposes only. You can change the query as per your requirement.</p>
<p>Now, we display query results in FoxPro using the BROWSE command. Write the command below &amp; hit the&nbsp;<strong>"Enter"</strong> key on the keyboard.</p>
<p><strong>BROWSE</strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step7.png" alt="" /></p>
<p>&nbsp;</p>
<p>Query Result:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step8.png" alt="" /></p>
<p>&nbsp;</p>
<p>You can disconnect the connection to QuickBooks from FoxPro using the SQLDISCONNECT command. Write the command below &amp; hit the&nbsp;<strong>"Enter"</strong> key on the keyboard.</p>
<p><strong>SQLDISCONNECT(CN)</strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FoxPro/step9.png" alt="" /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] QODBC Quick Start Guide]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2827]]></link>
<guid isPermaLink="false"><![CDATA[09b69adcd7cbae914c6204984097d2da]]></guid>
<pubDate><![CDATA[Fri, 09 Sep 2016 12:00:57 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ QODBC Quick Start Guide
Download:&nbsp;QODBC 2024 Quick Start Guide&nbsp;(PDF)

QODBC Driver License Agreement
Introduction
&nbsp;
What is ODBC?
ODBC (Open Database Connectivity) is a specification designed by Microsoft to:
1. Allow Windows appli...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> QODBC Quick Start Guide</span></h2>
<p>Download:&nbsp;<a href="https://qodbc.com/download/QODBC Quick Start Guide.pdf" target="_blank">QODBC 2024 Quick Start Guide</a>&nbsp;(PDF)</p>
<div class="Section1">
<p class="MsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt;"><span style="mso-bookmark: _Toc20502803;"><span style="mso-bookmark: _Toc20502726;"><span style="mso-bookmark: _Toc20502656;"><span style="mso-bookmark: _Toc20502118;"><strong style="mso-bidi-font-weight: normal;"><a href="http://www.qodbc.com/links/2479.htm" target="_blank">QODBC Driver License Agreement</a></strong></span></span></span></span></span></p>
<h2><span style="mso-bookmark: _Toc20502727;"><span style="mso-bookmark: _Toc20502804;"><span style="mso-bookmark: _Toc57980086;"><span style="mso-bookmark: _Toc342829857;">Introduction</span></span></span></span></h2>
<p class="H4" style="margin: 0in; margin-bottom: .0001pt; mso-pagination: widow-orphan; page-break-after: auto; mso-outline-level: body-text; text-autospace: ideograph-numeric ideograph-other;"><span style="font-family: 'Arial','sans-serif'; mso-bidi-font-family: 'Times New Roman';">&nbsp;</span></p>
<p class="MsoNormal"><span style="mso-bookmark: _Toc327308229;"><span style="mso-bookmark: _Toc327308290;"><span style="mso-bookmark: _Toc327308414;"><span style="mso-bookmark: _Toc327332679;"><span style="mso-bookmark: _Toc327351342;"><span style="mso-bookmark: _Toc327351472;"><span style="mso-bookmark: _Toc530774700;"><strong><span style="font-size: 11.0pt; mso-bidi-font-family: Arial;">What is ODBC?</span></strong></span></span></span></span></span></span></span></p>
<p class="MsoNormal"><strong>ODBC (Open Database Connectivity) is a specification designed by Microsoft to:</strong></p>
<p class="MsoNormal">1. Allow Windows applications to access multiple data sources through a single method regardless of the underlying file formats.<br />2. Overcome the problem of different databases having different means of providing access to the information contained within them, and<br />3. Simplify access requirements so that the user does not need special skills to access databases.<br />4. In the same way, Windows has created an environment where all applications have a similar look and feel; ODBC drivers make all database formats look the same.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><strong><span style="font-size: 12.0pt;">What is <span style="mso-bidi-font-style: italic;">Q</span>ODBC?</span></strong></p>
<p class="MsoNormal"><span style="mso-bidi-font-style: italic;">Q</span>ODBC is an ODBC driver (DLL) for QuickBooks data. Our driver allows users of any application connected to ODBC data sources to read and write data contained in QuickBooks format files. QuickBooks, by default, stores its data in its proprietary database file format (.qbw).</p>
<p class="MsoNormal"><span style="mso-bidi-font-style: italic;">Q</span>ODBC accepts SQL (Structured Query Language) commands through the ODBC interface, then converts those calls to navigational commands to the QuickBooks application interface (QuickBooks SDK) and returns record sets that qualify for the query results. QODBC will not work without an installed QuickBooks application and SDK layer to read the data from the proprietary internal database.</p>
<p class="MsoNormal">If you are unfamiliar with the SQL language, you can find a tutorial here: http://www.w3schools.com/sql/default.asp.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="mso-bookmark: _Toc327308292;"><span style="mso-bookmark: _Toc327308416;"><span style="mso-bookmark: _Toc327332681;"><span style="mso-bookmark: _Toc327351344;"><span style="mso-bookmark: _Toc327351474;"><span style="mso-bookmark: _Toc530774702;"><strong><span style="font-size: 12.0pt;">What can I do with <span style="mso-bidi-font-style: italic;">Q</span>ODBC?</span></strong></span></span></span></span></span></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-style: italic;">Q</span>ODBC opens your QuickBooks data to a whole new world of database connectivity.</p>
<p class="MsoNormal" style="margin-left: .25in; text-indent: -.25in; mso-list: l30 level1 lfo3; tab-stops: list .25in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>If you own Microsoft Office, you can use Excel to extract company accounting or invoice information directly into a spreadsheet and create a chart.</p>
<p class="MsoNormal" style="margin-left: .25in; text-indent: -.25in; mso-list: l30 level1 lfo3; tab-stops: list .25in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>Microsoft Word can run a customer mail merge for a customized batch letter directly from QuickBooks files.</p>
<p class="MsoNormal" style="margin-left: .25in; text-indent: -.25in; mso-list: l28 level1 lfo5; tab-stops: list .25in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>Crystal Pro Report writer can create multi-file reports from QuickBooks data.</p>
<p class="MsoNormal" style="margin-left: .25in; text-indent: -.25in; mso-list: l37 level1 lfo6; tab-stops: list .25in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span>Microsoft Access or Embarcadero Delphi can merge QuickBooks data with other data sources to produce complex reports or run mass file updates based on multiple criteria.</p>
<p class="MsoNormal">This driver is transparent, invisible, and works like any other ODBC driver. QuickBooks application developers can now offer this driver to their customers, allowing them direct access to data vital to them through custom third-party applications. Business owners who require up-to-the-minute data to make informed business decisions can have that real-time data instantly available in any one of hundreds of desktop applications.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<h2>Installation</h2>
<p class="MsoNormal"><strong><span style="font-size: 11.0pt;">Initial Setup</span></strong></p>
<p class="MsoNormal" style="margin-top: 12.0pt;">First, make sure the QuickBooks application is installed on the machine. QODBC cannot access your QuickBooks company file data unless QuickBooks is installed on the device. <a href="http://qodbc.com/links/3016" target="_blank">Click here</a> to get the specifics on why the QuickBooks application is required.</p>
<p class="MsoNormal" style="margin-top: 12.0pt;"><br />Right-Click on the Install program (qodbc.exe) and click "Run as Administrator" to install the driver. For more information or help regarding installation, please <a href="http://qodbc.com/links/3016" target="_blank">click here</a>.</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-08-01-002-highlight.png" alt="" /></p>
<p class="MsoNormal" style="margin-top: 12.0pt;">You will be asked to select the Region of QuickBooks you are using. This should match the version of the driver you purchased.</p>
<p class="MsoNormal" style="margin-top: 12.0pt;">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/2827/2022-08-01 14_39_13-Installer-Region.png" alt="" border="0" /></p>
<p class="MsoNormal" style="margin-top: 12.0pt;"><br />Next, select the destination directory to install the QODBC support files. You can skip the Activation Key if you want to evaluate the product before purchase. Click "Next" to continue.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/2827/2022-08-01 14_39_28-Installer-Destination.png" alt="" border="0" /></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<p class="MsoNormal">The FLEX<em>quarters</em> <span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-style: italic;">Q</span>ODBC Driver for<span style="box-sizing: border-box; margin: 0px; padding: 0px;">&nbsp;QuickBooks<span style="font-size: 8.0pt;">&reg;</span></span>&nbsp;has been successfully installed on your computer. You can begin to use it immediately under the terms of the free&nbsp; 0-day evaluation. It will work with all editions of QODBC, depending on how it is configured. Note that the evaluation version limits the number of records in QuickBooks to 20 per session.</p>
<p class="MsoNormal">Windows 8 and higher users,&nbsp;<a href="http://www.qodbc.com/links/qodbcinstallwin8orabove.htm">click here</a> for additional details.</p>
<table class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 191; mso-padding-alt: 0in 5.4pt 0in 5.4pt;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
<td style="width: 199.05pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="265">
<p class="MsoNormal"><img style="vertical-align: top;" src="//support.flexquarters.com/esupport/newimages/2827/2022-08-02 15_10_30-Windows 11-small-setup-screen.png" alt="" border="0" /></p>
</td>
<td style="width: 243.75pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="325">
<p class="MsoNormal">To install a fully purchased <span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-style: italic;">Q</span>ODBC registration code to an evaluation copy from a previous download, see the Icons that have been added to your Start Menu under <span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-style: italic;">Q</span>ODBC Driver for QuickBooks<sup><span style="font-size: 8.0pt; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: Arial; mso-font-kerning: 8.0pt;">&reg;.</span></sup></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">The first step in configuring the driver is to click on the QODBC Setup Screen icon. The following screen will be displayed.</p>
<p class="MsoNormal">&nbsp;</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoFootnoteText" style="text-autospace: ideograph-numeric ideograph-other;"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoFootnoteText" style="text-align: center; text-autospace: ideograph-numeric ideograph-other;" align="center"><span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-weight: bold;"><img src="//support.flexquarters.com/esupport/newimages/2827/2022-08-02 15_12_16-Windows 11 x64 - highlight.png" alt="" width="468" height="482" border="0" /></span></p>
<p class="MsoFootnoteText" style="text-align: center; text-autospace: ideograph-numeric ideograph-other;" align="center"><span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoFootnoteText"><strong><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif';">Click on the "Test Connection to QuickBooks" button</span></strong><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;"> to determine if you have a proper installation and settings with QuickBooks and a company file open. The following pop-up screen should appear:</span></p>
<p class="MsoFootnoteText"><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoFootnoteText" style="text-align: center;" align="center"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;"><img src="//support.flexquarters.com/esupport/newimages/2827/2022-08-02 16_49_40-Windows 11 x64 - testconnection-ok.png" alt="" width="347" height="175" border="0" /></span></p>
<p class="MsoFootnoteText"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;"><span style="mso-spacerun: yes;">&nbsp;</span></span></p>
<p class="MsoFootnoteText"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;">Note: Please click here if you encounter a Windows security issue or if the Test Connection fails.</span></p>
<p class="MsoFootnoteText"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;">See <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2361">QODBC Setup Options </a>for more details on the options available. </span></p>
<p class="MsoFootnoteText"><span style="mso-bidi-font-size: 10.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoNormal"><span style="text-decoration: underline;"><strong><span style="font-size: 12.0pt;">The first use of <span style="mso-bidi-font-style: italic;">Q</span>ODBC is after the setup is complete.</span></strong></span></p>
<p class="MsoNormal">Start the QuickBooks Application. QODBC cannot access your QuickBooks data unless QuickBooks itself is running.</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-08-01 15_35_55-QuickBooks-2023-open-company file.png" alt="" /></p>
<p>Note: The QuickBooks application and the QODBC Test tool should be launched normally. Do not start the application as "Run as Administrator."&nbsp;</p>
<p>Both app locations should be running under the same Windows User context (Elevated=No)</p>
<p>&nbsp;</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-09-29 17_20_02-small.png" alt="" /></p>
<p><span lang="EN-US">Close QuickBooks and start QuickBooks. If the QuickBooks application is "Run as Administrator" (Elevate =Yes). If QuickBooks runs in Elevated Mode = Yes by default, then ensure Windows UAC is set to "Default" level, check the QuickBooks application shortcut properties, and remove "Run as Administrator." Restart the machine and start the QuickBooks application again.</span></p>
<p>&nbsp;</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-09-29 17_18_43-small.png" alt="" /></p>
<p>&nbsp;</p>
<p class="MsoNormal">Log in to your company file as QuickBooks user "Admin." Switch to Single User Mode.</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-08-01-001 - QuickBooks-Switch-Single-User.png" alt="" /></p>
<p class="MsoNormal">Click on the "QODBC Support Wizard" icon from the Windows Start menu.</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/2022-08-02 15_10_30-Windows 11-small-wizard.png" alt="" /></p>
<p class="MsoNormal">Follow the wizard's instructions.</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/QODBC-Support-Wizard-004.png" alt="" /></p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/QODBC-Support-Wizard-005.png" alt="" /></p>
<p class="MsoNormal">On the QODBC DSN Verification step, make sure it passes all the checks.</p>
<p class="MsoNormal">In case you see a warning icon.</p>
<p class="MsoNormal" style="text-align: center;"><img src="https://support.flexquarters.com/esupport/newimages/2827/QODBC-Support-Wizard-006.png" alt="" /></p>
<p class="MsoNormal">Please check the "FIX" button so the QODBC Support Wizard can automatically fix the issue.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><strong>Troubleshooting with QODBC Support Wizard</strong>.</p>
<p class="MsoNormal">If you cannot connect to QuickBooks, re-run the Support Wizard, select "No, I am not able to connect to QuickBooks," and click "Next."</p>
<p class="MsoNormal">From the FAQs and Knowledgebase, you may select a more relevant topic or use the search button to search our knowledge base for a more specific keyword.</p>
<p class="MsoNormal">If you still face any issues, report the issue to us by creating a support ticket.</p>
<p class="MsoNormal">&nbsp;</p>
<p><strong>QODBC Test Tool</strong></p>
<p class="MsoNormal">&nbsp;</p>
<ul style="margin-top: 0in;" type="disc">
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="mso-list: l37 level1 lfo6;">Start the QODBC Test Tool from the "Start" and "Programs" and locate the QODBC Driver for the QuickBooks program group. Click on the QODBC Test Tool icon to launch the program supplied with QODBC.
<p class="MsoNormal" style="text-align: center;" align="center"><img src="https://support.flexquarters.com/esupport/newimages/2827/Q1.png" alt="" /></p>
</li>
<li class="MsoNormal" style="mso-list: l37 level1 lfo6;">To establish the connection, select "QuickBooks Data"(Default DSN) and click on "Connect"</li>
</ul>
</ul>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="https://support.flexquarters.com/esupport/newimages/2827/Q2.png" alt="" /></p>
<p class="MsoNormal">After you click "Connect," a <span style="mso-bidi-font-style: italic;">Q</span>ODBC splash screen will pop up if you are using the QODBC Evaluation version of the product, and a mouse click will allow you to continue. No splash screen appears in the registered version.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">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<span style="mso-bidi-font-family: Arial;"> company file.</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-family: Arial;">&nbsp;</span></p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/QODBCQuickGuide/image019.jpg" alt="" width="531" height="437" border="0" /></p>
<p class="MsoFootnoteText" style="text-autospace: ideograph-numeric ideograph-other;"><span style="font-family: 'Arial','sans-serif'; mso-bidi-font-family: 'Times New Roman';">&nbsp;</span></p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;">Note:</strong> QODBC does have a <a href="http://www.qodbc.com/links/2480.htm">digital certificate</a>, but since another application (QODBC Test Tool) is trying to access QuickBooks through QODBC and QuickBooks does not know what the application is, it must ask you for permission.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/QODBCQuickGuide/image021.jpg" alt="" width="502" height="330" border="0" /></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="mso-list: l19 level1 lfo8; tab-stops: list .5in;">Check "Allow this application to access this company file."</li>
<li class="MsoNormal" style="mso-list: l19 level1 lfo8; tab-stops: list .5in;">Uncheck "Prompt before Allowing Access."</li>
<li class="MsoNormal" style="mso-list: l19 level1 lfo8; tab-stops: list .5in;">Check "Allow this application to log in automatically."</li>
<li class="MsoNormal" style="mso-list: l19 level1 lfo8; tab-stops: list .5in;">Check "Allow this application to access Social Security Numbers, cc information, and other personal data" if appropriate.</li>
</ul>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="tab-stops: list 0in;">This procedure needs to be done only once on a computer for <span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-style: italic;">Q</span>ODBC to connect with QuickBooks data from any other ODBC-compliant application in the future.</p>
<p class="MsoNormal" style="tab-stops: list 0in;">&nbsp;</p>
<p class="MsoNormal" style="mso-pagination: none; mso-layout-grid-align: none; text-autospace: none;"><strong>Additionally, if you plan to modify</strong><strong><span style="mso-bidi-font-size: 8.0pt; mso-bidi-font-family: Arial;"> the files, you must choose "Multi-User Mode" from the Files menu in QuickBooks to allow this.</span></strong></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/QODBCQuickGuide/image023.jpg" alt="" width="459" height="317" border="0" /></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="//support.flexquarters.com/esupport/newimages/QODBCQuickGuide/image025.jpg" alt="" width="382" height="269" border="0" /></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;">To change any of these options</strong>, from the QuickBooks Edit menu, select "Preferences" and then select "Integrated Applications."</p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;&nbsp;</p>
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal" style="mso-list: l42 level1 lfo7; tab-stops: list .5in;">Click the Company Preferences tab and make sure the "Don't allow any applications to access this company file" checkbox <strong style="mso-bidi-font-weight: normal;">is</strong> <strong style="mso-bidi-font-weight: normal;">not</strong> checked.</li>
<li class="MsoNormal" style="mso-list: l42 level1 lfo7; tab-stops: list .5in;">The "Notify the user before running any applications whose certificate has expired" checkbox can be checked.<span style="mso-spacerun: yes;">&nbsp; </span>If it is, however, automatic access will be suspended if the app action's certificate expires.</li>
<li class="MsoNormal" style="mso-list: l42 level1 lfo7; tab-stops: list .5in;">Select the FLEXquarters <span style="mso-bidi-font-size: 10.0pt; mso-bidi-font-style: italic;">Q</span>ODBC driver you want to run automatically and click Properties.</li>
</ul>
<p class="MsoNormal" style="margin-left: .5in;">&nbsp;</p>
<p class="MsoNormal">After accepting the certificate, you can see that we are connected to the QuickBooks company file.</p>
<p class="MsoNormal">You can view your customer data by clicking on the Run button or removing the default SQL statement and typing in your SQL statement to view the data you wish to display. To explore the data available in QuickBooks via QODBC, <a href="http://www.qodbc.com/links/2368.htm">click here</a>.</p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="https://support.flexquarters.com/esupport/newimages/2827/Q3.png" alt="" /></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<h2>Testing Driver Capabilities</h2>
<p class="MsoNormal">Once permissions have been granted in QuickBooks for QODBC to access the company file via the QODBC Test Tool&nbsp;and the Current Connection Window shows "QuickBooks Data," you can obtain a list of all the QuickBooks tables by executing SP_TABLES</p>
<p class="MsoNormal"><span style="mso-bidi-font-family: Arial;">&nbsp;</span></p>
<p class="MsoNormal" style="text-align: center;" align="center"><img src="https://support.flexquarters.com/esupport/newimages/2827/Q4.png" alt="" /></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<p class="MsoNormal">To disconnect the QODBC Test Tool from your QuickBooks company file, click the "Disconnect" button.</p>
<p class="MsoNormal">&nbsp;</p>
<h2><span class="HelpMakerPlusIndexTitle"><span style="mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: windowtext; mso-bidi-font-style: italic;">Q</span></span><span style="mso-bookmark: _Toc342829860;"><span class="HelpMakerPlusIndexTitle"><span style="mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: windowtext;">ODBC Frequently Asked Questions</span></span></span></h2>
<p class="MsoNormal"><span style="mso-bidi-font-family: Arial; mso-bidi-font-weight: bold;">The frequently asked questions about this product are constantly changing, so we have a web page set up with these questions and answers. A more detailed FAQ can be found at: </span><a href="http://support.qodbc.com/">http://support.qodbc.com</a>.</p>
<p class="MsoNormal">&nbsp;&nbsp;<span style="color: windowtext; font-family: Arial, 'sans-serif';">Tutorials and Documentation</span></p>
<p class="MsoBodyText"><span style="font-weight: normal; mso-bidi-font-weight: bold;">Additional information can be found on our website, including a complete manual, step-by-step tutorials for popular applications, FAQs, data layout of QuickBooks, and video tutorials.</span></p>
<p class="MsoBodyText"><span style="font-weight: normal; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoBodyText">Documentation:</p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l45 level1 lfo45; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://www.qodbc.com/schema.htm">Data Layouts (Schema)</a> </span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l45 level1 lfo45; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://www.qodbc.com/support.htm">FAQ</a> </span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l45 level1 lfo45; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://www.qodbc.com/qodbcwhitepapers.htm">QODBC Manual &amp; QODBC White Papers</a></span></p>
<p class="MsoBodyText"><span style="font-weight: normal; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoBodyText">Step-by-Step Tutorials<span style="mso-tab-count: 1;">&nbsp; </span><span style="mso-spacerun: yes;">&nbsp;&nbsp; </span><a href="http://www.qodbc.com/qodbctutorials.htm">http://www.qodbc.com/qodbctutorials.htm</a></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2340">Connecting to QuickBooks for the First Time</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436">64-bit Applications</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2354">Microsoft Access</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2356">Microsoft Visual Basic and ADO</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2353">Microsoft Excel</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2351">Microsoft Word</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2352">Microsoft Office</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/1565">Crystal Reports</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2305">Alpha Five</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514">Microsoft SQL Server</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/1631">Web Edition/Cold Fusion</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2623">Web Edition/PHP</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/920">Create Sales Receipts</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2389">Create Invoices</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/1138">Purchase Orders</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/1626">Create Bills</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2115">Deposits</a></span></p>
<p class="MsoBodyText" style="margin-left: .5in; text-indent: -.25in; mso-list: l36 level1 lfo46; tab-stops: list .5in;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; font-weight: normal; mso-bidi-font-weight: bold;"><span style="mso-list: Ignore;">&middot;<span style="font: 7.0pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-weight: normal; mso-bidi-font-weight: bold;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2009">Inventory Adjustments</a></span></p>
<p class="MsoSubtitle"><strong>&nbsp;</strong></p>
<p class="MsoSubtitle"><strong>Windows Support</strong></p>
<p class="MsoNormal">QODBC version 2023 supports Microsoft Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, and Windows 11.</p>
<p class="MsoNormal"><span style="mso-spacerun: yes;">&nbsp;</span></p>
<p class="MsoSubtitle"><strong>Product Support</strong></p>
<p class="MsoNormal"><span style="mso-bidi-font-weight: bold; mso-bidi-font-style: italic;">We offer a free, fully functional trial copy of&nbsp;</span><span style="mso-bidi-font-weight: bold;">QODBC, limited to selected elements in the QuickBooks system. Those purchasing the product will receive installation support at no charge for 30 days from the date of purchase. An FAQ section and a Help Desk support system are available for registered users and those evaluating QODBC. Program anomalies will be addressed at no charge, and updates will be posted on our website. Other issues may be subject to a fee.</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p class="MsoNormal">The following methods can obtain support:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="font-size: 9.0pt;">Forum Online Support:<span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://support.qodbc.com/">http://support.qodbc.com</a> </span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt;">E-mail:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="mailto:support@qodbc.com">support@qodbc.com</a></span></p>
<p class="MsoNormal"><span style="font-size: 9.0pt;">Mail:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>FLEXquarters USA Sales</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;"><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 9.0pt; mso-bidi-font-weight: bold;">P.O. Box 1466 </span><span style="font-size: 9.0pt;"><span style="mso-spacerun: yes;">&nbsp;</span>Clarkston, MI 48347</span></p>
<p class="MsoNormal">The most effective of these methods is the online support system via our website, since you can attach an ODBC or SDK trace log to the message, and we can connect an updated product to you if we have a patch.</p>
<p class="MsoSubtitle"><strong>&nbsp;</strong></p>
<p class="MsoSubtitle"><strong>Product Updates</strong></p>
<p class="MsoNormal" style="text-align: center;" align="center">&nbsp;</p>
<p class="MsoNormal">The latest updated versions will always be available online at our web page: <a href="http://www.qodbc.com/qodbcDownload.htm">http://www.qodbc.com/qodbcDownload.htm</a>.</p>
<h2><span class="HelpMakerPlusIndexTitle"><span style="mso-ansi-font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: windowtext;"><span style="text-decoration: none;">&nbsp;</span></span></span></h2>
<h2><span style="mso-bookmark: _Toc342829862;"><span class="HelpMakerPlusIndexTitle"><span style="mso-ansi-font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: windowtext;">QODBC Credits</span></span></span></h2>
<p class="MsoNormal">QODBC versions 2.x thru 23.x</p>
<p class="MsoNormal">For Microsoft Windows, Windows XP, Vista, Windows 7, Windows 8, Windows 10, and Windows 11.</p>
<p class="MsoNormal"><span style="font-size: 8.0pt;">&nbsp;</span></p>
<p class="MsoNormal">&copy; Copyright 1995-2023, FLEXquarters.com Limited, All Rights Reserved Worldwide</p>
<p class="MsoNormal"><span style="font-size: 8.0pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">Portions of this product &copy; Copyright Intuit Incorporated</span></p>
<p class="MsoNormal"><strong><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-style: italic;">Q</span></strong><strong><span style="mso-bidi-font-size: 9.0pt;">ODBC</span></strong><span style="mso-bidi-font-size: 9.0pt;"> is a trademark of FLEXquarters.com Limited</span></p>
<p class="MsoNormal"><strong><span style="mso-bidi-font-size: 9.0pt;">QuickBooks Pro, QuickBooks Premier, QuickBooks Enterprise Solution, and QuickBooks Online Edition are registered</span></strong><span style="mso-bidi-font-size: 9.0pt;">&nbsp;trademarks of Intuit Incorporated.</span></p>
<p class="MsoNormal"><strong><span style="mso-bidi-font-size: 9.0pt;">Windows, Vista, Windows 7, Windows 8, Windows 10, and Windows 11</span></strong><span style="mso-bidi-font-size: 9.0pt;">&nbsp;are registered trademarks of Microsoft Corporation.&nbsp;</span>All other trademarks are the property of their respective holder.</p>
<p class="MsoFootnoteText" style="text-autospace: ideograph-numeric ideograph-other;"><span style="mso-bidi-font-size: 9.0pt; font-family: 'Arial','sans-serif'; mso-bidi-font-family: 'Times New Roman';">&nbsp;</span></p>
<p class="MsoFootnoteText" style="text-autospace: ideograph-numeric ideograph-other;">Version 2.0 First released October 2002<br />Version 3.0 First released January 2003<br />Version 4.0 First released November 2003<br />Version 5.0 First released October 2004<br />Version 6.0 First released November 2005<br />Version 7.0 First released October 2006<br />Version 8.0 First released September 2007<br />Version 9.0 First released October 2008<br />Version 10.0 First released September 2009<br />Version 11.0 First released October 2010<br />Version 12.0 First released October 2011<br />Version 13.0 First released September 2012<br />Version 14.0 First released September 2013<br />Version 15.0 was first released in September 2014<br />Version 16.0 was first released in September 2015<br />Version 17.0 was first released in September 2016<br />Version 18.0 was first released in September 2017<br />Version 19.0 was first released in September 2018<br />Version 20.0 was first released in September 2019<br />Version 21.0 First released September 2020<br />Version 22.0 was first released in August 2021<br />Version 23.0 was first released in September 2022</p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-size: 9.0pt;">&nbsp;</span></strong></p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-size: 9.0pt;">The program was published and supported by:</span></strong></p>
<p class="MsoNormal">USA Mailing Address:<br />2620 S Maryland Pkwy Ste 14-557<br />Las Vegas, NV 89109-1692</p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">www:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="text-decoration: underline;"><a href="http://www.qodbc.com/">http://www.qodbc.com</a></span></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">E-mail:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="text-decoration: underline;"><a href="mailto:support@qodbc.com">support@qodbc.com</a></span></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">Fax:<span style="mso-tab-count: 2;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>801-987-2487</span></p>
<p class="MsoNormal"><strong><span style="mso-bidi-font-size: 9.0pt;">&nbsp;</span></strong></p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;">USA Sales Office:</strong></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">FLEXquarters USA Sales</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">P.O. Box 1466</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">Clarkston, MI 48347</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">E-mail:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="mailto:mark@flexquarters.com"><span style="mso-bidi-font-size: 12.0pt;">mark@qodbc.com</span></a></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">Voice:<span style="mso-tab-count: 3;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>248-620-2400</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt; mso-bidi-font-weight: bold;">Licensing Support:<span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>248-620-2406 (Registered user activation/deactivation issues only)</span></p>
<p class="MsoNormal"><strong><span style="mso-bidi-font-size: 9.0pt;">&nbsp;</span></strong></p>
<p class="MsoNormal"><strong style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-size: 9.0pt;">Other Regional Sales Numbers:</span></strong></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">International:<span style="mso-spacerun: yes;">&nbsp;&nbsp; </span>+1 248-620-2400 <span style="mso-spacerun: yes;">&nbsp;&nbsp;&nbsp;</span><a href="mailto:sales@qodbc.com">sales@qodbc.com</a></span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">Brad Waddell and Matthew Froncek developed the program.</span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">Documentation produced by Mark Kuznar, Brad Waddell, </span>Rajendra&nbsp;Dewani,<span style="mso-bidi-font-size: 9.0pt;"> and </span></p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">Matthew Froncek.</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span style="mso-bidi-font-size: 9.0pt;">Tags:&nbsp;configurations, permissions, user rights, information, odbc, QODBC, guide on QODBC.</span></p>
</div>]]></content:encoded>
</item>
</channel>
</rss>