次 次时代 Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #1 在TABLE控件中可以在FILTER中使用‘*’进行模糊过滤, 如何在ADOTABLE控件中使用模糊过滤。
Q QuickSilver Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #2 adotable1.filter:='fieldname like '+QuotedStr(StrTmp+'*') 或 Filter:='fieldname like '''+str+'*''';
S svw0506 Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #3 ADOQuery1.Filter:='name like *b*';
Z zhengbo Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #4 adotable1.filter:='FField like ' + QuotedStr(CondStr + '%') adotable1.filter:='FField like ' + QuotedStr('%' + CondStr) adotable1.filter:='FField like ' + QuotedStr('%' + CondStr + '%')
adotable1.filter:='FField like ' + QuotedStr(CondStr + '%') adotable1.filter:='FField like ' + QuotedStr('%' + CondStr) adotable1.filter:='FField like ' + QuotedStr('%' + CondStr + '%')