last calculated field disappear in DBGrid after append

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
grzech22
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 08.05.2008, 22:58

last calculated field disappear in DBGrid after append

Post by grzech22 »

I use Zeoslib with SQLite. I prepared simple table with only one datafield.
There are on the form: ZConnection, ZTable, Datasource, DBGrid and DBNavigator and added one field calculated-type, filled in below procedure:

procedure TForm1.ZTable1CalcFields(DataSet: TDataSet);
begin
ZTable1calcfield.AsString := 'something calc';
end;

When I append new record - the last calculated field disappear in DBGrid. I observed this only in Zeos - in case of BDE that is not happen.

screenshot before append:
http://img181.imageshack.us/img181/7735/p1jh2.gif

screenshot after append:
http://img181.imageshack.us/img181/1141/p2hs8.gif


How to fix this problem?
Please help!
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Please log a bug report. Preferably including a very small sample project showing the problem.

Mark
Image
Post Reply