Pergunta

Could you please provide me with a simple example of using the Filter Property of ADOQuery in Delphi 7?

Thanks.

Foi útil?

Solução

as looking into histroy question i got into this question:

Delphi ADO Query

which said by RRUZ that:

AdoQuery1.close;
AdoQuery1.filter := 'your condition goes here';
AdoQuery1.filtered := true;
AdoQuery1.Open;

Edit: or just :

AdoQuery1.filter := 'your condition goes here';
AdoQuery1.filtered := true;
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top