1
I need to filter data from a grid, but I need to pass by parameter. in case all data needs to be returned. Always do as follows to show all data in Grid Example:
SELECT FROM TABELA A
WHERE (A.NUM = :parâmetros) OR (:parâmetros = 0)
but how can I do it this way in:
filter := 'num = :paramentro' or (:paramentro = 0)
Remind me that "filter" has to be mounted filter := 'num = 1234; "
– Motta
@Motta as it is, I ended up using with Like and when I want to return all data to the grid step one '%'
– rodrigo.oliveira