Filter Two Values in TDBF lazarus / 16-Databases ---------------------------------------------------------------------- InfoMan · 2012-03-28 23:53 I am using a component TDbf to access the data in my program. It turns out necessary to filter the two values ​​together. For results to be correct, must be displayed all the records dated later than 01/01/2007 and belonging to a particular group, eg B019. How to do this via code? Thank you very much all who respond. ---------------------------------------------------------------------- Lacak2 · 2012-03-29 12:36 Do you have tried something like: Filter := 'date_field>'''20070101''' and group_field='''B019''''; ---------------------------------------------------------------------- InfoMan · 2012-03-29 23:26 I had tried that, but it was not working because I needed to filter blank date and code at the same time. Fortunately I managed to solve. Thank you for your attention.