Hello everyone,
I’m new to Lazarus (And Pascal) and i think i have an easy problem, but since I’m new, I have no idea how to fix it.
I’m trying to make an application for a database made in Firebird, so I have a TZConnection (I'm using Zeos), my TZQuery, which is a select * from table, and my TDataSource linked to my TZQuery.
My problem is filtering of a grid with the help of an editbox.
I want to filter the grid, with what I type into the editbox, so when I type in someting like "LAZ", the grid only shows the records with "LAZ" in the field I’m searching in, foe example, a record with LAZARUS in the text.
So I’m thinking of an onchange event for the editbox, but after that I’m lost.
Please help.