csgraham74@gmail.com wrote:[color=blue]
> Hi Folks,
>
> im using MS Access as a front end to link to MYSQL. although this is
> possibly a MYSQL issue i thought someone would be able to help me. the
> error message "ODBC--insert on a linked table 'tablname' failed" is
> displayed when i attempt to insert records to the MYSQL table.
>
> Does anyone know of a way round this ?? im using the most recent MYSQL
> driver and i have only text fields in my insert statement. Is there an
> Access setting or permission that i must change[/color]
As Larry mentioned, you need to have a Primary Key defined in the Table.
If you don't have one, add in a new field of type INTEGER and set the
AUTO_INC. Make this your PK. You also need to create a TimeStamp field
(with a default value of CURRENT_TIMESTAMP) if you plan to edit the
records later (needed to control record locking).
--
Bri