[Solved] Document could not be opened, user lacks privilege or object not found
Posted: Sun Jun 04, 2023 2:49 am
				
				Thank you in advance for any assistance
Using Repots Wizard with Oracle Report Builder 1.2.1 to create a report from a query. The query runs with out error. There are four field from one table and three fields that are extract of YEAR, Month, Day from Date-Time field in the query. If i create a Report with the four fields from the table, the report will run. How ever when I attempt to add any of the extracted fields year, month or day into the report I receive the following error:
The document "TBL-ENTRY-Date sort" could not be opened.
user lacks privilege or object not found: TBL-ENTRY,YEAR in statement
SELECT "ENTRYID"
, "CUR-PAIR"
, "TRD-PLN"
, "ENTRY-DT:TM"
, YEAR( "ENTRY-DT:TM" ) AS "YEAR"
, MONTH( "ENTRY-DT:TM" ) AS "MONTH"
, DAY( "ENTRY-DT:TM" ) AS "DAY"
FROM "TBL-ENTRY" AS "TBL-ENTRY"
WHERE "CUR-PAIR" = 'EURUSD' AND "TRD-PLN" = 'Thin Orange 3 PT'
			Using Repots Wizard with Oracle Report Builder 1.2.1 to create a report from a query. The query runs with out error. There are four field from one table and three fields that are extract of YEAR, Month, Day from Date-Time field in the query. If i create a Report with the four fields from the table, the report will run. How ever when I attempt to add any of the extracted fields year, month or day into the report I receive the following error:
The document "TBL-ENTRY-Date sort" could not be opened.
user lacks privilege or object not found: TBL-ENTRY,YEAR in statement
SELECT "ENTRYID"
, "CUR-PAIR"
, "TRD-PLN"
, "ENTRY-DT:TM"
, YEAR( "ENTRY-DT:TM" ) AS "YEAR"
, MONTH( "ENTRY-DT:TM" ) AS "MONTH"
, DAY( "ENTRY-DT:TM" ) AS "DAY"
FROM "TBL-ENTRY" AS "TBL-ENTRY"
WHERE "CUR-PAIR" = 'EURUSD' AND "TRD-PLN" = 'Thin Orange 3 PT'