CRDBGrid Filter on Boolean

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dhammink
Posts: 10
Joined: Wed 28 Sep 2005 08:37
Location: Germany

CRDBGrid Filter on Boolean

Post by dhammink » Wed 28 Jun 2006 21:40

Hi,

I have a Table with a TinyInt(1)
is set Bby MyTable as a TBoolean field
I have set DisplayValue=J;N

Now I want to use the CRDBGrid's filter and set the filter to J. Then I get an error Field J not found (For N the same)

I just reverted to Smallint Values.

Anyway I can use the filter in this case as normal Characters ??

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 29 Jun 2006 12:02

Thank you for information. We have added analysis of DispalyValues property of TBooleanFileds to CRGrid filtering. This functionality will be added into the next build of our products. If you want us to send this patch to you by e-mail, you should send us your registration information to evgeniyD*crlab*com.

dhammink
Posts: 10
Joined: Wed 28 Sep 2005 08:37
Location: Germany

DataGrid

Post by dhammink » Thu 29 Jun 2006 12:12

While you are at it it would realy be nice if TLookupFields are treated in the grids with Lookupcomboxes in the Filter.

I have made something alike with an extra panel on top. but nicely integrated would really be a help.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 30 Jun 2006 09:44

In the next version of our products we will add ability to perform searching and filtering by lookup and calculated fileds. This feature will be included into all our products: ODAC, MyDAC, SDAC, IBDAC.

Post Reply