[Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)
Reimar Grabowski
reimgrab at web.de
Fri Nov 14 14:50:20 CET 2014
On Fri, 14 Nov 2014 14:15:08 +0100 (CET)
Michael Van Canneyt <michael at freepascal.org> wrote:
> Connections for databases that have lastinsertID you can call the method created for this:
>
> Function GetInsertID: int64;
That is actually exactly what I was looking for.
I was just too dense to realize that it belongs to the connection, not the query and didn't look for it there.
Shame on me.
Thanks a lot
R.
More information about the Lazarus
mailing list