Page 1 of 1

Default Values Don't Appear in Data Grid Firebird & Delp

Posted: 18.03.2009, 17:55
by andrevanzuydam
The default values defined in the Firebird database do not populate in the grid which makes for irritating development because one has to go and code in all the default values again upon using a normal append or insert statement on the Zeos Table or Zeos Query. What I've found that fixes this is to remove / comment out the line inherited; in the

procedure TZAbstractDataset.InternalPost

Commenting out inherited fixed my problems for me.

{$ENDIF}
end;

//inherited; //--AVZ - default value fix for interbase ?

I'm not sure if anyone can add this as a bug fix or something or analyse it to see why this works!