method name question.

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
snap7i
Posts: 8
Joined: Sat 14 Apr 2007 09:49

method name question.

Post by snap7i » Tue 27 May 2008 12:39

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 28 May 2008 07:43

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.

snap7i
Posts: 8
Joined: Sat 14 Apr 2007 09:49

Post by snap7i » Wed 28 May 2008 08:07

thank you read.

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

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 30 May 2008 07:47

Try to set QueryRecCount option of TOraQuery to True.

snap7i
Posts: 8
Joined: Sat 14 Apr 2007 09:49

Post by snap7i » Sat 31 May 2008 16:41

to Plash.
Thank you. I wanted it.
But, is slower first. ^^;

Post Reply