Mirgation ODAC 5.7 to ODAC 6.00
Posted: Tue 15 May 2007 06:21
Hi,
First thank you for your work on VCL.NET.
I have buy your last version about ODAC 6.00, and I migrate to this new version.
But I have a trouble with calculated Fields.
With previous ODAC 5.7 I create manually calculate filed with override procedure CreateFields.
The manually creation it's like this
And work fine with ODAC 5.7
But now with new version it's not work fine. The creation it's OK, but after when I want to use my field I receive a error Message : "Field not found".
Can you explain me how-to use calculated field now ?
Thanks for you help,
Regards,
N.Schmied
First thank you for your work on VCL.NET.
I have buy your last version about ODAC 6.00, and I migrate to this new version.
But I have a trouble with calculated Fields.
With previous ODAC 5.7 I create manually calculate filed with override procedure CreateFields.
The manually creation it's like this
Code: Select all
fldBase := TStringField.Create(DataSet);
With fldBase do
begin
FieldName := Self.CalcFieldName;
DataSet := Self.DataSet;
Calculated := True;
Visible := True;
ReadOnly := True;
Size := Self.Size;
DisplayWidth:= Self.Size;
end;
But now with new version it's not work fine. The creation it's OK, but after when I want to use my field I receive a error Message : "Field not found".
Can you explain me how-to use calculated field now ?
Thanks for you help,
Regards,
N.Schmied