Using INTEGER PRIMARY KEY as 64 bit identity

Using INTEGER PRIMARY KEY as 64 bit identity

I am using LiteDac 5.0.1 with Delphi 2007 and I am trying to use an auto-incrementing primary key defined as INTEGER PRIMARY KEY. The field takes values much larger than MaxInt but when I try to read the data in with a tLiteQuery it thinks the field is 32 bit and truncates the value of the field when using AsInteger or AsString, making it unusable. Is there a way round this?