ForDBC from QT Software

Access Databases and Spreadsheets in Fortran on a PC under Windows

With ForDBC the Fortran programmer can read and write tables of any database for which an ODBC driver is supplied.

Most databases, such as Oracle, Microsoft, IBM and Sybase, are equipped with an ODBC driver (ODBC=Open Database Connectivity Standard).  This is also true for spreadsheets: Excel and Lotus.

Under Windows an ODBC interface is available. However the ODBC functions are not easy to access by a Fortran programmer because the documentation and the tools supplied by Microsoft are designed for C/C++ or VB programmers.  ForDBC offers help!  The Fortran interface provided by ForDBC is almost complete with respect to the ODBC v3.5 specification. This means that with ForDBC you can call all of these ODBC functions as if they were programmed in Fortran. Furthermore hundreds of ODBC and SQL specific constants are supplied. Simply include them in your Fortran program the source line


and you are ready to use the ODBC functions and constants as you find them documented in the Windows ODBC API.  This documentation either comes with your compiler (e.g., Compaq Visual Fortran, or Intel Visual Fortran, or Microsoft Visual Studio) or it can be found in the Microsoft Windows Platform Software Development Kit (SDK) which is supplied with most software development tools offered by Microsoft.  You can also find it on Microsoft’s Developer WebSite.  Getting started with ODBC can be tedious, so ForDBC is equipped with several example programs (completely in Fortran) which show you how to use ODBC. They demonstrate how to read from, or write to, tables in a Microsoft Access database or an Excel spreadsheet.

ForDBC comes with concise documentation which provides you with the essential information that you need for a quick start into ODBC programming.

Users of Compaq Visual Fortran and Intel Visual Fortran are supplied with a complete workspace (.dsw) and solution (.sln), respectively, which contains several sample projects which show how to access a database in several ways.


ForDBC comes complete with source code, delivered with the licence and software by e-mail. You can use it in your programs and distribute these without any royalty payments or runtime fees.

ForDBC is available for the following compilers:

Lahey LF95 V5.7
Compaq Visual Fortran V6.6
Intel Visual Fortran 9.x and higher
Salford V4.x (not 5)


Windows 98 and upwards (Win32 systems).

What do our Customers say about us?

Thank you – again! Even those of us who do not like being the damsel in distress sometimes have need of knights in shining armour.

SA, Bradford, UK

Course was excellent, Bob was very thorough, covering a lot of ground. The content was just what was required. Very pleased!

I would like to sincerely thank you for your extremely prompt and efficient service – much appreciated and rare these days.

SA, Sheffield, UK

Easy to book a place on the course, helpful staff at Adept. Very good introduction to the Endnote software, covered a wide range of topics. Knowledgeable on the Endnote program. Very helpful in answering any questions. Pace of learning was fine. Very good facilities.

Ms N Calver, Manchester, UK

For the time being we are unable to offer the following product ranges although we are currently working hard to increase the number of products we can offer in the future. Please contact us to talk about alternative products that we may be able to offer you.