Well, if SQLite supports multicolumn PKs then Lazarus/FPC should be able to deal with it.
Please include a sample application or at least your table SQL, Lazarus version, operating system. See the first link in my signature.
Preferably a sample application that demonstrates the problem (project/publish project, zip up the result and attach it to a post).
Thanks.