H
hzgood
Unregistered / Unconfirmed
GUEST, unregistred user!
with query_edit_temp do
begin
close;
sql.Clear;
sql.add('insert into dcxx_edit(dc_id,dc_day,dc_zjm_day,dc_qj)');
sql.add('valuesdc_id,:dc_day,:dc_zjm_day,:dc_qj);');
ParamByName('dc_id').asinteger:=dc_id;
ParamByName('dc_day').asinteger:=dc_day;
ParamByName('dc_zjm_day').asinteger:=dc_zjm_day;
ParamByName('dc_qj').asinteger:=dc_qj;
showmessage(sql.text);
ExecSQL;
begin
close;
sql.Clear;
sql.add('insert into dcxx_edit(dc_id,dc_day,dc_zjm_day,dc_qj)');
sql.add('valuesdc_id,:dc_day,:dc_zjm_day,:dc_qj);');
ParamByName('dc_id').asinteger:=dc_id;
ParamByName('dc_day').asinteger:=dc_day;
ParamByName('dc_zjm_day').asinteger:=dc_zjm_day;
ParamByName('dc_qj').asinteger:=dc_qj;
showmessage(sql.text);
ExecSQL;