delphi7 ADOQuery1
varNewString:string;ClickedOK:Boolean;beginNewString:='';ClickedOK:=InputQuery('输入框',...
var NewString:string; ClickedOK:Boolean; begin NewString:=''; ClickedOK:=InputQuery('输入框','请输入省份名称',NewString); if ClickedOK Then with ADOQuery1 do begin close; SQL.Clear; SQL.ADD('select * from qlist where sheng:=lala'); Parameters.ParamByName('lala').value:=NewString; Open; end; end; 为什么这里Parameters.ParamByName('lala').value:=NewString;报错
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询