如何使用BDE中更新控件。update语句在BDE中如何使用。在线。QQ:2059478
详情请加我的QQ。急。谢了。我的SQL很好的。delphi也不错。一起探讨吧。

解决方案 »

  1.   

    bde中的update控件和query控件的区别是cacheupdate的设置不同
      

  2.   

    你试试看这个
    query1.close;
    query1.sql.clear;
    query1.sql.add('update  表名 set 表名.字段='''+edit1.text+''' where 字段=条件');
    query1.parambyname('字段').asstring:=条件;
    {query1.execsql;}
    query1.open;
      

  3.   

    update a set a.name=b.name from tab1 a,tab2 b where a.id=b.id
    这句语法对嘛???
      

  4.   

    update tab set name=b.name from tab1 a,tab2 b where a.id=b.id
      

  5.   

    update tab1 set tab1.name=tab2.name where tab1.id = tab2.id