B
boysunsight
Unregistered / Unconfirmed
GUEST, unregistred user!
一个奇异的问题,用Delphi联系access库进行模糊查询时不能用*只能用%,而且如果是多个like用and联接,一般是不会出结果,必须在最后加一个or,才能出结果,如
'select * from WenJian where (DocName like '%中华%') and (WordContent like '%质量%') or (1=2)'
'select * from WenJian where (DocName like '%中华%') and (WordContent like '%质量%') or (1=2)'