H helpmybl Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-29 #1 请问各位,怎样才能取出DBGridEH控件的汇总列的数值?最好详细点!
杜 杜宝 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-29 #2 读DBGridEh1.SumList.SumCollection.Items[0].SumValue就是了。 如: procedure TForm1.Button1Click(Sender: TObject); begin Label1.Caption:=IntToStr( Trunc( DBGridEh1.SumList.SumCollection.Items[0].SumValue)); end;
读DBGridEh1.SumList.SumCollection.Items[0].SumValue就是了。 如: procedure TForm1.Button1Click(Sender: TObject); begin Label1.Caption:=IntToStr( Trunc( DBGridEh1.SumList.SumCollection.Items[0].SumValue)); end;
W whf Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-29 #3 Edit1.Text := DBGridEh1.GetFooterValue(0, DBGridEh1.Columns[4]);