|
ODBC Interface | Interfaces for the 602SQL Server | PHP Interface |
The SDBC (Star Database Connectivity) driver allows you to utilize 602SQL Server data in the OpenOffice.org office suite for Windows and Linux. The drives resides in the 602sql-sdbc-x.x.x.zip package, where "x.x.x" is the driver version. The package is common to both Windows and Linux.
The SDBC driver for 602SQL 11.x (and newer) is designed for OpenOffice.Org version 2.x (it will not function on OpenOffice.org 1.x).
It is assumed that you have 602SQL and OpenOffice.org installed. When you install 602Office (OpenOffice.org + 602SQL) on Windows, the driver will be installed automatically. Manual installation can be done in these three steps:
To uninstall the driver, press the Remove button in the Package manager dialog.
The SDBC driver can also be installed into OpenOffice.org from the command line. The unopkg program is used for this (unopkg.exe on Windows). You can find this utility in the program subfolder of the OpenOffice.org installation directory (e.g. C:\Program Files\OpenOffice.org 2.0\program\unopkg.exe in Windows, /usr/lib/ooo-2.0/program/unopkg in SUSE 10). The command syntax is as follows:
unopkg add [--shared] driver
parameter --shared - optional parameter, this will cause the driver to register for all users (otherwise only for the user that runs the command)
parameter driver - specifies the name and path to the SDBC driver
Usage example in Windows:
unopkg add --shared e:\SDBC\602sql-sdbc-2.0.0.zip
The command syntax is as follows:
unopkg remove [--shared] driver
parameter --shared - specifies whether the driver was installed for all users and therefore should be removed from all users
parameter driver - sets the SDBC driver name
Usage example:
unopkg add --shared 602sql-sdbc-2.0.0.zip
If you have the SDBC driver installed, you will still need to connect OpenOffice.org to a 602SQL Server and application (the connection is established automatically when installing 602Office in Windows). This is done by creating a new database in OpenOffice.org, click File > New > Database. The database wizard will appear:
WARNING: OpenOffice.org can only edit data in a 602SQL table that has a primary key!
WARNING: Fixed queries created and stored in an application are displayed in the Data Source window along with tables. Queries are definitions stored in OpenOffice.org using the Data Sources terminology and are NOT stored in the 602SQL database.
You may log activity to a text file that can be used to troubleshoot errors. Do the following in Windows to enable logging:
Do the following in Linux to enable logging:
Log parameters for both operating systems:
ODBC Interface | Interfaces for the 602SQL Server | PHP Interface |