I think you can use a TQuery Component instead of a TTable Component,and then you can use a UPDATE SQL statement to complete this task. Just like this:
    TQuery.sql.add 'Update table2,table1 set table2.fieldX=sum(table1.fieldY) where table1.X=table2.X'
or similar statement.

解决方案 »

  1.   

    分组求和清用 TQuery 
    然后 修改 Table 的值。
      

  2.   

    十分同意,最快的方法是用TQUERY语句.
      

  3.   

    是ACCESS ?
    是ODBC 连接的吗? 这种情况下用TTABLE 就比较慢。改用TQUERY 要好得多。
    也可以试试用其它方式连接数据库。
      

  4.   

    用如下语程序提示错误:试图执行一个合计函数中不包括的定表达式'y'的查询UPDATE table1, table2 SET table1.x = Sum(Table2.y)
    WHERE table1.z=table2.z;
      

  5.   

    Limu is good,however,you had best answer to the question with Chinese.