TdaMagicSQL - Upgrade 6.02
Same code as 6.01 but when running a report I now get and error
'TdaMagicSQL.Create: Owner must be TdaSQL'
which appears to come from the constructor below. Any ideas what may be
wrong???
Regards
Philip L Jackson
{---------------------------------------------------------------------------
---}
{ TdaMagicSQL.Create }
constructor TdaMagicSQL.Create(aOwner: TComponent);
begin
if not (aOwner is TdaSQL) then
raise Exception.Create('TdaMagicSQL.Create: Owner must be TdaSQL');
inherited Create(aOwner);
FRootSQL := TdaSQL(aOwner);
FMagicFieldCount := 0;
end; {constructor, Create}
'TdaMagicSQL.Create: Owner must be TdaSQL'
which appears to come from the constructor below. Any ideas what may be
wrong???
Regards
Philip L Jackson
{---------------------------------------------------------------------------
---}
{ TdaMagicSQL.Create }
constructor TdaMagicSQL.Create(aOwner: TComponent);
begin
if not (aOwner is TdaSQL) then
raise Exception.Create('TdaMagicSQL.Create: Owner must be TdaSQL');
inherited Create(aOwner);
FRootSQL := TdaSQL(aOwner);
FMagicFieldCount := 0;
end; {constructor, Create}
This discussion has been closed.
Comments
reports dynamically? We'll need more info as to what exactly the report is
doing. Send us a simple example to support@digital-metaphors.com which we
can run to trace the conversion logic.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com