D
dongfang7410
Unregistered / Unconfirmed
GUEST, unregistred user!
我编程一软件用到数据库存储过程..执行过后,没得到预期结果,记录没有被存储,请看:
begin
if data_use.ADOStoredProc3.active then
begin
data_use.ADOStoredProc3.Parameters.ParamByName('@Date_zk').value:=datetimepicker1.date;
data_use.ADOStoredProc3.Parameters.ParamByName('@Bm_zk').value:=ls_find;
.....
data_use.ADOStoredProc3.Prepared;
data_use.ADOStoredProc3.ExecProc;
end;
begin
if data_use.ADOStoredProc3.active then
begin
data_use.ADOStoredProc3.Parameters.ParamByName('@Date_zk').value:=datetimepicker1.date;
data_use.ADOStoredProc3.Parameters.ParamByName('@Bm_zk').value:=ls_find;
.....
data_use.ADOStoredProc3.Prepared;
data_use.ADOStoredProc3.ExecProc;
end;