Assigning an int64 to a table in sqlite
Posted: Thu 20 May 2010 13:11
I need to populate a table with some large integer values.
the fields in the dsqlite database are defined as UNSIGNED BIG INT
Before I converted my code to sqlite I assigned the data ->AsVariant and all worked OK and the numbers displayed correctly in my grid (DevExpress QuantumGrid).
sqlite does not support the ->asVariant method so I have tried ->asInteger. When I do this my integers are rounded down and a load of them are displayed as -ve values.
How can I assign a largeint to sqlite using TuniTable?
the fields in the dsqlite database are defined as UNSIGNED BIG INT
Before I converted my code to sqlite I assigned the data ->AsVariant and all worked OK and the numbers displayed correctly in my grid (DevExpress QuantumGrid).
sqlite does not support the ->asVariant method so I have tried ->asInteger. When I do this my integers are rounded down and a load of them are displayed as -ve values.
How can I assign a largeint to sqlite using TuniTable?