Alternatively you can use rows to limit the query:
select * from employee rows 10 to 20
Question
I have a Listview with LiveBindings to a DB. I have FetchOptions RowSetSize
set to 20.
Query:
Select * from "MyDB" where "Name" LIKE "%&FieldList%' AND "Tag'=1
If I set FetchOptions
to onDemand
LiveBindings works but I get 3000 items and it is very slow.
If I set FetchOptions
to Manual
LiveBindings does not work but I can, through FetchNext, get my 20 items. But I have to populate the ListView
myself.
So, is there any way to have onDemand but only get 20 items at a time?
No correct solution
OTHER TIPS
Alternatively you can use rows to limit the query:
select * from employee rows 10 to 20