I have a program which uses an SQLite db with two main tables; one has less than 10 fields and about 1300 rows, and the other has 6000 rows with about 50 fields.
I insert new records or update existing records using parameters, and it works in the IDE, but I get an error when running a compiled exe - on the PC and on the mobile device. Is there a limit to how big the SQL string can be, or the number of parameters, when compiled? My other SQL programs haven't shown this problem, so this is the main difference I can think of.
It reads the data OK, but I use a 'select *' to load the data into a table control.
I will try saving/inserting fewer fields, and see if that works, then it will confirm my suspicions..
I insert new records or update existing records using parameters, and it works in the IDE, but I get an error when running a compiled exe - on the PC and on the mobile device. Is there a limit to how big the SQL string can be, or the number of parameters, when compiled? My other SQL programs haven't shown this problem, so this is the main difference I can think of.
It reads the data OK, but I use a 'select *' to load the data into a table control.
I will try saving/inserting fewer fields, and see if that works, then it will confirm my suspicions..