L
linfox
Unregistered / Unconfirmed
GUEST, unregistred user!
ADOTable+access数据库,我用filter过滤,很奇怪的事情:
filter中如果写:(fieldname1='xxx' or fieldname1='kkk') and (fieldname2='lll'),filtered=True时报错“数据类型不正确,。。。”
如果写:(fieldname1='xxx') and (fieldname2='lll')或者
(fieldname1='xxx' or fieldname1='kkk') 都可以正确筛选,
反正就是不能and 和 or同时出现,不知道是什么原因。
请高手指点.
filter中如果写:(fieldname1='xxx' or fieldname1='kkk') and (fieldname2='lll'),filtered=True时报错“数据类型不正确,。。。”
如果写:(fieldname1='xxx') and (fieldname2='lll')或者
(fieldname1='xxx' or fieldname1='kkk') 都可以正确筛选,
反正就是不能and 和 or同时出现,不知道是什么原因。
请高手指点.