possible bug with TSQLQuery lazarus / 16-Databases ---------------------------------------------------------------------- ciuly · 2008-06-07 16:16 I might be wrong, but it appears that when using joins for example, the query is considered updateable and if useprimarykeysaskey is set, then a show index from is issued, which is obviously wrong. I don't have time to fully investigate this, but I  thought I'd give you guys the heads up. It's fpc 2.2.0 I don't use the latest version as I'm working on an application which needs stability, so I'm trying to use stable releases and change them only when strictly needed. So this possible bug might have been fixed in later versions of fpc.