Only recently I found out about Lazarus, so I'm learning it now. I am experienced in Delphi programming, though.
I dowloaded and installed Lazarus 0.9.26.2 with FPC 2.2.2 on Windows XP. I have MySQL 5.0 installed, so I can use TMySQL50Connection from SQLdb tab.
In order to try using db components in Lazarus, I set up a very simple application - on main form I dropped these components: SQL50Connection, SQLTransaction, SQLQuery, Datasource and DBGrid. In SQL property of SQLQuery i wrote the simplest statement - "SELECT * FROM TABLE_NAME". After I run the project, the SQLQuery component gets connected and DBGrid is filled with data. However, when I edit some cell, after the programme comes to SQLQuery1.ApplyUpdates, it raises exception. I get the message:
"An error occured while applying the updates in a record: MySQL50Connection1: Error executing query: Duplicate entry '17' for key 1."
This error message seems as if I tried to insert a new record whith duplicate key, but all I did was changing the content of one cell.
