[Lazarus] [Partially Solved] Cross Compile for arm-linux

Kjow antispammoni at gmail.com
Thu Dec 10 15:47:53 CET 2009


Hi All,

A client has changed a field type in a SQLite db from INTEGER to TEXT. 
My app now crashes on a AField.AsInteger:=1; (Invalid type conversion to 
integer in field...)

Should the correct behaviour not be to simply convert to text in the 
AsInteger setter and attempt StrToInt in the getter before raising an 
exception?

Thanks,

Paul.




More information about the Lazarus mailing list