ADOTable1.sql.text:='select *from aaa where hire_date>'''+a+'''';TDateTime 不是编译器可直接识别的预定义类型,它在System单元定义:
type TDateTime = type Double;
a=date;