Class TDaDOAQueryDataView not found.
Hi,
I am migrating my application from delphi 6 to 10.4. We are currently using Rbuilder 21.01. When we trying to loadreport its giving an error message "Class TDaDOAQueryDataView not found." or "Class TdaQueryDataView not found." . This error message comes on calling following code. This message was also coming in older version.
FReportExplorer.LoadReport(FListView.ItemName, FListView.FolderId);
I am migrating my application from delphi 6 to 10.4. We are currently using Rbuilder 21.01. When we trying to loadreport its giving an error message "Class TDaDOAQueryDataView not found." or "Class TdaQueryDataView not found." . This error message comes on calling following code. This message was also coming in older version.
FReportExplorer.LoadReport(FListView.ItemName, FListView.FolderId);
Comments
The TdaDOAQueryDataView error indicates that you do not have the DOA (Direct Oracle Access) DADE plugin installed or do not have the plugin in your library path. This plugin is included with ReportBuilder and is located in the \Demos\4. EndUser Databases\Oracle\3. DOA\ directory.
https://rbwiki.digital-metaphors.com/general/installation/tech-tip-demo-location/
For the TdaQueryDataView error, try adding daQueryDataView to your uses clause.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for your response. This solution worked for me. Now we are facing oracle login prompt before opening the report (image attached in below link).Please let me know how I supress that login prompt.
https://www.google.com/search?tbs=sbi:AMhZZitaTXbVaggkAYHrosCNxhQZ7Z-ep0XiFxfJB3OAg4HrNrYyNJIaZigaz4F2j_1LSvIesCysRv95Dlf1e8MbUDtsYPi5VFRhJB9kljFZ0dWL-LdN1St7igSJjHYN0n0xogdv7GKm6V-H3giBj12PMihV38bWRCnUZqMGxkgmR8PnbPJwvkoCUujMZVqjthhVex2odyaz5-OEYEPMk5tw4fEL1KlhX7S2moeUsqq068tYGoOZLvM_1dB5N4PPn5oVkJOSrcLjm1FQAV_1sNTdXBiM4mdSiFvbN3B6Dvlo7oDkP3xtBSse4mhsPscFnRyE9bCh-ssctYv0mRN0waph1QclnUa3tNHkA&hl=en-IN
Thanks
Rajeev
This is likely a property of the DOA connection component. Check for a LoginPrompt boolean property or similar.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for your response. Now when I am trying to open my report on another database its giving an error message "Class TDaBDEQueryDataView not found."
Since your previous app used the BDE, all saved reports/templates will have the BDE QueryDataView defined for DADE queries. These report definitions will need to updated to use the FireDAC QueryDataView (TdaFireDACQueryDataView) rather than BDE. See the following article on some strategies on making this conversion.
https://rbwiki.digital-metaphors.com/dade/fundamentals-dade/convert-template-bde-to-ado/
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com