T
toby_lee
Unregistered / Unconfirmed
GUEST, unregistred user!
[]
Dears:
我的开发环境:
delphi 6.0 + MS SQL(tquery+updatesql)
TQuery的几个属性值为:
cachedupdated:=true;
requstlive:=ture;
tupdatesql的sql中都写有相应语句。
TQuery的Onupdaterecord事件中写到
emp_query.UpdateObject:=emp_updatesql;
emp_updatesql.SetParams(updatekind);
emp_updatesql.ExecSQL(updatekind);
updateaction:=uaapplied;
buttonclick中写到:
dm_form.emp_query.ApplyUpdates;
为什么在向后台提交时出错为:Update Failed。数据也没有写回数据库。
Dears:
我的开发环境:
delphi 6.0 + MS SQL(tquery+updatesql)
TQuery的几个属性值为:
cachedupdated:=true;
requstlive:=ture;
tupdatesql的sql中都写有相应语句。
TQuery的Onupdaterecord事件中写到
emp_query.UpdateObject:=emp_updatesql;
emp_updatesql.SetParams(updatekind);
emp_updatesql.ExecSQL(updatekind);
updateaction:=uaapplied;
buttonclick中写到:
dm_form.emp_query.ApplyUpdates;
为什么在向后台提交时出错为:Update Failed。数据也没有写回数据库。