FieldDefs

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
vannus
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 26.10.2010, 21:04

FieldDefs

Post by vannus »

TTable has FieldDefs
TZTable seems to have FieldDefs but they aren't avilable at design-time, and they don't appear to work at run-time either.

unless I'm doing somethjing wrong:-
ztable1.FieldDefs.AddFieldDef.Attributes:=[fahiddencol];
ztable1.active:=true;

the dbgrid stills shows the first column.

Are FieldDefs implemented/supported?

- V
vannus
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 26.10.2010, 21:04

Post by vannus »

worked around it thanks to delphi.about.com
you can double-click the TZTable or TZQuery to bring up the FieldDefs editor

perhaps FieldDefs should be added to the published section of TZTable & TZQuery?

- V
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Can you send the patch?

Mark
Image
Post Reply