delphi编程 报错 parameter 'wh' not found?还有这事.Delphi(Pascal) codesql1:='select * from Da_setcloum where WH=:wh and col=:col and row:=row';with qrysetcloum dobeginclose;sql.Clear;sql.Add(sql1);parameters.ParamByName('wh').Value:='DA';param
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 21:01:29
delphi编程 报错 parameter 'wh' not found?还有这事.Delphi(Pascal) codesql1:='select * from Da_setcloum where WH=:wh and col=:col and row:=row';with qrysetcloum dobeginclose;sql.Clear;sql.Add(sql1);parameters.ParamByName('wh').Value:='DA';param
delphi编程 报错 parameter 'wh' not found?还有这事.
Delphi(Pascal) code
sql1:='select * from Da_setcloum where WH=:wh and col=:col and row:=row';
with qrysetcloum do
begin
close;
sql.Clear;
sql.Add(sql1);
parameters.ParamByName('wh').Value:='DA';
parameters.ParamByName('col').Value:=inttostr(Acol);
parameters.ParamByName('row').Value:=inttostr(Arow);
open;
end;
这代码看似没错啊,为什么会报错?
.找到原因了.adoquery没连到adoconnection.我勒个去你小月月的!
delphi编程 报错 parameter 'wh' not found?还有这事.Delphi(Pascal) codesql1:='select * from Da_setcloum where WH=:wh and col=:col and row:=row';with qrysetcloum dobeginclose;sql.Clear;sql.Add(sql1);parameters.ParamByName('wh').Value:='DA';param
晕!这也行.接分!