You can with a Firebird ODBC Driver.
Today we will be looking at how to set this up correctly.
Firstly we need to download the Driver.
You need to check whether you are using the 32bit or 64bit version of Microsoft Excel first and then use the appropriate link down below and install the driver.
For 32 Bit Excel use the following link
For 64 Bit Excel use the following link
Once installed, we need to set up the DSN record.
- To do this, open up the Windows Control Panel, then Administrative Tools.
- Open ODBC Data Sources (Again select appropriate Architecture).
- Click on the System DSN tab and click on the Add button.
- Select the Firebird/Interbase(r) driver and click on Finish.
- The ODBC Setup Screen will now appear.
- Type in the desired name in the Data Source Name (DSN) Input field
- (This is the name that will appear in Excel)
- Type in the desired description in the Description Input field.
- Click on the Browse button next to the Database Input field.
- Browse to the database you want to use, select database and click on the Open button.**Note that Smart-it databases are under C:\smartitplus_databases.
- Next click on the Browse button next to the Client Field, select the fbclient.dll and click on the Open button.**Note that fbclient.dll is under C:\Program Files(x86)\Smart-It+ 2.0\Backend\fbclient.dll.
- Type in the Database Account as SYSDBA in the Database Account Input Field.
- Type in the Password as MASTERKEY in the Password field.
- Press the OK button.
The connection should work correctly now.
To test in Excel
- Open up a new spreadsheet in Microsoft Excel.
- Click on the Data Tab, select the dropdown menu Get Data, go down to From Other Sources, and select From ODBC.
- The From ODBC screen will now appear.
- Select your created DSN source and press the OK button.
- All the Tables of the database will now appear.
- You can either select the desired table or tables and create a Power Query or you can insert a Firebird SQL script under the Advanced Options section in the previous step.
We will be covering both these options in future Articles.
Please contact us if you require further assistance.