我在edit2的change事件中加入datamodule1.clientDataSet11.Locate('category',vararrayof([edit2.text]),[loCaseInsensitive,loPartialKey]);提示出错:Undeclared identifier: 'loCaseInsensitive'
         Undeclared identifier: 'loPartialKey'
         Incompatible types: 'TLocateOption' and 'Integer'当我去掉loCaseInsensitive,loPartialKey这两个参数时,程序可以运行
也可以搜索到和edit2中完全匹配的记录,但是没有相忽略大小写和模糊查询的
功能了,有谁知道出错的原因吗?