qbatchadd.SQL.Clear;
 qbatchadd.SQL.Add('update laowu set edu='''+edit1.text+''' where temp=true');
 qbatchadd.ExecSQL;
上面这条是执行了没有的.我把其中的edu改为一个被赋值后的string变量sel_field语句如下面就不行了,它说那个选定字段没有指定默认值, qbatchadd.SQL.Clear;
 qbatchadd.SQL.Add('update laowu set '''+sel_field+'''='''+edit1.text+''' where temp=true');
 qbatchadd.ExecSQL;