怎样在qldbgrid 中 最后一行出现合计?
有实例吗?

解决方案 »

  1.   

    FieldByName('total').AsFloat:=strtofloat(dbedit1.Text)+
                                                         strtofloat(dbedit2.Text)+
                                                          strtofloat(dbedit3.Text)+
                                                          strtofloat(dbedit4.Text)-
                                                          strtofloat(dbedit5.Text);