Estou fazendo um select SQL da seguinte forma:
if Edit1.Text <> '' then
begin
DataModule2.FDTProdutos.Filtered := False;
DataModule2.FDTFornecedores.Filter := ' upper(dcproduto) like ' +
UpperCase(QuotedStr('%' + Edit1.Text + '%'));
DataModule2.FDTProdutos.Filter := ('and qtestoque < qtminima');
DataModule2.FDTProdutos.Filtered := true;
end;
ao testar, aparece a seguinte mensagem:
[FireDAC][Stan][Eval]-100. Column or function [and] is not found. Hint: if the name is a function name, then add FireDAC.Stan.ExprFuncs to uses clause.
Ja adicionei na uses
FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt,
FireDAC.Comp.DataSet, FireDAC.Comp.Client;
Alguem pode me ajudar?