Hi,
Im writing a small program that uses SQlite database. I ran into a small problem when i select rows from the table.
Qt Code:
QSqlTableModel model; model.setTable("vlad"); //model.setFilter("id >=500"); model.select(); int rows = model.rowCount(); //rows = 256To copy to clipboard, switch view to plain text mode
The problem is that it will select first 256 rows from the table regardless if I use the filter or not. My database table has at least 4000 rows, and I need a method to select ALL rows.
Thanks you
Bookmarks