Page 1 of 1

OOo Base connect to Interbase 6

Posted: Mon Jun 06, 2011 8:13 pm
by jacquesleroux777
I used to have a OBDC driver that connected me to Interbase 6 fine, but since the license has expired and I don't really want to buy one for £325, I am desperately hoping it is possible to connect to the Interbase database some other way.

I know scary little about the different databases except that when connected, I can do what I need to do by importing the tables into Calc.

Any help would be really appreciated.

Regards

Re: OOo Base connect to Interbase 6

Posted: Mon Jun 06, 2011 9:13 pm
by Villeroy
According to http://en.wikipedia.org/wiki/Firebird_% ... _server%29 Firebird is a free fork of Interbase 6.

Re: OOo Base connect to Interbase 6

Posted: Mon Jun 06, 2011 9:14 pm
by r4zoli
May be the Interbase successor the Firebird database ODBC driver could help you, it is only a guess.

Re: OOo Base connect to Interbase 6

Posted: Tue Jun 07, 2011 12:21 am
by jacquesleroux777
I have loaded the driver, but cannot seem to connect.

What would be the client details in the panel, it seems to be looking for a dll file. If I leave it blank, I get cannot connect to database...

Thanks guys so far.

Re: OOo Base connect to Interbase 6

Posted: Tue Jun 07, 2011 3:11 pm
by Villeroy
I'd suggest a Firebird forum. Connecting some client to Interbase via Firebird driver (if possible) has nothing to do with Base in the first place. First you need the connection between the database and the Firebird ODBC driver (or may be JDBC).

Re: OOo Base connect to Interbase 6

Posted: Mon Jun 20, 2011 6:51 pm
by Anon_E_Mouse
jacqueleroux777;
Never used Interbase, but am slightly familiar with Firebird. In order to use Base with an Interbase *.gdb file would suggest the following (you will have to search out the download sources as I don't have them handy):
1) Download a Firebird installer - I KNOW that vers 2.1.1 will work with Base as I am using it.
2) You may need to "convert" your *.gdb database file to a *.fdb - am not sure. I don't think so but could be mistaken. In any event I know I've read stuff in the Firebird documentation on this. I would suggest using the *.gdb first and if not work, then study up on the conversion.
3) You need the Java runtime environment - I think that gets installed with OpenOffice.Org itself.
4) download a zipped file Jaybird.2.2.0snapshot_20060810JDK_1.5. Unzip (extract) the file. This has "fixes" for certain non standard/non compliant issues in Base.
5) In Open Office tools->options->Java first be sure there is a Java runtime environment installed (mine shows Sun Microsystems Inc version 1.6.0_07. Then click on class path.
6) Navigate to the file Jaybird-full-2.2.0 and click on it. This will then show up in Open Office as a class library.
7) Open a dateabase in Open Office, click on connect to existing database, using JDBC
8) The driver name to enter is org.firebirdsql.jdbc.FBDriver
9) the URL to enter (after the jdbc:) is firebirdsql:oo: <computer name where data file is located>:c:\<path to database and database name> [you'll have to insert yours]
10) During the above process click on the "test driver" and then on the "test connection". They should check out if you've typed everything ok. If the *.gdb database cannot be read, you will need to convert you file to a *.fdb.
11) Once you make you connection, you can edit, create forms, reports etc. in Base to access, change etc. your Interbase/Firebird files.
The above does work, I know. Good luck.

John

Re: OOo Base connect to Interbase 6

Posted: Mon Jun 20, 2011 7:07 pm
by rudolfo
And 6a) because "Open a dateabase in Open Office" can be interpreted in different ways ;-)

After you have selected the jaybird JDBC driver jar-file for the classpath settings, save the settings and restart OpenOffice completely (including the quickstarter).