[fpc-pascal] Master Detail relationship in SQLdb

Joost van der Sluis joost at cnoc.nl
Mon Jul 16 13:50:09 CEST 2007


On Sun, 2007-07-15 at 16:05 +0200, Martin Schreiber wrote:
> On Sunday 15 July 2007 13.06, Joost van der Sluis wrote:
> > On Sun, 2007-07-15 at 07:24 +0200, Martin Schreiber wrote:
> > > I needed to use my own TField descendants because I can not modify
> > > db.pp .
> >
> > Huh? Why can't you? You did change bufdataset and sqldb. Which are also
> > part of the same db-package?
> >
> Because of binary compatibility with other TDataset descendants.

Binary compitibility? At the TDataset level? That doesn't exist. What do
you mean?

> You are right, it would be an good idea to flush the whole Delphi ballast and 
> start from scratch.

That could be an good idea, yes. But that's not what you did with sqldb.
You copied the code, changed is somewhat, but your code has no advantage
over the original. There is only the disadvantage of the maintainability
now. Because you and me are doing double work while fixing bugs and
adding new features.

Joost.





More information about the fpc-pascal mailing list