1
Good afternoon to you all! I am doing full name search on a Tmemo with Delphi, when the whole name is on the same line works well, but if part of the name is on one line and the other part on the next line, the search does not find. Any idea how to solve this?
procedure TForm1.BitBtn4Click(Sender: TObject);
var
acha:string;
begin
if (Memo1.GetTextLen > 0) then
begin
zPessoa.First;
if not zPessoa.Eof then
repeat acha:=zPessoanome.Value;
if pos(acha, AnsiUpperCase(memo1.Lines.text))>0 then begin
How’s your code at the moment?
– Cleber Griff