执行下列代码时报错:"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;