thanks a lot for providing the FastReport-connection classes for using ODAC-functionality.
I discovered one problem:
if using the FastReport Server (for web-access), it is only possible to connect to the DEFAULTDATABASE, which is one of the created TOraSession instances:
Code: Select all
{ TfrxDatabaseProperty }
function TfrxDatabaseProperty.GetValue: String;
var
db: TfrxODACDatabase;
begin
db := TfrxODACDatabase(GetOrdValue);
if db = nil then
begin
if (ODACComponents nil) and (ODACComponents.DefaultDatabase nil) then
Result := ODACComponents.DefaultDatabase.Name
else
Result := frxResources.Get('prNotAssigned');
end
else
Result := inherited GetValue;
end;How about improving this? Or any hint of how I could do this myself (I will try to read the TOraQuery connection handling code).
Thanks again & would be great to get news about this!
Best regards, Daniel