Fórum Agregates do ClientDataSet em tempo de Execucao #289855
28/07/2005
0
Estou fazendo um componente que necessita disso, cheguei até a parte:
cds:= TClientDataSet.Create(nil);
with cds do
begin
FileName := ´cdsCobolHotCard.MB´;
Name:= ´cdsCobolHotCard´;
FieldDefs.Clear;
with FieldDefs.AddFieldDef do
begin
Name:= ´Data´;
DataType:= ftDate;
Size := 10;
end;
with FieldDefs.AddFieldDef do
begin
Name:= ´SomaDados´;
DataType := TAggregateField;
Active := True;
end;
CreateDataSet;
Porém, na hora de colocar a expression, nao estou conseguindo colocar.
Obrigado
Rod001
Curtir tópico
+ 0Posts
28/07/2005
Ivanh
Gostei + 0
28/07/2005
Rod001
Voce sabe de algum problema que o agregates tem para nao utiliza-lo?
Obrigado
Gostei + 0
29/07/2005
Kotho
Gostei + 0
29/07/2005
Khundalini
[]s
Rubem Rocha
Manaus, AM
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)