DetailFDMemTable.Filter:='SupplierID='+ABQueryBackTemp.FieldByName('SupplierID').AsString;
DetailFDMemTable.Filtered:=true;
修改为:
DetailFDMemTable.Filter:='SupplierID='''+ABQueryBackTemp.FieldByName('SupplierID').AsString+'''';
DetailFDMemTable.Filtered:=true;