执行下列代码时报错:"invalid use of keyword
token:year(dateadd(month,premonth,paydate))>?
line number:1"
请问怎么回事?
qry.Close;
qry.SQL.Clear;
qry.SQL.Add('select mainno from gpre');
qry.SQL.Add('where year(dateadd (month,premonth,paydate))> :years');
qry.ParamByName('years').AsInteger:=strtoint(trimleft(cb1.Text));
qry.ExecSQL;
qry.Open;
token:year(dateadd(month,premonth,paydate))>?
line number:1"
请问怎么回事?
qry.Close;
qry.SQL.Clear;
qry.SQL.Add('select mainno from gpre');
qry.SQL.Add('where year(dateadd (month,premonth,paydate))> :years');
qry.ParamByName('years').AsInteger:=strtoint(trimleft(cb1.Text));
qry.ExecSQL;
qry.Open;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货