Home > Back-end > Couldn't access fuzzy query like why query, could you tell me where is wrong?
Couldn't access fuzzy query like why query, could you tell me where is wrong?
Time:10-08
Procedure TForm8. Button4Click (Sender: TObject); The begin With ADOQuery2 do The begin The close; SQL. The Clear; SQL. The Add (' Select * from insp where a, b, c, d like a '+' ' ' '+' % '+ Trim (edit1. Text) +' % '+' ' ' '); The open; end; end;
Note: I am using ADO to connect the access database, Couldn't access fuzzy query like why query, could you tell me where is wrong? Please answer!
CodePudding user response:
Add (' Select * from insp where d like '+ Quotedstr (' %' + Trim (edit1. Text) + '%'));
CodePudding user response:
Select * from insp where a like or the like, like like b or c or d,, Where a, b, c, d like you too
CodePudding user response:
Method still doesn't work on the second floor, click fuzzy query, or the whole of the show, did not move, why?
CodePudding user response:
What I said is not on the first floor, wrong floor above,