Autor Beitrag
Hagbard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP Home / Pro
D7.1 Architekt
BeitragVerfasst: So 17.07.05 22:03 
Hallo zusammen,

in meiner Anwendung lade Ich 3 TClientDatasets,
nun sollen diese in ein weiteres TClientDataset kopiert werden ( in ein ftDataset Field )

der Aufbau der Destination:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
FieldDefs.Add('ID'    , ftInteger,  0,  True);
FieldDefs.Add('Prices', ftDataset,  0,  True);
FieldDefs.Add('Combi' , ftDataset,  0,  True);
FieldDefs.Add('Group' , ftDataset,  0,  True);


mit
ausblenden Delphi-Quelltext
1:
2:
with ( cdsMain.FieldByName('Prices') as TDataSetField ) do
  NestedDataset.

komm ich jetzt zwar an das NestedDataset dran....

aber wie bekomme Ich mein TClientDataset jetzt da rein?

Von Hand kopieren, wäre mir dann doch ein bisschen langsam... :-(


Vielen Dank schonmal...

Christian

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.

_________________
I haven't failed, I just found 10,000 ways that won't work!