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

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Fredkoe
Posts: 2
Joined: Wed 21 Mar 2007 20:05

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

Post by Fredkoe » Sat 24 Mar 2007 16:15

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)?

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Mon 26 Mar 2007 08:54

The TCRDBGrid component doesn't support such functionality.

koojay
Posts: 5
Joined: Wed 06 Sep 2006 07:39

TCRDBGrid filtters via programming

Post by koojay » Fri 23 Mar 2012 15:57

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

AndreyZ

Post by AndreyZ » Fri 23 Mar 2012 16:07

The TCRDBGrid component is no longer being developed. Its source code is supplied with SDAC, so you can change it any way you want.

Post Reply