Subject Increment Key from Delphi Grid
Author mitch_landor
I have set up a Firebird table with a Before Insert trigger to
increment the "ID" key column which is integer type. This works OK in
the DB.

I can read and edit the table from a Delphi grid, but when I try to
add a row I get an error message "Field ID must have a value".

How can I get this to insert correctly from Delphi?