fetching records page to page top 150 records each scroll
Posted: Wed 13 Oct 2010 07:10
Hi;
i have to load datas top 150 top 150, when i scrolled data it has to load next 150 data.
And assign a memtable like MemTable.AppendData(query.Data);
Example : select top 150 * from mytable where id > 1224
next scroll
select top 150 * from mytable where id > 2395
select top 150 * from mytable where id > 3472
select top 150 * from mytable where id > 9736
something like.
Anydac has a component ADMemTable and it has a property AppendData.
They ADQuery component has Data property which you can assign datas to memtable : ADMemTable1.AppendData(ADQuery1.Data);
We saw a program and we investigate, They have fetching. when i observe sql server profiler i saw they get records top 150 top 150.
we want like this.
Is there a solition ?
i have to load datas top 150 top 150, when i scrolled data it has to load next 150 data.
And assign a memtable like MemTable.AppendData(query.Data);
Example : select top 150 * from mytable where id > 1224
next scroll
select top 150 * from mytable where id > 2395
select top 150 * from mytable where id > 3472
select top 150 * from mytable where id > 9736
something like.
Anydac has a component ADMemTable and it has a property AppendData.
They ADQuery component has Data property which you can assign datas to memtable : ADMemTable1.AppendData(ADQuery1.Data);
We saw a program and we investigate, They have fetching. when i observe sql server profiler i saw they get records top 150 top 150.
we want like this.
Is there a solition ?