Page 1 of 1

method name question.

Posted: Tue 27 May 2008 12:39
by snap7i
hi..
sorry, I live in no-english language country.
and my eng. isn't so good.

^^;;

1.
Full records : 50,000

2.
OraQuery component property set:
FetchAll := False;
FetchRows := 50;

3.
OraQuery.Open;

4.
when mouse wheel down last record..
I want next fetch 50 record.
but, now..
no more wheel down.

5.
I want code:
-----------------------------------
if (wheel down) and (oraquery.eof) then
oraquery.nextfetch; // my set 50record.
-----------------------------------
how?
please help.

thanks for read.

Posted: Wed 28 May 2008 07:43
by Plash
The TDBGrid component does not support mouse wheel correctly. You can try to find some third-party grid component that supports moving to the next record using mouse wheel.

Posted: Wed 28 May 2008 08:07
by snap7i
thank you read.

I using DBGrid component is NxDBGrid. third-party component..
and support mouse wheel.
plz help.

Posted: Fri 30 May 2008 07:47
by Plash
Try to set QueryRecCount option of TOraQuery to True.

Posted: Sat 31 May 2008 16:41
by snap7i
to Plash.
Thank you. I wanted it.
But, is slower first. ^^;