TGraphicField in TVirtualTable?

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
friedel
Posts: 6
Joined: Wed 18 Feb 2009 16:34

TGraphicField in TVirtualTable?

Post by friedel » Wed 18 Feb 2009 16:41

Hi!

Can I use images in TVirtualTable? After defining a TGraphicField in the fields editor I get an error "Field was not found" when I try to activate the table.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 20 Feb 2009 09:26

You can add TBlobField to the VirtualTable, and use it for storing images.

friedel
Posts: 6
Joined: Wed 18 Feb 2009 16:34

Post by friedel » Mon 02 Mar 2009 09:41

Plash wrote:You can add TBlobField to the VirtualTable, and use it for storing images.
Thanks for your answer. But I want to display the images in a TDBGrid. This does not work with TBlobField, does it?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 02 Mar 2009 13:15

As far as I know the TDBGrid component can display only text. If you use the TDBImage component, it will work with TBlobField.

Post Reply