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.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to