Fórum ClientDataSet - Filter #499996
03/11/2014
0
Estou usando:
ClientDataSet.Filtered:= False; ClientDataSet.Filter:= 'NOT (CODIGO IN (10,11,12))'; ClientDataSet.Filtered:= True;
Porém, ainda continua no ClientDataSet os valores cujos códigos são 10, 11 e 12.
Estou fazendo algo errado?
Já passaram por algo assim?
Outras tentativas:
ClientDataSet.Filter:= 'NOT CODIGO IN (10,11,12)';
ClientDataSet.Filter:= 'CODIGO NOT IN (10,11,12))';
Huelbert Oliveira
Curtir tópico
+ 0Posts
03/11/2014
Renato Rubinho
É Bug.
Tenta deixar espaço entre os parênteses, os números e as vírgulas.
ClientDataSet.Filter:= 'NOT (CODIGO IN ( 10 , 11 , 12 ) )';
Abraççç,
Renato
Gostei + 0
03/11/2014
Huelbert Oliveira
Muito obrigado rrubinho, ajudou de mais cara.
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)