Undeclared identifier: 'TfrxADODatabase'
procedure PrintRecord;
var
DB : TfrxADODatabase;
begin
with FrxRpt do
begin
DB := TfrxADODatabase(FindObject('ADODatabase'));
DB.Connected := False;
DB.DatabaseName := DM.AConnect.ConnectionString;
DB.Connected := True;
end;
end;
When I compile, the error message shows "Undeclared identifier: 'TfrxADODatabase'"
Would you tell me which Unit should be use ?
var
DB : TfrxADODatabase;
begin
with FrxRpt do
begin
DB := TfrxADODatabase(FindObject('ADODatabase'));
DB.Connected := False;
DB.DatabaseName := DM.AConnect.ConnectionString;
DB.Connected := True;
end;
end;
When I compile, the error message shows "Undeclared identifier: 'TfrxADODatabase'"
Would you tell me which Unit should be use ?
Comments
I solved by myself, use frxADOComponents
very hard to find solution on the web......
http://www.fast-report.com/en/faq/faq.php?ID=401#3834