REP-0735: Unable to load DE program Unit
Date: Tue, 4 Dec 2001 16:12:51 +0800
Message-ID: <9ui0g1$75d$1_at_news.hk.linkage.net>
Hello,
I have the following message while I run the oracle report file .rep.
"REP-0735: Unable to load DE program Unit. Will attempt to load PL/SQL source text. Make sure you are connected to a database."
After clicking 'OK', "CA-18310: Error initializing DE. Checking DE resources is recommended." appears.
When my report has program unit, the above message appears. The code of program unit is as follow:
function markupamt1Formula return Number is begin
IF :FTY_UNIT = 'PCS' OR :FTY_UNIT = 'SET' THEN
RETURN (:UNIT_PRICE-:BUY_PRICE)* :QTY;
END IF;
IF :FTY_UNIT = 'DOZ' THEN
RETURN (:UNIT_PRICE-:BUY_PRICE/12)* :QTY;
END IF;
RETURN 0;
end;
The report program works in the report builder. However, after compiling it to .rep, error message occurs.
When I delete this program unit, it works. Why? Could anybody help?
Thank you very much.
Rosh
Received on Tue Dec 04 2001 - 09:12:51 CET