tt1:=datetostr(datetimepicker1.Date);
tt2:=datetostr(datetimepicker2.Date);
sql:='select * from 水电信息表 where 录入日期 between'''+tt1+''' and '''+tt2+''' ';
with ADOQuery1 do
begin
close;
SQL.Clear;
SQL.Add(sql);//[Error] report_cur.pas(157): Incompatible types: 'String' and 'TStrings'
open;
高手帮忙解决一下~