Problem with TDBTree

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Hans Hasenack
Newbie
Newbie
Posts: 31
Joined: Thu Feb 22, 2007 12:00 am
Location: Nijmegen, Netherlands
Contact:

Problem with TDBTree

Post by Hans Hasenack » Tue Mar 06, 2007 2:46 pm

Using mode with Code field and Parent field on a large dataset takes forever to load. (10M records+)

Even while there are only 20 records i n the root en next level.

Why aren't only the records loaded that are expanded? Am I mssing something here?

I guess I'll have to stay with my own TDBTree implementation which does load partial data.



Hans

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Sun Mar 11, 2007 6:23 pm

Hi,

Partial load is not implemented in the TDBTree implementation. With TTree you can create a partial load, but if you want to use it together with a database, you indeed need to implement your own TCustomTree descendant.

Regards,
tom

Hans Hasenack
Newbie
Newbie
Posts: 31
Joined: Thu Feb 22, 2007 12:00 am
Location: Nijmegen, Netherlands
Contact:

Ah.. Now I remember

Post by Hans Hasenack » Mon Mar 12, 2007 7:27 am

...why I had to implement this myself.
:)

Post Reply