Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages
Started by Emmanuel
Sun, 29 May 2005 00:03
usage of TAggregateField
Author: Emmanuel
Date: Sun, 29 May 2005 00:03
Date: Sun, 29 May 2005 00:03
30 lines
1640 bytes
1640 bytes
Dear All, I have some ClientDataSets TClientDataSet*ClientDataSetA ; TClientDataSet*ClientDataSetB ; TDataSource *DataSourceA : DataSourceA->DataSet =ClientDataSetA ClientDataSetB->MasterSource=DataSourceA ClientDataSetB->MasterField="FieldA" ClientDataSetB->IndexFieldNames="FieldA;FieldB" I want to calculate the sum of the current FieldC of ClientDataSetB under the relationship of ClientDataSetA but I found that the TAggregateField must be some every record igrone the MasterSource information How to I do it? I cannot use the TDataSetField, because there are so many table relate to ClientDataSetA; but TDataSetField can only handle 1 master dataset and 1 detail dataset without bug please teach me if you know thank you Emmanuel
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads