ODBC
Specifies the settings for ODBC databases. This includes your user access data, driver settings, and font definitions.
Before you can edit or add record to a database table in OpenOffice.org, the table must have a unique index.
On Solaris and Linux platforms, try to use a JDBC driver instead of an ODBC driver. See http://www.unixodbc.org for an ODBC implementation on Solaris or Linux.
To connect to a Microsoft Access database, use the ADO database interface, rather than ODBC.
![]() | Drivers for ODBC are supplied and supported by the manufacturer of the database. OpenOffice.org only supports the ODBC 3 standard. |
User Name
Type the user name for accessing the database.
Password required
Prevents an unauthorized user from accessing the database. You only need to enter the password once per session.
Driver Settings
Use this text field to enter additional optional driver settings if this is necessary.
Character Set
Select the code conversion that you want to use to view the database in OpenOffice.org. This does not affect the database. Choose "System" to use the default character set of your operating system. Text and dBase databases are restricted to character sets with a fixed-size character length, where all characters are encoded with the same number of bytes.
General
Retrieve generated values
Enables OpenOffice.org support of auto-incremented data fields for the current ODBC or JDBC data source. Select this check box if the database does not support the auto-increment feature in its SDBCX layer. In general, the auto-increment is selected for the primary key field.
Auto-increment statement
Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field. For example, a typical SQL statement to create a data field is:
CREATE TABLE "table1" ("id" INTEGER)
To auto-increment the "id" data field in a MySQL database, change the statement to:
CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)
In other words, enter AUTO_INCREMENT into Auto-increment statement box.
Query of generated values
Enter an SQL statement that returns the last auto-incremented value for the primary key data field. For example:
SELECT LAST_INSERT_D();
Use SQL92 naming constraints
Only allows names that use characters that conform to the SQL92 naming constraints in the data source. All other characters are rejected. Each name must begin with a lower or upper case letter, or an underline ( _ ). The remaining characters can be ASCII letters, underlines, and numbers.
Use Catalog for file-based databases
Uses the current data source of the Catalog. This is useful when the ODBC data source is a database server. If the ODBC data source is a dBase driver, leave this check box clear.
Index
This help text is published from the OpenOffice-Help files under the Public Documentation License 1.0.













