通过  Table1.Fields[i].DataType 属性判断你要过滤的字段的类型,再根据不同的类型,编写你的filter属性.  例:要对第i各自段处理,科这样写:
    case Table1.Fields[i].DataType of
      ftString:
        Table1.filter:='......';
      ftSmallint:
         ....................;
      ftInteger:
         ...................;
      ftWord:
        ..................;
      ftBoolean:
        ..................;
      ftFloat:
    end;