Setting Up the ODBC Driver for QuickBooks Desktop Custom Reporting
How to configure QuickBooks Desktop's built-in ODBC driver and connect Excel, Access, or Crystal Reports to company file data for read-only custom reporting.

QuickBooks Desktop ships with a built-in Open Database Connectivity driver that gives external applications read-only access to your company file data. Once configured, it lets you build custom reports in Microsoft Excel, Microsoft Access, or Crystal Reports — pulling live data across multiple company files, personalizing invoice templates, running mail merges, or writing your own SQL queries. The setup is straightforward but involves several moving parts: enabling the driver inside QuickBooks, creating a dedicated ODBC user, and then pointing your external application at a data source file.
Prerequisites and Access Mode
The ODBC driver provides strictly read-only access — you cannot write data back into QuickBooks through this connection. To use it, your company file must be open in multi-user mode. Because the process touches database concepts like data sources, authentication, and table structures, users without database experience may want to involve an IT professional.
Creating the ODBC User
The connection requires its own set of credentials, separate from your normal QuickBooks admin login. Before starting the driver setup, create a dedicated user account in QuickBooks specifically for ODBC access. You will need this username and password each time an external application connects to the company file.
Installing the Driver
From within QuickBooks, go to the File menu and select Utilities, then choose the option to set up ODBC. This initiates the download and installation of the driver components. Once the driver is installed on the machine, you can configure connections from your preferred reporting application.
Connecting from Microsoft Excel
In Excel, navigate to the Data tab and choose From Other Sources, then select From Microsoft Query. Browse to locate the file data source — a .dsn file typically stored alongside your company file. Selecting the DSN file prompts you for authentication; enter the credentials of the ODBC user you created earlier. Once authenticated, you can choose from various report views to pull QuickBooks data directly into your spreadsheet.
Connecting from Microsoft Access
Open a blank database in Access and go to the External Data tab. Under the More menu, select ODBC Database. Choose the option to import the source data into a new table in the current database, then click OK. Use the folder icon in the Look in section to navigate to your company file folder and locate the DSN file. After selecting it, enter your ODBC user credentials. Once connected, scroll through the available tables and look for those beginning with QBReportAdminGroup — these are the datasets available for reporting.
Connecting from Crystal Reports
Create a new report in Crystal Reports and open the Database Expert. Under Create New Connection, select ODBC (RDO). Click Find File DSN, then use the button next to the File DSN field to browse to your company file location. Select the DSN file and enter the ODBC user credentials. As with Access, the available data appears in tables prefixed with QBReportAdminGroup.
Understanding the Table and View Naming
The data available through the ODBC connection is organized into views with a structured naming convention. Recognizing the patterns helps you locate the right data quickly:
- List data — views containing list information include lst in the name. For example,
V_lst_itemcontains the Item List. - Transaction data — views containing transaction information include txn in the name.
- Invoice headers —
V_txn_invoice_hdrprovides invoice header-level information such as dates, customer names, and totals. - Invoice line items —
V_txn_invoice_linecontains the individual line-item detail for each invoice.
This naming convention extends across the schema. Whether you are looking for customer lists, vendor lists, sales orders, purchase orders, or journal entries, the lst and txn prefixes help you identify whether a view contains static list data or transactional records.
Working Across Multiple Company Files
One advantage of the ODBC approach is the ability to consolidate data from more than one company file into a single external report. Because each company file uses its own DSN and authentication, you can establish separate connections and then merge the results in Excel, Access, or Crystal Reports — something QuickBooks itself cannot do natively.
A Note on Data Safety
Because the ODBC connection operates in read-only mode, there is no risk of accidentally modifying or corrupting your company file data through external queries. The connection simply reads existing records and presents them in the format your reporting tool supports. That said, the ODBC user still logs into the live company file, so the credentials should be safeguarded like any other database login.