关于返回字段类型问题????
if dm1.ADOQuery2.Fields.Fields[0].DataType is ftDatetime then
      showmessage('ss');
//错误信息Build
  [Error] main.pas(231): Undeclared identifier: 'ftDatetime'
  [Error] main.pas(231): Operator not applicable to this operand type
  [Fatal Error] MdjManage.dpr(8): Could not compile used unit 'main.pas'
请问大家如何解决??????