主题:帮我看看程序.谢谢!
查询
with adoquery1 do
begin
close;
SQL.clear;
sql.add('select bianhao as 编号,yuefen as 月份,gongzi 工资,jiangjin as 奖金, sgongzi as 实际工资 from salary where sgongzi between strtoint(trim(edit1.Text)) and :strtoint(trim(edit2.Text))');
//parameters[0].value.AsInteger:=strtoint(trim(edit1.Text));
//parameters[1].value.Asinteger:=strtoint(trim(edit2.Text));
open;
end;
edit1.Text:='';
edit2.Text:='';
以上是一个查询安纽的程序出现以下错误提示:
Project kaoqin.ext raised exception class EOleException with message '不正常地定义参数对象。提供了不一致或不完整的信息。'Process stopped. Usew Step or Run to continue.
with adoquery1 do
begin
close;
SQL.clear;
sql.add('select bianhao as 编号,yuefen as 月份,gongzi 工资,jiangjin as 奖金, sgongzi as 实际工资 from salary where sgongzi between strtoint(trim(edit1.Text)) and :strtoint(trim(edit2.Text))');
//parameters[0].value.AsInteger:=strtoint(trim(edit1.Text));
//parameters[1].value.Asinteger:=strtoint(trim(edit2.Text));
open;
end;
edit1.Text:='';
edit2.Text:='';
以上是一个查询安纽的程序出现以下错误提示:
Project kaoqin.ext raised exception class EOleException with message '不正常地定义参数对象。提供了不一致或不完整的信息。'Process stopped. Usew Step or Run to continue.