Why you want to see all the records at once ... in a DB control. As mention
both a Grid and a List do this if the count of records is small enough.

In the end, the components to display all have to do

First
while not eof
Next

Most only display a subset and use bookmarks to save restore the current
cursor position - if required.

Ie a control does not really want to do a first ..next loop but rather rely
on the dataset buffers to display the record data.

Myles.




-----Original Message-----
From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 26 September 2002 2:58 p.m.
To: Multiple recipients of list delphi
Subject: Re: [DUG]: ActiveRecord and BufferCount


Andreas and Myles

1/  Just for interest sake, could you explain what you mean with showing
"all records in a dataset at once"? It's the once part that gets me. Sounds
like a grid to me...

No a grid only displays the VisibleRowCount at one time (by setting the
BufferCount) it refreshes this buffer as you scroll, I suppose
the only other component that would behave similarly would be the TDBChart
(thinks I'll have to see how it works....)

2/ I just gotta ask why though [from Myles]

Why what?

Neven

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to