[Lazarus] SQLDb Query Insert, Update vs SQL

JoshyFun joshyfun at gmail.com
Wed Nov 4 18:25:53 CET 2009


Hello Lazarus-List,

Wednesday, November 4, 2009, 3:35:14 PM, you wrote:

i> I've added the queries into the InsertSQL nd UpdateSQL however it seems like
i> it is using the SQL code and make "it's own" update and insert (I know this
i> because the index is set to not null, and in the select statement I retrieve
i> it, but on Update and Insert it raises an exception that the ID is mandatory
i> and is null).

Update and Insert SQL (custom) requires a quite recent patch, or a fpc
2.0.x (if my memory serves me).

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list