Re: [Gambas-user] sqlite3 component can't seem to handle very large numbers

2017-06-17 Thread Herman Borsje
Thanks Benoît and Tobias! Problem solved by changing the data-type of the fields in Sqlite from INTEGER to BIGINT like so: - select * from {table} into {temptable} - create {newtable} (with BIGINT fields) - insert into {newtable} select * from {temptable} - drop {temptable} Regards, Herman O

Re: [Gambas-user] sqlite3 component can't seem to handle very large numbers

2017-06-16 Thread Benoît Minisini via Gambas-user
Le 17/06/2017 à 01:31, Tobias Boege a écrit : On Sat, 17 Jun 2017, Herman Borsje wrote: When I retrieve a result from a sqlite3 database which holds very large numbers in some fields, I get weird results. Up to 10 digits works okay, but larger numbers are incorrect. Any ideas as to what's going

Re: [Gambas-user] sqlite3 component can't seem to handle very large numbers

2017-06-16 Thread Tobias Boege
On Sat, 17 Jun 2017, Herman Borsje wrote: > When I retrieve a result from a sqlite3 database which holds very large > numbers in some fields, I get weird results. Up to 10 digits works okay, but > larger numbers are incorrect. Any ideas as to what's going wrong? > > I am using Gambas 3.9.2 on Linu

[Gambas-user] sqlite3 component can't seem to handle very large numbers

2017-06-16 Thread Herman Borsje
When I retrieve a result from a sqlite3 database which holds very large numbers in some fields, I get weird results. Up to 10 digits works okay, but larger numbers are incorrect. Any ideas as to what's going wrong? I am using Gambas 3.9.2 on Linux Mint 18.1 Tabledef: id INTEGER, name TEXT; Da