vQRz7‖

kqFCk‖Generated Values

x7uc3‖Specifies the options for automatically generated values for new data records.

Dpncz‖The availability of the following controls depends on the type of database:

moLhP‖Retrieve generated values

KGEf3‖Enables LibreOfficeDev support for auto-incremented data fields in the current ODBC or JDBC data source. Select this option if the auto-increment feature in the SDBCX layer of the database is not supported. In general, the auto-increment is selected for the primary key field.

x4VQL‖Auto-increment statement

Hskow‖Enter the SQL command specifier that instructs the data source to auto-increment a specified Integer data field. For example, the following MySQL statement used the AUTO_INCREMENT statement to increase the "id" field each time the statement creates a data field:

Vi6CV‖CREATE TABLE "table1" ("id" INTEGER AUTO_INCREMENT)

rDQtm‖For this example, you must enter AUTO_INCREMENT into the Auto-increment statement box.

GSfGJ‖Query of generated values

gCRhF‖Enter an SQL statement that returns the last auto-incremented value for the primary key data field. For example:

BzyHv‖SELECT LAST_INSERT_D();