DataDictionary and template
When RTM (report template) is created without datadictionary it does not
have any information what datadictionary could be used in report
I am using next technique to update general database connection
lDataModule :=
TdaDataModule(lReport.GetModuleForClass(GetClass('TdaDataModule')));
if Assigned(lDataModule) then
begin
for i := 0 to lDataModule.DataViewCount-1 do
begin
lDataView := TdaADOQueryDataView(lDataModule.DataViews[i]);
lDataView.SQL.DatabaseName := (Connection as TComponent).Name;
end;
end;
Is there a way to do the same for DataDictionary
--
Serge Dosyukov
Borland Delphi product certified
Microsoft Certified Professional
have any information what datadictionary could be used in report
I am using next technique to update general database connection
lDataModule :=
TdaDataModule(lReport.GetModuleForClass(GetClass('TdaDataModule')));
if Assigned(lDataModule) then
begin
for i := 0 to lDataModule.DataViewCount-1 do
begin
lDataView := TdaADOQueryDataView(lDataModule.DataViews[i]);
lDataView.SQL.DatabaseName := (Connection as TComponent).Name;
end;
end;
Is there a way to do the same for DataDictionary
--
Serge Dosyukov
Borland Delphi product certified
Microsoft Certified Professional
This discussion has been closed.