VT, TCRDBGrid - Lookup Field not shown...and more

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
GVCL
Posts: 16
Joined: Tue 09 Dec 2008 16:08

VT, TCRDBGrid - Lookup Field not shown...and more

Post by GVCL » Tue 01 Mar 2011 17:33

Hi everybody,

I use TVirtualTable with persistent fields and TCRDBGrid on a D2009 form. When I define a LookUp Field, is is not shown in the grid. I also get a 'field xyz not found' when I try to use it as DataField in a TDBEdit (with readonly) or TDBText. The lookup table is a TVirtualTable too.

When not using columns, all fields are always shown in the grid no matter if 'visible' of the fields (in the field editor) is set to true or false.

If I use the LookUp Field 'Stelle' in an assign statement e.g.: VTblPersonalShowStelleEx.AsString:=VTblPersonalStelle.AsString+'!'; I get an exception (ShowStelleEx is a calculated field) caused by the LookUp Field (I can assign just '!' to the ShowStelleEx without an error)

Thank you for any hint!

I use TVirtualTable coming with IBDAC 3.10.0.13

AndreyZ

Post by AndreyZ » Wed 02 Mar 2011 12:33

Hello,

I cannot reproduce these problems. Please try composing a small sample to demonstrate these problems and send it to andreyz*devart*com.

Post Reply