见者有分。关于TClientDataSet的 Filter 中文问题.
下面有两个对比:
====运行结果是对的===========
Filtered := false ;
Filter := 'plID LIKE ''%d%''' ;
Filtered := true ;
====运行结果是错的,数据表中plID字段有"连宾"的值===========
Filtered := false ;
Filter := 'plID LIKE ''%连%''' ;
Filtered := true ;
======================
请问,各位大侠有何提议。