当需要赋空值时,要先确定该字段的类型,然后再对value进行赋值,如下: ParamByName('supplement').DataType := ftString; ParamByName('supplement').Clear();