Page 1 of 1

Change a search expression field in the seach bar of a CRDBGrid by program

Posted: Sat 24 Mar 2007 16:15
by Fredkoe
I'm using the CRDBGrid in a DELPHI 7-program and it works fine, when I fill a search expression field in the seach bar by keyboard input.
My problem is now: How can I fill a search expression field by program (e.g. from a procedure)?

Posted: Mon 26 Mar 2007 08:54
by Jackson
The TCRDBGrid component doesn't support such functionality.

TCRDBGrid filtters via programming

Posted: Fri 23 Mar 2012 15:57
by koojay
Hi

As written on 2007, TCRDBGrid does not support to access search fields by programming. Is this still the case (2012)? Actually I am interested in filtters, not search...

The thing is that the filtters do not have options for drop down, but I could add a standard drop-down element next to the grid, which would then add the selected value to the filtter.

Kind regards,
Kalle

Posted: Fri 23 Mar 2012 16:07
by AndreyZ
The TCRDBGrid component is no longer being developed. Its source code is supplied with SDAC, so you can change it any way you want.