문제

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?

올바른 솔루션이 없습니다

다른 팁

Alternatively you can use rows to limit the query:

select * from employee rows 10 to 20
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top