Michael Van Canneyt wrote:


On Fri, 6 May 2005, Luiz Am�rico wrote:

I noticed that in the current cvs of fpc it's implemented the master/detail relation between TDataset(s).
I saw that TDetailDataLink and TMasterDataLink was introduced but I couldn't figure how is supposed to work. I also noticed the abscense of NestedDatasets and DataSetField properties.


They are not yet implemented.

So none of the current TDataset descendants works with Master/Detail schema ?
If some works, can anybody send me a example?


But NestedDataset and DatasetField are
ONLY for TClientDataset, and we don't support TClientDataset (yet).

At least TDataset class in Delphi 7 has both properties.


What you must do is

1. Implement parameter support (TParams/TParam is present).

2. Introduce a Datasource property. Whenever the Datasource changes it's
   data, the detail dataset most close, fill in new parameters, and
   reopen.

2 is not a problem, this is max 50 lines of code. 1 is the problem.



I'll take a look.
Thanks.

Luiz.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to